From: Douglas Gregor Date: Tue, 16 Jun 2009 23:40:23 +0000 (+0000) Subject: If any tests fail, the test runner returns a status code of 1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d1800d8b55a3cf4607bfc1b47c799a9f1a2aa85;p=clang If any tests fail, the test runner returns a status code of 1 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73584 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/test/MultiTestRunner.py b/utils/test/MultiTestRunner.py index d338b35f6f..b7ec569d54 100755 --- a/utils/test/MultiTestRunner.py +++ b/utils/test/MultiTestRunner.py @@ -332,6 +332,7 @@ def main(): numFailures = len(byCode.get(TestStatus.Fail,[])) if numFailures: print '\nFailures: %d' % (numFailures,) - + sys.exit(1) + if __name__=='__main__': main()