[Git][ghc/ghc][wip/js-staging] testsuite: skip ghci some tests

doyougnu (@doyougnu) gitlab at gitlab.haskell.org
Thu Oct 20 22:44:16 UTC 2022



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


Commits:
b4b30db8 by doyougnu at 2022-10-20T18:41:43-04:00
testsuite: skip ghci some tests

these throw not built for interactive use errors

- - - - -


7 changed files:

- testsuite/tests/ghci/T13786/all.T
- testsuite/tests/ghci/caf_crash/all.T
- testsuite/tests/ghci/linking/all.T
- testsuite/tests/ghci/linking/dyn/all.T
- testsuite/tests/ghci/scripts/all.T
- testsuite/tests/rts/T15894/all.T
- testsuite/tests/rts/all.T


Changes:

=====================================
testsuite/tests/ghci/T13786/all.T
=====================================
@@ -1,4 +1,4 @@
 test('T13786',
-     when(unregisterised(), fragile(17018)),
+     [when(unregisterised(), fragile(17018)), js_skip],
      makefile_test, [])
 


=====================================
testsuite/tests/ghci/caf_crash/all.T
=====================================
@@ -2,5 +2,6 @@ test('caf_crash',
      [extra_files(['A.hs', 'B.hs', 'D.hs', ]),
       when(ghc_dynamic(), skip),
       extra_ways(['ghci-ext']),
-      omit_ways(['ghci']), ],
+      omit_ways(['ghci']),
+      js_skip],
      ghci_script, ['caf_crash.script'])


=====================================
testsuite/tests/ghci/linking/all.T
=====================================
@@ -46,7 +46,8 @@ test('ghcilink006',
 
 test('T3333',
      [unless(doing_ghci, skip),
-      when(unregisterised(), fragile(17018))],
+      when(unregisterised(), fragile(17018)),
+      js_skip],
      makefile_test, ['T3333'])
 
 test('T11531',
@@ -64,7 +65,8 @@ test('T14708',
 
 test('T15729',
      [extra_files(['T15729.hs', 'T15729.c']),
-      unless(doing_ghci, skip)],
+      unless(doing_ghci, skip),
+      js_skip],
      makefile_test, ['T15729'])
 
 test('big-obj', [extra_files(['big-obj-c.c', 'big-obj.hs']),


=====================================
testsuite/tests/ghci/linking/dyn/all.T
=====================================
@@ -8,7 +8,8 @@ test('T1407',
      [extra_files(['A.c']),
       unless(doing_ghci, skip),
       pre_cmd('$MAKE -s --no-print-directory compile_libT1407'),
-      extra_hc_opts('-L"$PWD/T1407dir"')],
+      extra_hc_opts('-L"$PWD/T1407dir"'),
+      js_skip],
      makefile_test, [])
 
 test('T3242',


=====================================
testsuite/tests/ghci/scripts/all.T
=====================================
@@ -258,7 +258,7 @@ test('T10963', normal, ghci_script, ['T10963.script'])
 test('T11547', normal, ghci_script, ['T11547.script'])
 test('T11721', normal, ghci_script, ['T11721.script'])
 test('T12005', normal, ghci_script, ['T12005.script'])
-test('T12023', normal, makefile_test, [])
+test('T12023', js_skip, makefile_test, [])
 test('T12520', normal, ghci_script, ['T12520.script'])
 test('T12091', [extra_run_opts('-fobject-code')], ghci_script,
      ['T12091.script'])


=====================================
testsuite/tests/rts/T15894/all.T
=====================================
@@ -1,3 +1,5 @@
 test('T15894',
-     [extra_files(['copysign.c', 'main.hs']), when(ghc_dynamic(), skip)],
+     [ extra_files(['copysign.c', 'main.hs']), when(ghc_dynamic(), skip)
+     , js_skip
+     ],
      makefile_test, ['T15894'])


=====================================
testsuite/tests/rts/all.T
=====================================
@@ -421,7 +421,7 @@ test('T13894', normal, compile_and_run, [''])
 # this test fails with the profasm way on some machines but not others,
 # so we just skip it.
 test('T14497', [omit_ways(['profasm']), multi_cpu_race], compile_and_run, ['-O'])
-test('T14695', [normal, ignore_stderr], makefile_test, ['T14695'])
+test('T14695', [js_skip, ignore_stderr], makefile_test, ['T14695'])
 test('T14702', [ ignore_stdout
                , when(unregisterised(), skip)
                , when(opsys('mingw32'), fragile(18953))



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b4b30db86322e4d534319928ba05c7944c38449b
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/20221020/1704f253/attachment-0001.html>


More information about the ghc-commits mailing list