Strip leading whitespace before checking if a statement looks like a declaration...
[ghc.git] / testsuite / tests / ghci / should_run / all.T
1
2 setTestOpts(when(compiler_profiled(), skip))
3
4 # We only want to run these tests with GHCi
5 def just_ghci( name, opts ):
6   opts.only_ways = ['ghci']
7
8 test('ghcirun001', just_ghci, compile_and_run, [''])
9 test('ghcirun002', just_ghci, compile_and_run, [''])
10 test('ghcirun003', just_ghci, compile_and_run, [''])
11 test('T2589',      just_ghci, compile_and_run, [''])
12 test('T2881',      just_ghci, compile_and_run, [''])
13
14 test('T3171',
15      [when(opsys('mingw32'),skip),
16       req_interp,
17       combined_output],
18      run_command,
19      ['$MAKE -s --no-print-directory T3171'])
20
21 test('ghcirun004', just_ghci, compile_and_run, [''])
22 test('T8377',      just_ghci, compile_and_run, [''])
23 test('T9914',      just_ghci, ghci_script, ['T9914.script'])
24 test('T9915',      just_ghci, ghci_script, ['T9915.script'])