all.T 1.36 KB
Newer Older
1 2 3 4
test('char001', 	normal, compile_and_run, [''])
test('rand001',		normal, compile_and_run, [''])
test('show001',		normal, compile_and_run, [''])
test('text001',		normal, compile_and_run, [''])
5

6 7 8 9
# The rest of these tests need -package lang...
def set_opts( opts ):
  opts.extra_hc_opts = '-package lang'
resetTestOpts( set_opts )
10

11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
test('addr001',		normal, compile_and_run, [''])
test('dynamic001', 	normal, compile_and_run, [''])
test('dynamic002', 	normal, compile_and_run, [''])
test('enum01', 		normal, compile_and_run, ['-cpp'])
test('enum02', 		normal, compile_and_run, ['-cpp'])
test('enum03', 		normal, compile_and_run, ['-cpp'])
test('enum04', 		expect_fail, compile_and_run, [ ''])
test('exceptions001', 	normal, compile_and_run, [''])
test('list001'	,	normal, compile_and_run, [''])

test('memo001', extra_run_opts('+RTS -A10k -G1 -RTS'), \
	compile_and_run, ['-package util'])

test('memo002', extra_run_opts('20'), \
	compile_and_run, ['-package util'])

test('packedstring001', normal, compile_and_run, [''])

test('stableptr001', extra_run_opts('+RTS -K4m -RTS'), compile_and_run, [''])
test('stableptr003', normal, compile_and_run, [''])
test('stableptr004', extra_run_opts('+RTS -K4m -RTS'), compile_and_run, [''])
test('stableptr005', normal, compile_and_run, [''])

test('text001'		normal, compile_and_run, [''])
test('weak001',		normal, compile_and_run, ['-fglasgow-exts'])