[Git][ghc/ghc][wip/req_smp] align out of tree and in tree withSMP flags

doyougnu (@doyougnu) gitlab at gitlab.haskell.org
Wed Dec 28 14:30:41 UTC 2022



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


Commits:
fbba39db by doyougnu at 2022-12-28T09:30:20-05:00
align out of tree and in tree withSMP flags

- - - - -


2 changed files:

- hadrian/src/Settings/Builders/RunTest.hs
- testsuite/driver/testlib.py


Changes:

=====================================
hadrian/src/Settings/Builders/RunTest.hs
=====================================
@@ -146,7 +146,7 @@ outOfTreeCompilerArgs = do
     withInterpreter     <- getBooleanSetting TestGhcWithInterpreter
     unregisterised      <- getBooleanSetting TestGhcUnregisterised
     tables_next_to_code <- getBooleanSetting TestGhcUnregisterised
-    targetWithSMP       <- getBooleanSetting TestGhcWithSMP
+    targetWithSMP       <- targetSupportsSMP
     debugAssertions     <- getBooleanSetting TestGhcDebugged
 
     os          <- getTestSetting TestHostOS


=====================================
testsuite/driver/testlib.py
=====================================
@@ -307,9 +307,9 @@ def req_host_smp( name, opts ):
 
 def req_target_smp( name, opts ):
     """
-    Mark a test as requiring smp when run on the target. If the target does not
-    support smp, then skip the test. Use this when the test needs to run with
-    smp support.
+    Mark a test as requiring smp when run on the target. If the target does
+    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:
         opts.expect = 'fail'



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/fbba39dbe485cb6df999c64754f0a8b5ae6d88d5
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/20221228/9c5497f7/attachment-0001.html>


More information about the ghc-commits mailing list