[Git][ghc/ghc][wip/js-staging] Skip some tests that require the dynamic linker

Sylvain Henry (@hsyl20) gitlab at gitlab.haskell.org
Mon Sep 26 15:40:09 UTC 2022



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


Commits:
8cf5f41c by Sylvain Henry at 2022-09-26T17:43:17+02:00
Skip some tests that require the dynamic linker

- - - - -


2 changed files:

- testsuite/driver/testlib.py
- testsuite/tests/rts/linker/all.T


Changes:

=====================================
testsuite/driver/testlib.py
=====================================
@@ -259,6 +259,8 @@ def req_interp( name, opts ):
 def req_rts_linker( name, opts ):
     if not config.have_RTS_linker:
         opts.expect = 'fail'
+    # JS backend doesn't provide the RTS linker
+    js_skip(name, opts)
 
 def req_th( name, opts ):
     """


=====================================
testsuite/tests/rts/linker/all.T
=====================================
@@ -75,9 +75,13 @@ test('T5435_v_gcc',
      makefile_test, ['T5435_v_gcc'])
 test('T5435_dyn_asm',
      [extra_files(['T5435.hs', 'T5435_asm.c']),
+      js_skip, # dynamic linking not supported by the JS backend
       check_stdout(checkDynAsm)],
      makefile_test, ['T5435_dyn_asm'])
-test('T5435_dyn_gcc', extra_files(['T5435.hs', 'T5435_gcc.c']) , makefile_test, ['T5435_dyn_gcc'])
+test('T5435_dyn_gcc',
+     [extra_files(['T5435.hs', 'T5435_gcc.c']),
+      js_skip], # dynamic linking not supported by the JS backend
+     makefile_test, ['T5435_dyn_gcc'])
 
 ######################################
 test('linker_unload',



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/8cf5f41cb38d35d67aefa37fdb6af35e20b9fb70
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/20220926/bb6c07c5/attachment-0001.html>


More information about the ghc-commits mailing list