Skip to content
Snippets Groups Projects
Commit d1e543cf authored by Cheng Shao's avatar Cheng Shao :beach:
Browse files

testsuite: skip ghc api tests that attempt to spawn processes inside wasm

This commit skips a few ghc api tests on wasm, since they would
attempt to spawn processes inside wasm, which is not supported at all.

(cherry picked from commit fa68f833)
parent b43f64ad
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@ setTestOpts(when(fast(), skip))
test('annrun01',
[extra_files(['Annrun01_Help.hs']),
req_th,
req_process,
js_broken(23013), # strangely, the workaround for #23013 triggers
# a call to an undefined FFI function in bytestring.
# Before, it was slow but not failing.
......
......@@ -131,7 +131,8 @@ test('dynHelloWorld',
[''])
test('T5313',
[ req_rts_linker, extra_run_opts('"' + config.libdir + '"')],
[ req_process,
req_rts_linker, extra_run_opts('"' + config.libdir + '"')],
compile_and_run,
['-package ghc'])
......
......@@ -10,6 +10,7 @@ test('T9595', [extra_run_opts('"' + config.libdir + '"')],
compile_and_run,
['-package ghc'])
test('T10508_api', [ extra_run_opts('"' + config.libdir + '"'),
req_process,
req_rts_linker ],
compile_and_run,
['-package ghc'])
......@@ -24,6 +25,7 @@ test('T11579', [extra_run_opts('"' + config.libdir + '"'), js_skip], compile_and
test('T12099', normal, compile_and_run, ['-package ghc'])
test('T18181',
[ extra_run_opts('"' + config.libdir + '"'),
req_process,
req_rts_linker],
compile_and_run,
['-package ghc'])
......
test('dynCompileExpr',
[ extra_run_opts('"' + config.libdir + '"'),
when(opsys('mingw32'), expect_broken_for(5987, ['dyn'])),
req_process,
req_rts_linker, omit_ways(prof_ways) ], # cannot run interpreted code with -prof
compile_and_run, ['-package ghc'])
......@@ -58,6 +58,7 @@ test('T13606', [unless(doing_ghci, skip), unless(opsys('mingw32'), skip),
test('T3372',
[unless(doing_ghci, skip),
req_rts_linker,
req_process,
extra_run_opts('"' + config.libdir + '"'),
unless(config.have_RTS_linker, skip),
# Concurrent GHC sessions is fragile on Windows since we must lock the
......
......@@ -2,7 +2,7 @@ test('T3953', req_th, compile_fail, [''])
test('T4150', [expect_broken(4150)], makefile_test, ['T4150'])
test('T5204', req_th, compile_fail, [''])
test('T7918',
[req_interp, extra_run_opts('"' + config.libdir + '"'),
[req_interp, req_process, extra_run_opts('"' + config.libdir + '"'),
only_ways([config.ghc_th_way]), unless(have_dynamic(), skip)],
compile_and_run, ['-package ghc ' + config.ghc_th_way_flags])
test('T14028',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment