commit | 2c0f815a9034bcab466fb1b3b1e4c284fda5632d | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Nov 26 20:25:55 2017 -0700 |
committer | Tom Rini <trini@konsulko.com> | Mon Nov 27 23:05:22 2017 -0500 |
tree | 4673960ca546d200963cda3e4d8736f09ef2ae97 | |
parent | 386902a49d2437b2d85d2014b3105cdf8c1d84ae [diff] [blame] |
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 <sjg@chromium.org>
diff --git a/test/run b/test/run index caee4f8..5616097 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