summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Eichmann <EichmannD@gmail.com>2020-10-21 17:32:42 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-10-27 14:03:51 -0400
commit78b52c888a1cc68750261382e3a62fff65242016 (patch)
treec7192bbd1ffd31497e84c750ea667faef1d57300
parentf76c5a083edc62bb40efbb0e76e8a3bf50ead765 (diff)
downloadhaskell-78b52c888a1cc68750261382e3a62fff65242016.tar.gz
Use config.run_ways for multi_compile_and_run tests
-rw-r--r--testsuite/driver/testlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index 15bcdde0eb..15f9c392d5 100644
--- a/testsuite/driver/testlib.py
+++ b/testsuite/driver/testlib.py
@@ -946,7 +946,7 @@ def test_common_work(watcher: testutil.Watcher,
# All the ways we might run this test
if func == compile or func == multimod_compile:
all_ways = config.compile_ways
- elif func == compile_and_run or func == multimod_compile_and_run:
+ elif func in [compile_and_run, multi_compile_and_run, multimod_compile_and_run]:
all_ways = config.run_ways
elif func == ghci_script:
if WayName('ghci') in config.run_ways: