Fold testsuite.git into ghc.git (re #8545)
[ghc.git] / testsuite / tests / numeric / should_run / all.T
1 # Args to compile_and_run are:
2 #       extra compile flags
3 #       extra run flags
4 #       expected process return value, if not zero
5
6 test('arith001', normal, compile_and_run, [''])
7 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 test('arith006', normal, compile_and_run, [''])
12 test('arith007', normal, compile_and_run, [''])
13
14 # On i386, we need -msse2 to get reliable floating point results
15 ways = normal
16 opts = ''
17 if config.platform.startswith('i386-'):
18    if config.compiler_type == 'ghc' and \
19       version_ge(config.compiler_version, '6.13'):
20         opts = '-msse2'
21    else:
22         ways = expect_fail_for(['optasm','threaded2','hpc','dyn','profasm'])
23
24 test('arith008', ways, compile_and_run, [opts])
25
26 test('arith009', normal, compile_and_run, [''])
27 test('arith010', normal, compile_and_run, [''])
28 test('arith011', normal, compile_and_run, [''])
29
30 test('arith012', ways, compile_and_run, [opts])
31
32 test('arith013', only_compiler_types(['ghc']), compile_and_run, [''])
33 test('arith014', normal, compile_and_run, [''])
34 test('arith015', normal, compile_and_run, [''])
35 test('numrun009', normal, compile_and_run, [''])
36 test('numrun010', normal, compile_and_run, [''])
37 test('numrun011', normal, compile_and_run, [''])
38 test('numrun012', normal, compile_and_run, [''])
39 test('numrun013', normal, compile_and_run, [''])
40 test('numrun014', normal, compile_and_run, [''])
41 test('arith016', [normal,only_compiler_types(['ghc'])], compile_and_run, [''])
42 test('arith017', normal, compile_and_run, [''])
43 test('arith018', normal, compile_and_run, [''])
44 test('arith019', normal, compile_and_run, [''])
45 test('expfloat', normal, compile_and_run, [''])
46
47 test('T1603', skip, compile_and_run, [''])
48 test('T3676', expect_broken(3676), compile_and_run, [''])
49 test('T4381', normal, compile_and_run, [''])
50 test('T4383', normal, compile_and_run, [''])
51
52 test('add2', normal, compile_and_run, ['-fobject-code'])
53 test('mul2', normal, compile_and_run, ['-fobject-code'])
54 test('quotRem2', normal, compile_and_run, ['-fobject-code'])
55 test('T5863', normal, compile_and_run, [''])
56
57 test('T7014',
58      extra_clean(['T7014.simpl']),
59      run_command,
60      ['$MAKE -s --no-print-directory T7014'])
61
62 test('T7233', normal, compile_and_run, [''])
63 test('NumDecimals', normal, compile_and_run, [''])