From 78b52c888a1cc68750261382e3a62fff65242016 Mon Sep 17 00:00:00 2001 From: David Eichmann Date: Wed, 21 Oct 2020 17:32:42 +0100 Subject: Use config.run_ways for multi_compile_and_run tests --- testsuite/driver/testlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuite/driver') 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: -- cgit v1.2.1