# Args to vtc are: extra compile flags def f( opts ): opts.extra_hc_opts = '-fno-warn-incomplete-patterns' setTestOpts(f) test('tc001', normal, compile, ['']) test('tc002', normal, compile, ['']) test('tc003', normal, compile, ['']) test('tc004', normal, compile, ['']) test('tc005', normal, compile, ['']) test('tc006', normal, compile, ['']) test('tc007', normal, compile, ['']) test('tc008', normal, compile, ['']) test('tc009', normal, compile, ['']) test('tc010', normal, compile, ['']) test('tc011', normal, compile, ['']) test('tc012', normal, compile, ['']) test('tc013', normal, compile, ['']) test('tc014', normal, compile, ['']) test('tc015', normal, compile, ['']) test('tc016', normal, compile, ['']) test('tc017', normal, compile, ['']) test('tc018', normal, compile, ['']) test('tc019', normal, compile, ['-fglasgow-exts']) test('tc020', normal, compile, ['']) test('tc021', normal, compile, ['']) test('tc022', normal, compile, ['']) test('tc023', normal, compile, ['']) test('tc024', normal, compile, ['']) test('tc025', normal, compile, ['']) test('tc026', normal, compile, ['']) test('tc027', normal, compile, ['']) test('tc028', normal, compile, ['']) test('tc029', normal, compile, ['']) test('tc030', normal, compile, ['']) test('tc031', normal, compile, ['']) test('tc032', normal, compile, ['']) test('tc033', normal, compile, ['']) test('tc034', normal, compile, ['']) test('tc035', normal, compile, ['']) test('tc036', normal, compile, ['']) test('tc037', normal, compile, ['']) test('tc038', normal, compile, ['']) test('tc039', normal, compile, ['']) test('tc040', normal, compile, ['']) test('tc041', normal, compile, ['']) test('tc042', normal, compile, ['']) test('tc043', normal, compile, ['']) test('tc044', normal, compile, ['']) test('tc045', normal, compile, ['']) test('tc046', normal, compile, ['']) test('tc047', normal, compile, ['']) test('tc048', normal, compile, ['']) test('tc049', normal, compile, ['']) test('tc050', normal, compile, ['']) test('tc051', normal, compile, ['']) test('tc052', normal, compile, ['']) test('tc053', normal, compile, ['']) test('tc054', normal, compile, ['']) test('tc055', normal, compile, ['']) test('tc056', normal, compile, ['']) test('tc057', normal, compile, ['']) test('tc058', normal, compile, ['']) test('tc059', normal, compile, ['']) test('tc060', normal, compile, ['']) test('tc061', normal, compile, ['']) test('tc062', normal, compile, ['']) test('tc063', normal, compile, ['']) test('tc064', normal, compile, ['']) test('tc065', normal, compile, ['']) test('tc066', normal, compile, ['']) test('tc067', normal, compile, ['']) test('tc068', normal, compile, ['']) test('tc069', normal, compile, ['']) test('tc070', normal, compile, ['']) test('tc073', normal, compile, ['']) test('tc074', normal, compile, ['']) test('tc076', normal, compile, ['']) test('tc077', normal, compile, ['']) test('tc078', normal, compile, ['']) test('tc079', normal, compile, ['']) test('tc080', normal, compile, ['']) test('tc081', normal, compile, ['']) test('tc082', normal, compile, ['']) test('tc084', expect_fail_if_compiler_type('hugs'), compile, ['']) test('tc085', only_compiler_types(['ghc']), compile, ['']) test('tc086', normal, compile, ['']) test('tc087', normal, compile, ['-fglasgow-exts']) test('tc088', normal, compile, ['']) test('tc089', normal, compile, ['']) test('tc090', normal, compile, ['']) test('tc091', normal, compile, ['']) test('tc092', normal, compile, ['']) test('tc093', normal, compile, ['']) test('tc094', normal, compile, ['']) test('tc095', normal, compile, ['']) test('tc096', expect_fail_if_compiler_type('hugs'), compile, ['']) test('tc097', normal, compile, ['-fglasgow-exts']) test('tc098', normal, compile, ['']) test('tc099', normal, compile, ['']) test('tc100', normal, compile, ['']) test('tc101', normal, compile, ['']) test('tc102', normal, compile, ['']) # tc103 free test('tc104', normal, compile, ['']) test('tc105', normal, compile, ['']) test('tc106', normal, compile, ['']) test('tc107', normal, compile, ['']) test('tc108', normal, compile, ['-fglasgow-exts']) test('tc109', normal, compile, ['']) test('tc111', normal, compile, ['']) test('tc112', normal, compile, ['']) test('tc113', normal, compile, ['']) test('tc114', normal, compile, ['']) test('tc115', normal, compile, ['']) test('tc116', normal, compile, ['']) test('tc117', normal, compile, ['']) test('tc118', normal, compile, ['']) test('tc119', normal, compile, ['']) test('tc120', normal, compile, ['']) test('tc121', normal, compile, ['']) test('tc122', normal, compile, ['']) test('tc123', normal, compile, ['']) test('tc124', normal, compile, ['']) test('tc125', normal, compile, ['']) test('tc126', normal, compile, ['']) test('tc127', normal, compile, ['']) test('tc128', normal, compile, ['']) test('tc129', normal, compile, ['']) test('tc130', normal, compile, ['']) test('tc131', normal, compile, ['']) test('tc132', normal, compile, ['']) test('tc133', normal, compile, ['']) # tc134 tested result type signatures, which aren't supported any more # test('tc134', only_compiler_types(['ghc']), compile_fail, ['']) test('tc135', only_compiler_types(['ghc']), compile, ['']) test('tc136', normal, compile, ['']) test('tc137', normal, compile, ['']) test('tc140', normal, compile, ['']) test('tc141', if_compiler_lt('ghc','6.9', namebase('tc141-6.8')), compile_fail, ['']) test('tc142', normal, compile, ['']) test('tc143', normal, compile, ['']) test('tc144', omit_compiler_types(['hugs']), compile, ['']) # Hugs loops test('tc145', normal, compile, ['']) test('tc146', normal, compile, ['']) test('tc147', normal, compile, ['']) test('tc148', only_compiler_types(['ghc']), compile, ['']) test('tc149', only_compiler_types(['ghc']), compile, ['']) test('tc150', normal, compile, ['']) test('tc151', normal, compile, ['']) test('tc152', only_compiler_types(['ghc']), compile, ['']) test('tc153', normal, compile, ['']) test('tc154', normal, compile, ['']) test('tc155', normal, compile, ['']) test('tc156', only_compiler_types(['ghc']), compile, ['']) test('tc157', normal, compile, ['']) test('tc158', only_compiler_types(['ghc']), compile, ['']) test('tc159', normal, compile, ['']) test('tc160', only_compiler_types(['ghc']), compile, ['']) test('tc161', normal, compile, ['']) test('tc162', only_compiler_types(['ghc']), compile_fail, ['']) test('tc163', only_compiler_types(['ghc']), compile, ['']) test('tc164', normal, compile, ['']) test('tc165', normal, compile, ['']) test('tc166', only_compiler_types(['ghc']), compile, ['']) test('tc167', only_compiler_types(['ghc']), compile, ['']) test('tc168', only_compiler_types(['ghc']), compile, ['-ddump-types']) test('tc169', normal, compile, ['']) # The bug in tc170 is triggered only by batch compilation # which we do by steam here, with a pair of tests. Make sure # we run one way only, so we can be sure to have the right kind # of interface file for the second part of the test. test('Tc170_Aux', compose(no_clean, only_ways(['optc','optasm'])), compile, ['']) test('tc170', only_ways(['optc','optasm']), compile, ['']) clean(['Tc170_Aux.comp.stderr', 'Tc170_Aux.hi', 'Tc170_Aux.o']) test('tc171', normal, compile, ['']) test('tc172', normal, compile, ['']) # The point about this test is that it compiles Tc173a and Tc173b *separately* test('tc173', ignore_output, run_command, ['$MAKE tc173']) clean(['Tc173a.hi', 'Tc173a.o', 'Tc173b.hi', 'Tc173b.o']) test('tc174', only_compiler_types(['ghc']), compile, ['']) test('tc175', normal, compile, ['']) test('tc176', normal, compile, ['']) test('tc177', normal, compile, ['']) test('tc178', normal, compile, ['']) test('tc179', normal, compile, ['']) test('tc180', normal, compile, ['']) test('tc181', normal, compile, ['']) test('tc182', normal, compile, ['']) test('tc183', reqlib('mtl'), compile, ['']) test('tc184', normal, compile, ['']) test('tc185', only_compiler_types(['ghc']), compile, ['']) test('tc186', normal, compile, ['']) test('tc187', normal, compile, ['']) test('tc188', only_compiler_types(['ghc']), compile, ['']) test('tc189', normal, compile, ['']) test('tc190', only_compiler_types(['ghc']), compile, ['']) test('tc191', only_compiler_types(['ghc']), compile, ['']) test('tc192', only_compiler_types(['ghc']), compile, ['']) test('tc193', only_compiler_types(['ghc']), compile, ['']) test('tc194', only_compiler_types(['ghc']), compile, ['']) test('tc195', only_compiler_types(['ghc']), compile, ['']) test('tc196', normal, compile, ['']) test('tc197', normal, compile, ['']) test('tc198', normal, compile, ['']) test('tc199', expect_broken_if_compiler_type(1061, 'ghc'), compile, ['']) test('tc200', normal, compile, ['']) test('tc201', normal, compile, ['']) test('tc202', normal, compile, ['']) test('tc203', normal, compile, ['']) test('tc204', normal, compile, ['']) test('tc205', normal, compile, ['']) test('tc206', normal, compile, ['']) test('tc207', normal, compile, ['']) test('tc208', normal, compile, ['']) test('tc209', normal, compile, ['']) test('tc210', normal, compile, ['']) test('tc211', normal, compile, ['']) test('tc212', normal, compile, ['']) test('tc213', normal, compile, ['']) test('tc214', normal, compile, ['']) test('tc215', expect_broken(366), compile, ['']) test('tc216', normal, compile, ['']) test('tc217', reqlib('mtl'), compile, ['']) test('tc218', normal, compile, ['']) test('tc219', normal, compile, ['']) test('tc220', reqlib('mtl'), compile, ['']) test('tc221', normal, compile, ['']) test('tc222', normal, compile, ['']) test('tc223', reqlib('mtl'), compile, ['']) test('tc224', normal, compile, ['']) test('tc225', normal, compile, ['']) test('tc226', normal, compile, ['']) test('tc227', normal, compile, ['']) test('tc228', normal, compile, ['']) test('tc229', normal, compile, ['']) test('tc230', normal, compile, ['']) test('tc231', normal, compile, ['']) test('tc232', reqlib('mtl'), compile, ['']) test('tc233', normal, compile, ['']) test('tc234', normal, compile, ['']) test('tc235', normal, compile, ['']) test('tc236', if_compiler_lt('ghc', '6.9', expect_fail), compile, ['']) test('tc237', normal, compile, ['']) test('tc238', normal, compile, ['']) test('tc239', extra_clean(['Tc239_Help.hi', 'Tc239_Help.o']), multimod_compile, ['tc239', '-v0']) test('tc240', normal, compile, ['']) test('FD1', normal, compile_fail, ['']) test('FD2', normal, compile_fail, ['']) test('FD3', normal, compile_fail, ['']) test('FD4', normal, compile, ['']) test('faxen', normal, compile, ['']) # Omitting temporarily # test('syn-perf', normal, compile, ['-fcontext-stack=30']) # test('syn-perf2', normal, compile, ['-fcontext-stack=30']) test('LoopOfTheDay1', normal, compile, ['']) test('LoopOfTheDay2', normal, compile, ['']) test('LoopOfTheDay3', normal, compile, [''])