Print a warning if we get framework failures when listing brokens
authorIan Lynagh <ian@well-typed.com>
Mon, 11 Feb 2013 13:59:55 +0000 (13:59 +0000)
committerIan Lynagh <ian@well-typed.com>
Mon, 11 Feb 2013 13:59:55 +0000 (13:59 +0000)
testsuite/driver/runtests.py

index b736ae5..e1d6f7c 100644 (file)
@@ -256,8 +256,14 @@ for file in t_files:
 
 if config.list_broken:
     global brokens
+    print ''
     print 'Broken tests:'
     print (' '.join(map (lambda (b, n) : '#' + str(b) + '(' + n + ')', brokens)))
+    print ''
+
+    if t.n_framework_failures != 0:
+        print 'WARNING:', str(t.n_framework_failures), 'framework failures!'
+        print ''
 else:
     # Now run all the tests
     if config.use_threads: