[cfe-commits] r73584 - /cfe/trunk/utils/test/MultiTestRunner.py

Douglas Gregor dgregor at apple.com
Tue Jun 16 16:40:23 PDT 2009


Author: dgregor
Date: Tue Jun 16 18:40:23 2009
New Revision: 73584

URL: http://llvm.org/viewvc/llvm-project?rev=73584&view=rev
Log:
If any tests fail, the test runner returns a status code of 1

Modified:
    cfe/trunk/utils/test/MultiTestRunner.py

Modified: cfe/trunk/utils/test/MultiTestRunner.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/test/MultiTestRunner.py?rev=73584&r1=73583&r2=73584&view=diff

==============================================================================
--- cfe/trunk/utils/test/MultiTestRunner.py (original)
+++ cfe/trunk/utils/test/MultiTestRunner.py Tue Jun 16 18:40:23 2009
@@ -332,6 +332,7 @@
     numFailures = len(byCode.get(TestStatus.Fail,[]))
     if numFailures:
         print '\nFailures: %d' % (numFailures,)
-
+        sys.exit(1)
+        
 if __name__=='__main__':
     main()





More information about the cfe-commits mailing list