all.T 2.56 KB
Newer Older
1 2 3 4
# Args to compile_and_run are:
#	extra compile flags
#	extra run flags
#	expected process return value, if not zero
5

6 7
test('arith001', normal, compile_and_run, [''])
test('arith002', normal, compile_and_run, [''])
8
test('arith003', normal, compile_and_run, [''])
9
test('arith004', normal, compile_and_run, [''])
10
test('arith005', when(platform('i386-apple-darwin'), expect_broken_for(7043, 'ghci')), compile_and_run, [''])
11 12
test('arith006', normal, compile_and_run, [''])
test('arith007', normal, compile_and_run, [''])
13

14
# On i386, we need -msse2 to get reliable floating point results
thomie's avatar
thomie committed
15 16 17 18 19
if config.arch == 'i386':
    opts = '-msse2'
else:
    opts = ''
test('arith008', normal, compile_and_run, [opts])
20

21 22
test('arith009', normal, compile_and_run, [''])
test('arith010', normal, compile_and_run, [''])
23
test('arith011', normal, compile_and_run, [''])
24

thomie's avatar
thomie committed
25
test('arith012', normal, compile_and_run, [opts])
26

27
test('arith013', normal, compile_and_run, [''])
28 29
test('arith014', normal, compile_and_run, [''])
test('arith015', normal, compile_and_run, [''])
Ian Lynagh's avatar
Ian Lynagh committed
30 31 32
test('numrun009', normal, compile_and_run, [''])
test('numrun010', normal, compile_and_run, [''])
test('numrun011', normal, compile_and_run, [''])
33
test('numrun012', normal, compile_and_run, [''])
Ian Lynagh's avatar
Ian Lynagh committed
34 35
test('numrun013', normal, compile_and_run, [''])
test('numrun014', normal, compile_and_run, [''])
36
test('numrun015', normal, compile_and_run, [''])
37
test('arith016', normal, compile_and_run, [''])
38 39 40
test('arith017', normal, compile_and_run, [''])
test('arith018', normal, compile_and_run, [''])
test('arith019', normal, compile_and_run, [''])
41
test('expfloat', normal, compile_and_run, [''])
Simon Marlow's avatar
Simon Marlow committed
42

43 44 45 46
test('T1603', skip, compile_and_run, [''])
test('T3676', expect_broken(3676), compile_and_run, [''])
test('T4381', normal, compile_and_run, [''])
test('T4383', normal, compile_and_run, [''])
Ian Lynagh's avatar
Ian Lynagh committed
47

48 49 50
test('add2', normal, compile_and_run, ['-fobject-code'])
test('mul2', normal, compile_and_run, ['-fobject-code'])
test('quotRem2', normal, compile_and_run, ['-fobject-code'])
pcapriotti's avatar
pcapriotti committed
51
test('T5863', normal, compile_and_run, [''])
Ian Lynagh's avatar
Ian Lynagh committed
52

53
test('T7014', [], run_command, ['$MAKE -s --no-print-directory T7014'])
Simon Marlow's avatar
Simon Marlow committed
54 55

test('T7233', normal, compile_and_run, [''])
thoughtpolice's avatar
thoughtpolice committed
56
test('NumDecimals', normal, compile_and_run, [''])
57
test('T8726', normal, compile_and_run, [''])
58
test('CarryOverflow', omit_ways(['ghci']), compile_and_run, [''])
rwbarton's avatar
rwbarton committed
59
test('T9407', normal, compile_and_run, [''])
60
test('T9810', normal, compile_and_run, [''])
61
test('T10011', normal, compile_and_run, [''])
nkaretnikov's avatar
nkaretnikov committed
62
test('T10962', omit_ways(['ghci']), compile_and_run, [''])
63
test('T11702', extra_ways(['optasm']), compile_and_run, [''])
64
test('T12136', normal, compile_and_run, [''])