diff options
author | Simon Glass <sjg@chromium.org> | 2017-11-26 20:25:55 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-11-27 23:05:22 -0500 |
commit | 73a01d90c0b2ed2527283f289f73d69ef52cafa5 (patch) | |
tree | 4673960ca546d200963cda3e4d8736f09ef2ae97 /test/run | |
parent | 7fef459096f12bfa7eb8391c06d763d130b88512 (diff) | |
download | u-boot-73a01d90c0b2ed2527283f289f73d69ef52cafa5.tar.gz u-boot-73a01d90c0b2ed2527283f289f73d69ef52cafa5.tar.bz2 u-boot-73a01d90c0b2ed2527283f289f73d69ef52cafa5.zip |
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>
Diffstat (limited to 'test/run')
-rwxr-xr-x | test/run | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |