[Crosstoolchain-logs] [device-tree-compiler] 44/57: tests: Return a failure code when any tests fail

Vagrant Cascadian vagrant at moszumanska.debian.org
Thu Sep 28 22:04:00 UTC 2017


This is an automated email from the git hooks/post-receive script.

vagrant pushed a commit to branch upstream/latest
in repository device-tree-compiler.

commit b9eba92ea50f4444a49eab87942411f1f83df92a
Author: Simon Glass <sjg at chromium.org>
Date:   Sat Aug 19 11:17:56 2017 -0600

    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 at chromium.org>
    Signed-off-by: David Gibson <david at gibson.dropbear.id.au>
---
 tests/run_tests.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/run_tests.sh b/tests/run_tests.sh
index 3bc5b41..fa7b2f7 100755
--- a/tests/run_tests.sh
+++ b/tests/run_tests.sh
@@ -900,3 +900,4 @@ fi
 echo "* Strange test result:	$tot_strange"
 echo "**********"
 
+[ "$tot_tests" -eq "$tot_pass" ] || exit 1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git



More information about the Crosstoolchain-logs mailing list