summaryrefslogtreecommitdiff
path: root/testsuite/driver
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-06-05 20:36:41 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-06-23 22:48:18 -0400
commitcad62ef11972490b180fad3cd4a5c7754fa218e4 (patch)
treee510c5ff00afe23a31d8dcd6c1894d3fdfa39a88 /testsuite/driver
parent5f6a0665512717271ac2b249d107e2a0cb18ae86 (diff)
downloadhaskell-cad62ef11972490b180fad3cd4a5c7754fa218e4.tar.gz
Add tests for #17920
Metric Decrease: T12150 T12234
Diffstat (limited to 'testsuite/driver')
-rw-r--r--testsuite/driver/testlib.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index bce6c1be0f..9d6fc27b95 100644
--- a/testsuite/driver/testlib.py
+++ b/testsuite/driver/testlib.py
@@ -1547,8 +1547,7 @@ def simple_build(name: Union[TestName, str],
# Required by GHC 7.3+, harmless for earlier versions:
if (getTestOpts().c_src or
getTestOpts().objc_src or
- getTestOpts().objcpp_src or
- getTestOpts().cmm_src):
+ getTestOpts().objcpp_src):
extra_hc_opts += ' -no-hs-main '
if getTestOpts().compile_cmd_prefix == '':