all.T 1.05 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
# Only compile with optimisation
def f( opts ):
8
  opts.only_ways = ['optc','optasm']
9

10
setTestOpts(f)
11

12 13
test('simplrun001', normal, compile_and_run, [''])
test('simplrun002', normal, compile_and_run, [''])
14
test('simplrun003', normal, compile_and_run, [''])
15
test('simplrun004', normal, compile_and_run, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
16
test('simplrun005', normal, compile_and_run, [''])
Ian Lynagh's avatar
Ian Lynagh committed
17
test('simplrun006', expect_broken(149), compile_and_run, [''])
SamB's avatar
SamB committed
18
test('simplrun007', normal, compile_and_run, [''])
19
test('simplrun008', normal, compile_and_run, [''])
20
test('simplrun009', normal, compile_and_run, [''])
21 22 23
test('simplrun010', composes([extra_run_opts('24 16 8'),
                              exit_code(1)])
                  , compile_and_run, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
24 25 26 27 28

# Really we'd like to run T2486 too, to check that its
# runtime has not gone up, but here I just compile it so that
# the output of -ddump-rules can be compared
test('T2486', normal, compile, [''])
Simon Peyton Jones's avatar
Simon Peyton Jones committed
29
test('T2756', normal, compile_and_run, [''])