[Git][ghc/ghc][wip/js-staging] testsuite: disable ghci linking tests for JS

doyougnu (@doyougnu) gitlab at gitlab.haskell.org
Tue Oct 18 11:47:09 UTC 2022



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


Commits:
ed4ef53a by doyougnu at 2022-10-18T07:45:35-04:00
testsuite: disable ghci linking tests for JS

Specifically:

ghcilink001
ghcilink003
ghcilink005
ghcilink006

- - - - -


1 changed file:

- testsuite/tests/ghci/linking/all.T


Changes:

=====================================
testsuite/tests/ghci/linking/all.T
=====================================
@@ -1,7 +1,8 @@
 test('ghcilink001',
      [extra_files(['TestLink.hs', 'f.c']),
       when(ghc_dynamic(), expect_fail), # dynamic ghci can't load '.a's
-      unless(doing_ghci, skip)],
+      unless(doing_ghci, skip),
+      js_skip],                         # JS backend doesn't use ghci
      makefile_test, ['ghcilink001'])
 
 test('ghcilink002', [extra_files(['TestLink.hs', 'f.c']),
@@ -15,7 +16,8 @@ test('ghcilink003',
        # from Big Sur onwards, we can't dlopen libstdc++.dylib
        # anymore. Will produce:
        #   dlopen(libstdc++.dylib, 5): image not found
-       when(opsys('darwin'), fragile(16083))
+       when(opsys('darwin'), fragile(16083)),
+       js_skip
      ], makefile_test, ['ghcilink003'])
 
 test('ghcilink004',
@@ -29,7 +31,8 @@ test('ghcilink005',
      [extra_files(['TestLink.hs', 'f.c']),
       when(unregisterised(), fragile(16085)),
       unless(doing_ghci, skip),
-      req_dynamic_lib_support],
+      req_dynamic_lib_support,
+      js_skip],
      makefile_test, ['ghcilink005'])
 
 test('ghcilink006',
@@ -37,7 +40,8 @@ test('ghcilink006',
        # from Big Sur onwards, we can't dlopen libstdc++.dylib
        # anymore. Will produce:
        #   dlopen(libstdc++.dylib, 5): image not found
-       when(opsys('darwin'), fragile(16083))
+       when(opsys('darwin'), fragile(16083)),
+       js_skip
      ], makefile_test, ['ghcilink006'])
 
 test('T3333',



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/ed4ef53a47a91dcd4481c5fe920355e281b87543
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/20221018/6f1f11a4/attachment-0001.html>


More information about the ghc-commits mailing list