[Git][ghc/ghc][wip/js-staging] Use req_c for some JS-skipped tests

Josh Meredith (@JoshMeredith) gitlab at gitlab.haskell.org
Wed Oct 26 08:46:06 UTC 2022



Josh Meredith pushed to branch wip/js-staging at Glasgow Haskell Compiler / GHC


Commits:
44c461d7 by Josh Meredith at 2022-10-26T08:45:54+00:00
Use req_c for some JS-skipped tests

- - - - -


2 changed files:

- testsuite/tests/ffi/should_run/all.T
- testsuite/tests/rts/all.T


Changes:

=====================================
testsuite/tests/ffi/should_run/all.T
=====================================
@@ -157,7 +157,7 @@ test('T5402', [ omit_ways(['ghci']),
                   # T5402_stub.h before compiling T5402_main.c, which
                   # needs it.
                 pre_cmd('$MAKE -s --no-print-directory T5402_setup'),
-                js_skip
+                req_c
               ],
               compile_and_run, ["-no-hs-main T5402_main.c"])
 
@@ -166,7 +166,7 @@ test('T5594', [ omit_ways(['ghci']),
                 # The T5594_setup hack is to ensure that we generate
                 # T5594_stub.h before compiling T5594_c.c, which
                 # needs it.
-                js_skip
+                req_c
               ],
                 compile_and_run, ['T5594_c.c -no-hs-main'])
 
@@ -206,7 +206,7 @@ test('T12134', [omit_ways(['ghci']),req_c], compile_and_run, ['T12134_c.c'])
 
 test('T12614', [omit_ways(['ghci']),req_c], compile_and_run, ['T12614_c.c'])
 
-test('T14624', [omit_ways(['ghci']), js_skip], compile_and_run, ['T14624_c.c'])
+test('T14624', [omit_ways(['ghci']), req_c], compile_and_run, ['T14624_c.c'])
 
 test('T15933', [extra_files(['T15933_c.c', 'T15933.h']), req_c], makefile_test, ['T15933'])
 


=====================================
testsuite/tests/rts/all.T
=====================================
@@ -526,7 +526,7 @@ test('T19381',
       # memory behavior changes appreciably with the nonmoving collector
       omit_ways(['nonmoving', 'nonmoving_thr', 'nonmoving_thr_sanity'])],
      compile_and_run, [''])
-test('T20199', [ grep_errmsg('Hello'), js_skip ]
+test('T20199', [ grep_errmsg('Hello'), req_c ]
       , makefile_test, [])
 
 test('cloneMyStack', [req_c,extra_files(['cloneStackLib.c'])], compile_and_run, ['cloneStackLib.c'])



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/44c461d7fa8c920100c81bcd5d30ae1f7395deb6
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/20221026/a70453ae/attachment-0001.html>


More information about the ghc-commits mailing list