summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>2023-05-11 14:59:06 +0200
committerKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>2023-05-11 14:59:06 +0200
commitd30103869e20d1d1671c282134a4c50aca148210 (patch)
tree191014ce21dae8dfbed5768ad5988c9f798f2bd2
parent0e2df4c9ac59a10080bd6e029e83a355ecd01c8b (diff)
downloadhaskell-wip/restore-lint.tar.gz
WIP: change no_lint to noopwip/restore-lint
-rw-r--r--testsuite/driver/testlib.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index 09ab06d469..2e9bb27752 100644
--- a/testsuite/driver/testlib.py
+++ b/testsuite/driver/testlib.py
@@ -157,9 +157,7 @@ def expect_fail( name, opts ):
def no_lint( name, opts ):
"""Disable Core, STG and Cmm lints. Useful when testing compiler perf."""
- opts.compiler_always_flags = \
- [opt for opt in opts.compiler_always_flags \
- if opt not in ['-dcore-lint', '-dstg-lint', '-dcmm-lint']]
+ pass
def stage1(name, opts):
# See Note [Why is there no stage1 setup function?]