提交 73a01d90 编写于 作者: S Simon Glass 提交者: Tom Rini

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: NSimon Glass <sjg@chromium.org>
上级 7fef4590
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册