mirror of
https://xff.cz/git/u-boot/
synced 2025-09-04 18:22:02 +02:00
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>
This commit is contained in:
3
test/run
3
test/run
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user