From: Simon Glass Date: Mon, 27 Nov 2017 03:25:55 +0000 (-0700) Subject: test: Correct operation when tests pass X-Git-Tag: v2018.01-rc1~64 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=73a01d90c0b2ed2527283f289f73d69ef52cafa5;p=u-boot test: Correct operation when tests pass When tests pass an error message is printed because of a variable that is not initialised. Fix this. Signed-off-by: Simon Glass --- diff --git a/test/run b/test/run index caee4f83f2..56160977a3 100755 --- a/test/run +++ b/test/run @@ -3,9 +3,10 @@ run_test() { $@ [ $? -ne 0 ] && result=$((result+1)) - echo "result $result" } +result=0 + # Run all tests that the standard sandbox build can support run_test ./test/py/test.py --bd sandbox --build