Skip to content
Snippets Groups Projects
Commit 73a01d90 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 7fef4590
Branches
Tags
No related merge requests found
...@@ -3,9 +3,10 @@ ...@@ -3,9 +3,10 @@
run_test() { run_test() {
$@ $@
[ $? -ne 0 ] && result=$((result+1)) [ $? -ne 0 ] && result=$((result+1))
echo "result $result"
} }
result=0
# Run all tests that the standard sandbox build can support # Run all tests that the standard sandbox build can support
run_test ./test/py/test.py --bd sandbox --build run_test ./test/py/test.py --bd sandbox --build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment