[Git][ghc/ghc][wip/req_smp] fixup: more naming fixes

doyougnu (@doyougnu) gitlab at gitlab.haskell.org
Thu Dec 29 17:30:57 UTC 2022



doyougnu pushed to branch wip/req_smp at Glasgow Haskell Compiler / GHC


Commits:
4c1942c3 by doyougnu at 2022-12-29T12:30:44-05:00
fixup: more naming fixes

- - - - -


1 changed file:

- testsuite/driver/testlib.py


Changes:

=====================================
testsuite/driver/testlib.py
=====================================
@@ -302,7 +302,7 @@ def req_host_smp( name, opts ):
     smp. Use this when the test needs to be compiled with smp support, but may
     not necessarily be run.
     """
-    if not config.host_with_smp:
+    if not config.host_has_smp:
         opts.skip = True
 
 def req_target_smp( name, opts ):
@@ -311,7 +311,7 @@ def req_target_smp( name, opts ):
     not support smp, then mark the test as an expected fail. Use this when the
     test needs to run with smp support.
     """
-    if not config.target_with_smp:
+    if not config.target_has_smp:
         opts.expect = 'fail'
 
 def ignore_stdout(name, opts):



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/4c1942c3506c65fc7866ed64d4969360f3bf17a0

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/4c1942c3506c65fc7866ed64d4969360f3bf17a0
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/20221229/9c255bc4/attachment.html>


More information about the ghc-commits mailing list