Skip to content

Commit

Permalink
test: Correct operation when tests pass
Browse files Browse the repository at this point in the history
When tests pass an error message is printed because of a variable that is
not initialised. Fix this.

Signed-off-by: Simon Glass <[email protected]>
  • Loading branch information
sjg20 authored and trini committed Nov 28, 2017
1 parent 7fef459 commit 73a01d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/run
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 73a01d9

Please sign in to comment.