Commit 49b5792b authored by Ian Lynagh's avatar Ian Lynagh

Fix some test name collisions

parent 22a250d2
test('cg001', normal, compile_and_run, [''])
test('cg002', normal, compile_and_run, [''])
test('cg003', normal, compile_and_run, [''])
test('cg004', normal, compile_and_run, [''])
test('cg005', normal, compile_and_run, [''])
test('cg006', normal, compile_and_run, [''])
test('cg007', normal, compile_and_run, [''])
test('cg008', normal, compile_and_run, [''])
test('cg009', normal, compile_and_run, [''])
test('cg010', normal, compile_and_run, [''])
test('cg011', normal, compile_and_run, [''])
test('cg012', only_compiler_types(['ghc']), compile_and_run, ['-fglasgow-exts'])
test('cg013', normal, compile_and_run, [''])
test('cg014', normal, compile_and_run, [''])
test('cg015', only_compiler_types(['ghc']), compile_and_run, ['-fglasgow-exts'])
test('cg016', exit_code(1), compile_and_run, [''])
test('cg017', normal, compile_and_run, [''])
test('cg018', only_compiler_types(['ghc']), compile_and_run, ['-fglasgow-exts'])
test('cg019', normal, compile_and_run, [''])
test('cg020', normal, compile_and_run, [''])
test('cg021', normal, compile_and_run, [''])
test('cg022', normal, compile_and_run, [''])
test('cg024', normal, compile_and_run, [''])
test('cgrun001', normal, compile_and_run, [''])
test('cgrun002', normal, compile_and_run, [''])
test('cgrun003', normal, compile_and_run, [''])
test('cgrun004', normal, compile_and_run, [''])
test('cgrun005', normal, compile_and_run, [''])
test('cgrun006', normal, compile_and_run, [''])
test('cgrun007', normal, compile_and_run, [''])
test('cgrun008', normal, compile_and_run, [''])
test('cgrun009', normal, compile_and_run, [''])
test('cgrun010', normal, compile_and_run, [''])
test('cgrun011', normal, compile_and_run, [''])
test('cgrun012', only_compiler_types(['ghc']), compile_and_run, ['-fglasgow-exts'])
test('cgrun013', normal, compile_and_run, [''])
test('cgrun014', normal, compile_and_run, [''])
test('cgrun015', only_compiler_types(['ghc']), compile_and_run, ['-fglasgow-exts'])
test('cgrun016', exit_code(1), compile_and_run, [''])
test('cgrun017', normal, compile_and_run, [''])
test('cgrun018', only_compiler_types(['ghc']), compile_and_run, ['-fglasgow-exts'])
test('cgrun019', normal, compile_and_run, [''])
test('cgrun020', normal, compile_and_run, [''])
test('cgrun021', normal, compile_and_run, [''])
test('cgrun022', normal, compile_and_run, [''])
test('cgrun024', normal, compile_and_run, [''])
test('cg025', compose(reqlib('regex-compat'), compose(extra_run_opts('cg025.hs'),exit_code(1))),
test('cgrun025', compose(reqlib('regex-compat'), compose(extra_run_opts('cg025.hs'),exit_code(1))),
compile_and_run, ['-package regex-compat'])
test('cg026', only_compiler_types(['ghc']), compile_and_run, [''])
test('cg027', normal, compile_and_run, [''])
test('cg028', normal, compile_and_run, [''])
test('cg031', only_compiler_types(['ghc']), compile_and_run, ['-fglasgow-exts'])
test('cg032', only_compiler_types(['ghc']), compile_and_run, ['-fglasgow-exts'])
test('cg033', only_compiler_types(['ghc']), compile_and_run, ['-fglasgow-exts'])
test('cg034', normal, compile_and_run, [''])
test('cg035', normal, compile_and_run, ['-fglasgow-exts'])
test('cg036', normal, compile_and_run, [''])
test('cg037', normal, compile_and_run, [''])
test('cg038', normal, compile_and_run, [''])
test('cg039', normal, compile_and_run, [''])
test('cg040', normal, compile_and_run, [''])
test('cg043', normal, compile_and_run, [''])
test('cg044', normal, compile_and_run, [''])
test('cg045', exit_code(1), compile_and_run, [''])
test('cg046', normal, compile_and_run, [''])
test('cg047', normal, compile_and_run, [''])
test('cg048', normal, compile_and_run, [''])
test('cg049', normal, compile_and_run, ['-funbox-strict-fields'])
test('cg050', normal, compile_and_run, [''])
test('cgrun026', only_compiler_types(['ghc']), compile_and_run, [''])
test('cgrun027', normal, compile_and_run, [''])
test('cgrun028', normal, compile_and_run, [''])
test('cgrun031', only_compiler_types(['ghc']), compile_and_run, ['-fglasgow-exts'])
test('cgrun032', only_compiler_types(['ghc']), compile_and_run, ['-fglasgow-exts'])
test('cgrun033', only_compiler_types(['ghc']), compile_and_run, ['-fglasgow-exts'])
test('cgrun034', normal, compile_and_run, [''])
test('cgrun035', normal, compile_and_run, ['-fglasgow-exts'])
test('cgrun036', normal, compile_and_run, [''])
test('cgrun037', normal, compile_and_run, [''])
test('cgrun038', normal, compile_and_run, [''])
test('cgrun039', normal, compile_and_run, [''])
test('cgrun040', normal, compile_and_run, [''])
test('cgrun043', normal, compile_and_run, [''])
test('cgrun044', normal, compile_and_run, [''])
test('cgrun045', exit_code(1), compile_and_run, [''])
test('cgrun046', normal, compile_and_run, [''])
test('cgrun047', normal, compile_and_run, [''])
test('cgrun048', normal, compile_and_run, [''])
test('cgrun049', normal, compile_and_run, ['-funbox-strict-fields'])
test('cgrun050', normal, compile_and_run, [''])
# Doesn't work with External Core due to datatype declaration with no constructors
test('cg051', (compose (expect_fail_for(['extcore','optextcore']),exit_code(1))), compile_and_run, [''])
test('cg052', only_ways(['optc','optasm']), compile_and_run, ['-funbox-strict-fields'])
test('cg053', normal, compile_and_run, [''])
test('cg054', normal, compile_and_run, [''])
test('cg055', normal, compile_and_run, [''])
test('cg056', normal, compile_and_run, [''])
test('cgrun051', (compose (expect_fail_for(['extcore','optextcore']),exit_code(1))), compile_and_run, [''])
test('cgrun052', only_ways(['optc','optasm']), compile_and_run, ['-funbox-strict-fields'])
test('cgrun053', normal, compile_and_run, [''])
test('cgrun054', normal, compile_and_run, [''])
test('cgrun055', normal, compile_and_run, [''])
test('cgrun056', normal, compile_and_run, [''])
test('cg057', composes([expect_broken(948),
test('cgrun057', composes([expect_broken(948),
only_ways(['prof','profasm']),
extra_run_opts('+RTS -xc')]),
compile_and_run, [''])
test('cg058', normal, compile_and_run, [''])
test('cg059', exit_code(1), compile_and_run, [''])
test('cgrun058', normal, compile_and_run, [''])
test('cgrun059', exit_code(1), compile_and_run, [''])
test('1852', normal, compile_and_run, [''])
test('2080', normal, compile_and_run, [''])
test('cg060',
test('cgrun060',
extra_run_opts('+RTS -K64k -RTS'),
compile_and_run, [''])
test('cg061', normal, compile_and_run, [''])
test('cg062', normal, compile_and_run, [''])
test('cg063', normal, compile_and_run, [''])
test('cgrun061', normal, compile_and_run, [''])
test('cgrun062', normal, compile_and_run, [''])
test('cgrun063', normal, compile_and_run, [''])
test('1861', extra_run_opts('0'), compile_and_run, [''])
......
"cg025"
["cg025.hs"]
"cgrun025"
["cgrun025.hs"]
GOT PATH
-- !!! test various I/O Requests
--
......@@ -12,7 +12,7 @@ import Maybe
main = do
prog <- getProgName
let Just (name:_) = matchRegex (mkRegex ".*(cg025)") prog
let Just (name:_) = matchRegex (mkRegex ".*(cgrun025)") prog
hPutStr stderr (shows name "\n")
args <- getArgs
hPutStr stderr (shows args "\n")
......@@ -25,4 +25,4 @@ main = do
trace "hello, trace" $
catch (getEnv "__WURBLE__" >> return ()) (\ e -> error "hello, error")
hello, trace
cg025: hello, error
cgrun025: hello, error
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment