summaryrefslogtreecommitdiff
path: root/testsuite/tests/ffi/should_fail/all.T
blob: ce72f177c3bdc9487a9ba5e3ca8af8cb0e22a823 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

# Missing:
# test('cc002', normal, compile_fail, [''])

test('ccfail001', normal, compile_fail, [''])
test('ccfail002', normal, compile_fail, [''])
test('ccfail003', normal, compile_fail, [''])
test('T3066', normal, compile_fail, [''])
test('ccfail004', [extra_files(['Ccfail004A.hs'])], multimod_compile_fail, ['ccfail004', '-v0'])
test('ccfail005', normal, compile_fail, [''])
test('ccall_value', normal, compile_fail, [''])
test('capi_value_function', normal, compile_fail, [''])
test('T5664', normal, compile_fail, ['-v0'])
test('T7506', normal, compile_fail, [''])
test('T7243', normal, compile_fail, [''])
test('T10461', normal, compile_fail, [''])

# UnsafeReenter seems to just hang instead of erroring out
# with the threaded1, threaded2 and profthreaded ways,
# see #14912.
test('UnsafeReenter',
     [omit_ways(['ghciext', 'ghci']),
      exit_code(1),
      expect_broken_for(14912, ['threaded1', 'threaded2', 'profthreaded'])
     ], compile_and_run, ['-v0 UnsafeReenterC.c'])
test('UnsafeReenterGhci',
     [exit_code(1), extra_files(['UnsafeReenter.hs', 'UnsafeReenterC.c']), expect_broken(13730)],
     run_command,
     ['$MAKE -s --no-print-directory UnsafeReenterGhci'])