[Git][ghc/ghc][wip/js-staging] 2 commits: Skip more tests

Sylvain Henry (@hsyl20) gitlab at gitlab.haskell.org
Mon Oct 3 15:57:03 UTC 2022



Sylvain Henry pushed to branch wip/js-staging at Glasgow Haskell Compiler / GHC


Commits:
d2214f04 by Sylvain Henry at 2022-10-03T17:51:29+02:00
Skip more tests

- - - - -
d488a1fc by Sylvain Henry at 2022-10-03T18:00:23+02:00
Disable conc012

- - - - -


2 changed files:

- testsuite/tests/codeGen/should_run/all.T
- testsuite/tests/concurrent/should_run/all.T


Changes:

=====================================
testsuite/tests/codeGen/should_run/all.T
=====================================
@@ -161,7 +161,10 @@ test('T10414', [only_ways(['threaded2']), extra_ways(['threaded2']), req_smp],
 test('T10521', normal, compile_and_run, [''])
 test('T10521b', normal, compile_and_run, [''])
 test('T10870', when(wordsize(32), skip), compile_and_run, [''])
-test('PopCnt', [omit_ways(['ghci']), js_skip], multi_compile_and_run,
+test('PopCnt',
+  [omit_ways(['ghci'])
+  , js_skip # use Cmm
+  ], multi_compile_and_run,
                  ['PopCnt', [('PopCnt_cmm.cmm', '')], ''])
 test('T12059',
   [ js_skip # ByteArrays are always pinned with the JS backend


=====================================
testsuite/tests/concurrent/should_run/all.T
=====================================
@@ -114,7 +114,9 @@ test('conc010', normal, compile_and_run, [''])
 
 # conc012(ghci) needs a smaller stack, or it takes forever
 test('conc012',
-     extra_run_opts('+RTS -K8m -RTS'),
+     [ extra_run_opts('+RTS -K8m -RTS')
+     , js_skip # no stack overflow detection with the JS backend (yet)
+     ],
      compile_and_run, [''])
 
 test('conc013', normal, compile_and_run, [''])
@@ -185,13 +187,13 @@ test('foreignInterruptible', [when(fast(), skip),
 test('conc037', only_ways(['threaded1', 'threaded2', 'nonmoving_thr']), compile_and_run, [''])
 test('conc038', only_ways(['threaded1', 'threaded2', 'nonmoving_thr']), compile_and_run, [''])
 
-# Omit for GHCi, uses foreign export
+# Omit for GHCi and for the JS backend, uses foreign export
 # Omit for the threaded ways, because in this case the main thread is allowed to
 # complete, which causes the child thread to be interrupted.
-test('conc039', omit_ways(['ghci'] + threaded_ways), compile_and_run, [''])
+test('conc039', [omit_ways(['ghci'] + threaded_ways), js_skip], compile_and_run, [''])
 
-# Omit for GHCi, uses foreign export
-test('conc040', [exit_code(1), omit_ways(['ghci'])], compile_and_run, [''])
+# Omit for GHCi and for the JS backend, uses foreign export
+test('conc040', [exit_code(1), omit_ways(['ghci']), js_skip], compile_and_run, [''])
 
 # STM-related tests.
 test('conc041', normal, compile_and_run, [''])



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/c521d9478d02fc2a07b073560339c0cfe16fb9be...d488a1fc6e469e754df4d21818a82bd511adc97b

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/c521d9478d02fc2a07b073560339c0cfe16fb9be...d488a1fc6e469e754df4d21818a82bd511adc97b
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/20221003/cc5d3442/attachment-0001.html>


More information about the ghc-commits mailing list