# Args to compile_and_run are: # extra compile flags # extra run flags # expected process return value, if not zero test('dsrun001', normal, compile_and_run, ['']) test('dsrun002', normal, compile_and_run, ['']) test('dsrun003', normal, compile_and_run, ['']) test('dsrun004', normal, compile_and_run, ['']) test('dsrun005', exit_code(1), compile_and_run, ['']) test('dsrun006', normal, compile_and_run, ['']) test('dsrun007', exit_code(1), compile_and_run, ['']) test('dsrun008', exit_code(1), compile_and_run, ['']) test('dsrun009', normal, compile_and_run, ['']) test('dsrun010', normal, compile_and_run, ['']) test('dsrun011', when(fast(), skip), compile_and_run, ['']) test('dsrun012', when(fast(), skip), compile_and_run, ['']) test('dsrun013', normal, compile_and_run, ['']) test('dsrun014', normal, compile_and_run, ['-fobject-code']) test('dsrun015', normal, compile_and_run, ['']) test('dsrun016', normal, compile_and_run, ['']) test('dsrun017', normal, compile_and_run, ['']) test('dsrun018', normal, compile_and_run, ['']) test('dsrun019', normal, compile_and_run, ['']) test('dsrun020', normal, compile_and_run, ['']) test('dsrun021', normal, compile_and_run, ['']) test('dsrun022', normal, compile_and_run, ['']) test('dsrun023', normal, compile_and_run, ['']) test('T246', normal, compile_and_run, ['']) test('T3126', normal, compile_and_run, ['']) test('T3382', normal, compile_and_run, ['']) test('mc01', normal, compile_and_run, ['']) test('mc02', normal, compile_and_run, ['']) test('mc03', normal, compile_and_run, ['']) test('mc04', normal, compile_and_run, ['']) test('mc05', normal, compile_and_run, ['']) test('mc06', normal, compile_and_run, ['']) test('mc07', normal, compile_and_run, ['']) test('mc08', normal, compile_and_run, ['']) test('T5742', normal, compile_and_run, ['']) test('DsLambdaCase', when(compiler_lt('ghc', '7.5'), skip), compile_and_run, ['']) test('DsMultiWayIf', when(compiler_lt('ghc', '7.5'), skip), compile_and_run, ['']) test('DsStaticPointers', [ when(compiler_lt('ghc', '7.9'), skip) , when(doing_ghci(), extra_hc_opts('-fobject-code')) ], compile_and_run, ['']) test('T8952', normal, compile_and_run, ['']) test('T9238', normal, compile_and_run, ['']) test('T9844', normal, compile_and_run, ['']) test('T10215', normal, compile_and_run, ['']) test('DsStrictData', normal, compile_and_run, ['']) test('DsStrict', normal, compile_and_run, ['']) test('DsStrictLet', normal, compile_and_run, ['-O'])