mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
tests: Return a failure code when any tests fail
At present 'make check' succeeds even if some tests fail. Adjust this so that we can use things like 'git bisect run make check' to find a failure. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
155faf6cc2
commit
b9eba92ea5
1 changed files with 1 additions and 0 deletions
|
@ -900,3 +900,4 @@ fi
|
|||
echo "* Strange test result: $tot_strange"
|
||||
echo "**********"
|
||||
|
||||
[ "$tot_tests" -eq "$tot_pass" ] || exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue