[commit: testsuite] master: Print a warning if we get framework failures when listing brokens (9b9ff62)
Ian Lynagh
igloo at earth.li
Mon Feb 11 17:34:37 CET 2013
Repository : ssh://darcs.haskell.org//srv/darcs/testsuite
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/9b9ff6285bf338c40df4872b3ff73e3bbfb0bd12
>---------------------------------------------------------------
commit 9b9ff6285bf338c40df4872b3ff73e3bbfb0bd12
Author: Ian Lynagh <ian at well-typed.com>
Date: Mon Feb 11 13:59:55 2013 +0000
Print a warning if we get framework failures when listing brokens
>---------------------------------------------------------------
driver/runtests.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/driver/runtests.py b/driver/runtests.py
index b736ae5..e1d6f7c 100644
--- a/driver/runtests.py
+++ b/driver/runtests.py
@@ -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:
More information about the ghc-commits
mailing list