[Git][ghc/ghc][master] Use config.run_ways for multi_compile_and_run tests

Marge Bot gitlab at gitlab.haskell.org
Tue Oct 27 18:04:01 UTC 2020



 Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
78b52c88 by David Eichmann at 2020-10-27T14:03:51-04:00
Use config.run_ways for multi_compile_and_run tests

- - - - -


1 changed file:

- testsuite/driver/testlib.py


Changes:

=====================================
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:



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/78b52c888a1cc68750261382e3a62fff65242016

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/78b52c888a1cc68750261382e3a62fff65242016
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20201027/ff489c3d/attachment-0001.html>


More information about the ghc-commits mailing list