all.T 2.28 KB
Newer Older
1
2
test('array001', 	normal, compile_and_run, [''])

3
test('char001', 	normal, compile_and_run, [''])
4
5
test('char002', 	normal, compile_and_run, [''])

6
7
test('cstring001', 	normal, compile_and_run, [''])

Ian Lynagh's avatar
Ian Lynagh committed
8
9
test('length001',
     # This fails without -O, as it relies on a RULE being applied
Simon Marlow's avatar
Simon Marlow committed
10
     expect_fail_for(['normal', 'threaded1', 'llvm']),
Ian Lynagh's avatar
Ian Lynagh committed
11
12
13
     compile_and_run,
     [''])

14
15
test('ratio001', 	normal, compile_and_run, [''])

16
test('rand001',		normal, compile_and_run, [''])
Ian Lynagh's avatar
Ian Lynagh committed
17
test('reads001',		normal, compile_and_run, [''])
18
19
test('show001',		normal, compile_and_run, [''])
test('text001',		normal, compile_and_run, [''])
20
21

test('tup001',		normal, compile_and_run, [''])
22

23
test('addr001',		normal, compile_and_run, [''])
24
test('dynamic001', 	skip_if_fast, compile_and_run, [''])
Simon Marlow's avatar
Simon Marlow committed
25
test('dynamic002', 	[skip_if_fast,reqlib('packedstring')], compile_and_run, ['-package packedstring'])
26
27
28
test('enum01', 		skip_if_fast, compile_and_run, ['-cpp'])
test('enum02', 		skip_if_fast, compile_and_run, ['-cpp'])
test('enum03', 		skip_if_fast, compile_and_run, ['-cpp'])
29
test('enum04', 		normal, compile_and_run, [''])
Ian Lynagh's avatar
Ian Lynagh committed
30
31
test('exceptionsrun001', 	normal, compile_and_run, [''])
test('exceptionsrun002', 	normal, compile_and_run, [''])
32
test('list001'	,	skip_if_fast, compile_and_run, [''])
33
test('list002', skip_if_fast, compile_and_run, [''])
34
test('list003', skip_if_fast, compile_and_run, [''])
35

Ian Lynagh's avatar
Ian Lynagh committed
36
37
38
39
40
41
42
43
44
45
46
test('memo001',
     [skip_if_fast,
      extra_run_opts('+RTS -A10k -RTS'),
      extra_clean(['Memo1.hi', 'Memo1.o'])],
     multimod_compile_and_run,
     ['memo001',''])

test('memo002',
     [skip_if_fast,
      extra_run_opts('20'),
      extra_clean(['Memo2.hi', 'Memo2.o'])],
47
	multimod_compile_and_run, ['memo002',''])
48

Simon Marlow's avatar
Simon Marlow committed
49
test('packedstring001', reqlib('packedstring'), compile_and_run, ['-package packedstring'])
50

Ian Lynagh's avatar
Ian Lynagh committed
51
52
53
test('stableptr001',
     [skip_if_fast, extra_run_opts('+RTS -K8m -RTS')],
     compile_and_run, [''])
54
test('stableptr003', normal, compile_and_run, [''])
55
56
57
test('stableptr004', extra_run_opts('+RTS -K4m -RTS'), compile_and_run, [''])
test('stableptr005', normal, compile_and_run, [''])

58
test('weak001', normal, compile_and_run, [''])
59

Ian Lynagh's avatar
Ian Lynagh committed
60
61
62
63
64
65
# In the 65001 codepage, we can't even cat the expected output on msys:
# $ cat 4006.stdout
# It works here
# cat: write error: Permission denied
test('4006', if_msys(expect_fail), compile_and_run, [''])