Commit 6436bddc authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Add you more clean_cmd's

parent c7b4f366
test('1372', normal,
run_command, ['$MAKE -s --no-print-directory 1372'])
if default_testopts.cleanup != '':
runCmd('$MAKE -C ' + in_testdir('') + ' clean')
test('1372',
clean_cmd('$MAKE -s clean'),
run_command,
['$MAKE -s --no-print-directory 1372'])
test('T3007', normal,
run_command, ['$MAKE -s --no-print-directory T3007'])
if default_testopts.cleanup != '':
runCmd('$MAKE -C ' + in_testdir('') + ' clean')
test('T3007',
clean_cmd('$MAKE -s clean'),
run_command,
['$MAKE -s --no-print-directory T3007'])
test('dynamic_flags_001', skip_if_fast, run_command, ['$MAKE -s --no-print-directory dynamic_flags_001'])
test('dynamic_flags_001',
[skip_if_fast,
clean_cmd('$MAKE -s clean')],
run_command,
['$MAKE -s --no-print-directory dynamic_flags_001'])
if default_testopts.cleanup != '':
runCmd('$MAKE -s -C ' + in_testdir('') + ' clean')
test('recomp001', skip_if_fast, run_command, ['$MAKE -s --no-print-directory recomp001'])
test('recomp001',
[skip_if_fast,
clean_cmd('$MAKE -s clean')],
run_command,
['$MAKE -s --no-print-directory recomp001'])
if default_testopts.cleanup != '':
runCmd('$MAKE -C ' + in_testdir('') + ' clean')
test('recomp002', skip_if_fast, run_command, ['$MAKE -s --no-print-directory recomp002'])
test('recomp002',
[skip_if_fast,
clean_cmd('$MAKE -s clean')],
run_command,
['$MAKE -s --no-print-directory recomp002'])
if default_testopts.cleanup != '':
runCmd('$MAKE -C ' + in_testdir('') + ' clean')
......@@ -3,14 +3,14 @@ include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
clean:
@rm -f *.o*
@rm -f *.hi*
@rm -f C.hs
rm -f *.o*
rm -f *.hi*
rm -f C.hs
recomp005: clean
cp C1.hs C.hs
'$(TEST_HC)' -fglasgow-exts --make E.hs -O
@sleep 1
sleep 1
cp C2.hs C.hs
# Should recompile E, because C is now an orphan
'$(TEST_HC)' -fglasgow-exts --make E.hs -O
test('recomp005',
skip_if_fast,
[skip_if_fast,
clean_cmd('$MAKE -s clean')],
run_command, ['$MAKE -s --no-print-directory recomp005'])
if default_testopts.cleanup != '':
runCmd('$MAKE -C ' + in_testdir('') + ' clean')
setTestOpts(only_compiler_types(['ghc']))
test('base01', normalise_slashes,
test('base01',
[normalise_slashes,
clean_cmd($MAKE -s clean')],
run_command,
['$MAKE -s base01 --no-print-directory'])
if default_testopts.cleanup != '':
runCmd('$MAKE -s -C ' + in_testdir('') + ' clean')
......@@ -6,6 +6,3 @@ test('mod175',
run_command,
['$MAKE -s mod175'])
if default_testopts.cleanup != '':
runCmd('$MAKE -C ' + in_testdir('') + ' clean')
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