setTestOpts(only_compiler_types(['ghc'])) setTestOpts(only_ways(['normal'])); # In fast mode, we omit all the compile_and_run tests except a couple test('gadt1', normal, compile, ['']) test('gadt2', skip_if_fast, compile_and_run, ['']) test('gadt3', normal, compile, ['']) test('gadt4', skip_if_fast, compile_and_run, ['']) test('gadt5', skip_if_fast, compile_and_run, ['']) test('gadt6', normal, compile, ['']) test('gadt7', normal, compile_fail, ['']) test('gadt8', normal, compile, ['']) test('gadt9', normal, compile, ['']) test('gadt10', normal, compile_fail, ['']) test('gadt11', normal, compile_fail, ['']) test('gadt13', normal, compile_fail, ['']) test('gadt14', normal, compile, ['']) test('gadt15', normal, compile, ['']) test('gadt16', normal, compile, ['']) test('gadt17', normal, run_command_ignore_output, ['$MAKE gadt17']) clean(['Gadt17_help.hi', 'Gadt17_help.o']) test('red-black', normal, compile, ['']) test('type-rep', skip_if_fast, compile_and_run, ['']) test('equal', normal, compile, ['']) test('nbe', normal, compile, ['']) test('while', normal, compile_and_run, ['']) test('rw', normal, compile_fail, ['']) test('lazypat', normal, compile_fail, ['']) test('lazypatok', normal, compile, ['']) test('tc', normal, compile_and_run, ['']) test('arrow', normal, compile, ['']) test('tdpe', normal, compile, ['']) test('Nilsson', skip_if_fast, compile, ['']) test('records', skip_if_fast, compile_and_run, ['']) test('ubx-records', skip_if_fast, compile_and_run, ['']) test('records-fail1', normal, compile_fail, ['']) # New ones from Dimitrios # test('gadt-dim1', normal, compile, ['']) # test('gadt-dim2', normal, compile_fail, ['']) # test('gadt-dim3', normal, compile_fail, ['']) # test('gadt-dim4', normal, compile, ['']) # test('gadt-dim5', normal, compile, ['']) # test('gadt-dim6', normal, compile, ['']) # test('gadt-dim7', normal, compile, ['']) # test('gadt-dim8', normal, compile, ['']) # test('Arith', normal, compile, [''])