Commit b52ab0cc authored by thomie's avatar thomie

Testsuite: run tests in <testname>-run instead of /tmp

parent d8b5381b
setTestOpts([omit_ways(['ghci','threaded2']), when(fast(), skip)])
hpc_prefix = "perl ../hpcrun.pl --clear --exeext={exeext} --hpc={hpc}"
hpc_prefix = "perl hpcrun.pl --clear --exeext={exeext} --hpc={hpc}"
test('hpc_fork', [ when(opsys('mingw32'), skip), # no forkProcess on Windows
cmd_prefix(hpc_prefix) ], compile_and_run, ['-fhpc'])
......
setTestOpts([omit_ways(['ghci']), when(fast(), skip)])
hpc_prefix = "perl ../hpcrun.pl --clear --exeext={exeext} --hpc={hpc}"
hpc_prefix = "perl hpcrun.pl --clear --exeext={exeext} --hpc={hpc}"
test('tough',
[cmd_prefix(hpc_prefix),
......
setTestOpts([omit_ways(['ghci']), when(fast(), skip)])
hpc_prefix = "perl ../hpcrun.pl --clear --exeext={exeext} --hpc={hpc}"
hpc_prefix = "perl hpcrun.pl --clear --exeext={exeext} --hpc={hpc}"
# Test that -fhpc still works when (a) the source file is in a
# subdirectory and (b) it is a literate file. We had a bug in this
......
setTestOpts([omit_ways(['ghci']), when(fast(), skip)])
hpc_prefix = "perl ../hpcrun.pl --clear --exeext={exeext} --hpc={hpc}"
hpc_prefix = "perl hpcrun.pl --clear --exeext={exeext} --hpc={hpc}"
# TODO. It is unclear what the purpose of this test is. It produces lots of
# output, but the expected output file is missing. I (thomie) added
......
......@@ -8,13 +8,13 @@ test('hpc_report_multi_003', normal, run_command,
["{hpc} report hpc_sample --include=Geometry --per-module --decl-list"])
test('hpc_markup_multi_001', extra_clean(['markup_multi_001/*']), run_command,
["{hpc} markup --srcdir=.. --hpcdir=tixs/.hpc --hpcdir=hpc_markup_multi_001/.hpc --destdir=markup_multi_001"
["{hpc} markup --hpcdir=tixs/.hpc --hpcdir=hpc_markup_multi_001/.hpc --destdir=markup_multi_001"
" hpc_sample --include=Geometry"])
test('hpc_markup_multi_002', extra_clean(['markup_multi_002/*']), run_command,
["{hpc} markup --srcdir=.. --hpcdir=tixs/.hpc --hpcdir=hpc_markup_multi_002/.hpc --destdir=markup_multi_002"
["{hpc} markup --hpcdir=tixs/.hpc --hpcdir=hpc_markup_multi_002/.hpc --destdir=markup_multi_002"
" hpc_sample --exclude=Geometry"])
test('hpc_markup_multi_003', extra_clean(['markup_multi_003/*']), run_command,
["{hpc} markup --srcdir=.. --hpcdir=tixs/.hpc --hpcdir=hpc_markup_multi_003/.hpc --destdir=markup_multi_003"
["{hpc} markup --hpcdir=tixs/.hpc --hpcdir=hpc_markup_multi_003/.hpc --destdir=markup_multi_003"
" hpc_sample --fun-entry-count"])
test('hpc_show_multi_001', normal, run_command,
......
setTestOpts([omit_ways(['ghci']), when(fast(), skip)])
hpc_prefix = "perl ../hpcrun.pl --clear --exeext={exeext} --hpc={hpc}"
hpc_prefix = "perl hpcrun.pl --clear --exeext={exeext} --hpc={hpc}"
test('hpc001', cmd_prefix(hpc_prefix), compile_and_run, ['-fhpc'])
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