Repository : ssh://darcs.haskell.org//srv/darcs/testsuite On branch : master
http://hackage.haskell.org/trac/ghc/changeset/cd8ee759fbe8dd86fee2fc3dbff5fe6fa2262319 >--------------------------------------------------------------- commit cd8ee759fbe8dd86fee2fc3dbff5fe6fa2262319 Author: David Terei <[email protected]> Date: Tue Jun 14 18:42:45 2011 -0700 Fix bug in mutlisrc compile not picking up compilation errors. >--------------------------------------------------------------- driver/testlib.py | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/driver/testlib.py b/driver/testlib.py index 7909a61..e87f9bc 100644 --- a/driver/testlib.py +++ b/driver/testlib.py @@ -770,8 +770,10 @@ def compile_and_run__( name, way, extra_hc_opts, top_mod, extra_mods ): pretest_cleanup(name) for mod in extra_mods: - simple_build( mod, way, extra_hc_opts, 0, '', 0, 0 ) + result = simple_build( mod, way, extra_hc_opts, 0, '', 0, 0 ) extra_hc_opts += " " + replace_suffix(mod, 'o') + if result == 'fail': + return result if way == 'ghci': # interpreted... return interpreter_run( name, way, extra_hc_opts, 0, top_mod ) _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
