Update UnsafeReenter test
[ghc.git] / testsuite / tests / ffi / should_fail / all.T
1
2 # Missing:
3 # test('cc002', normal, compile_fail, [''])
4
5 test('ccfail001', normal, compile_fail, [''])
6 test('ccfail002', normal, compile_fail, [''])
7 test('ccfail003', normal, compile_fail, [''])
8 test('T3066', normal, compile_fail, [''])
9 test('ccfail004', [extra_files(['Ccfail004A.hs'])], multimod_compile_fail, ['ccfail004', '-v0'])
10 test('ccfail005', normal, compile_fail, [''])
11 test('ccall_value', normal, compile_fail, [''])
12 test('capi_value_function', normal, compile_fail, [''])
13 test('T5664', normal, compile_fail, ['-v0'])
14 test('T7506', normal, compile_fail, [''])
15 test('T7243', normal, compile_fail, [''])
16 test('T10461', normal, compile_fail, [''])
17
18 # UnsafeReenter tests implementation of an undefined behavior (calling Haskell
19 # from an unsafe foreign function) and only makes sense in non-threaded way
20 # (threaded runtime will hang). See #14912.
21 test('UnsafeReenter',
22      [omit_ways(threaded_ways), exit_code(1)],
23      compile_and_run,
24      ['UnsafeReenterC.c'])