diff options
author | Ian Lynagh <igloo@earth.li> | 2011-07-19 13:35:32 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-07-19 13:35:32 +0100 |
commit | 487c80bed384dee7f6cf9d582f730b7449c64b54 (patch) | |
tree | 19f147c12b6c146a9fabd9ae890d8d475c82711a | |
parent | cc0899735af668071d7f9cf36d0beca22297bb1a (diff) | |
download | haskell-487c80bed384dee7f6cf9d582f730b7449c64b54.tar.gz |
Fix a driver problem with older versions of python
-rw-r--r-- | testsuite/driver/testlib.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py index ddd6e23f90..2ad5764e2a 100644 --- a/testsuite/driver/testlib.py +++ b/testsuite/driver/testlib.py @@ -814,7 +814,9 @@ def do_compile( name, way, should_fail, top_mod, extra_mods, extra_hc_opts ): return result extra_hc_opts = result['hc_opts'] - force = 1 if extra_mods else 0 + force = 0 + if extra_mods: + force = 1 result = simple_build( name, way, extra_hc_opts, should_fail, top_mod, 0, 1, force) if badResult(result): |