Repository : ssh://darcs.haskell.org//srv/darcs/testsuite On branch : master
http://hackage.haskell.org/trac/ghc/changeset/faa34f5d466010facb7127727208897446c1d0d0 >--------------------------------------------------------------- commit faa34f5d466010facb7127727208897446c1d0d0 Author: Ian Lynagh <i...@well-typed.com> Date: Fri Jan 25 01:39:18 2013 +0000 Make do_test catch and re-raise KeyboardInterrupt This means that hitting ^C now stops the testsuite from running, rather than just killing the current test. >--------------------------------------------------------------- driver/testlib.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/driver/testlib.py b/driver/testlib.py index b57a080..0c8e1f3 100644 --- a/driver/testlib.py +++ b/driver/testlib.py @@ -887,6 +887,8 @@ def do_test(name, way, func, args): t.expected_failures[name] = [way] else: framework_fail(name, way, 'bad result ' + passFail) + except KeyboardInterrupt: + raise except: framework_fail(name, way, 'do_test exception') traceback.print_exc() _______________________________________________ ghc-commits mailing list ghc-commits@haskell.org http://www.haskell.org/mailman/listinfo/ghc-commits