Skip to content
Snippets Groups Projects
Commit d598e3d8 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Fix quoting in more tests

parent 29cc2f09
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@ setTestOpts(compose(only_compiler_types(['ghc']),
compose(omit_ways(['ghci','threaded2']),
skip_if_fast)))
hpc_prefix = 'perl ../hpcrun.pl --clear --exeext=' + config.exeext + ' --hpc=' + config.hpc;
hpc_prefix = "perl ../hpcrun.pl --clear --exeext=" + config.exeext + " --hpc='" + config.hpc + "'";
test('hpc_fork', cmd_prefix(hpc_prefix), compile_and_run, ['-fhpc'])
......@@ -2,7 +2,7 @@ setTestOpts(compose(only_compiler_types(['ghc']),
compose(omit_ways(['ghci']),
skip_if_fast)))
hpc_prefix = 'perl ../hpcrun.pl --clear --exeext=' + config.exeext + ' --hpc=' + config.hpc;
hpc_prefix = "perl ../hpcrun.pl --clear --exeext=" + config.exeext + " --hpc='" + config.hpc + "'";
test('hpc_raytrace', \
[ skip_if_fast, cmd_prefix(hpc_prefix), reqlib('parsec') ], \
......
......@@ -5,23 +5,23 @@ setTestOpts(compose(only_compiler_types(['ghc']),
hpcsample = 'hpc_sample'
test('hpc_report_multi_001', normal, run_command, \
[config.hpc + ' report ' + hpcsample + ' --include=Geometry --per-module'])
["'" + config.hpc + "' report " + hpcsample + " --include=Geometry --per-module"])
test('hpc_report_multi_002', normal, run_command, \
[config.hpc + ' report ' + hpcsample + ' --exclude=Geometry --per-module'])
["'" + config.hpc + "' report " + hpcsample + " --exclude=Geometry --per-module"])
test('hpc_report_multi_003', normal, run_command, \
[config.hpc + ' report ' + hpcsample + ' --include=Geometry --per-module --decl-list'])
["'" + config.hpc + "' report " + hpcsample + " --include=Geometry --per-module --decl-list"])
test('hpc_markup_multi_001', normal, run_command, \
[config.hpc + ' markup --srcdir=../ ' + hpcsample + ' --include=Geometry'])
["'" + config.hpc + "' markup --srcdir=../ " + hpcsample + " --include=Geometry"])
test('hpc_markup_multi_002', normal, run_command, \
[config.hpc + ' markup --srcdir=../ ' + hpcsample + ' --exclude=Geometry'])
["'" + config.hpc + "' markup --srcdir=../ " + hpcsample + " --exclude=Geometry"])
test('hpc_markup_multi_003', normal, run_command, \
[config.hpc + ' markup --srcdir=../ ' + hpcsample + ' --fun-entry-count'])
["'" + config.hpc + "' markup --srcdir=../ " + hpcsample + " --fun-entry-count"])
test('hpc_show_multi_001', normal, run_command,
[config.hpc + ' show ' + hpcsample + ''])
["'" + config.hpc + "' show " + hpcsample])
test('hpc_show_multi_002', normal, run_command,
[config.hpc + ' show ' + hpcsample + ' --include=Geometry'])
["'" + config.hpc + "' show " + hpcsample + " --include=Geometry"])
# XXX We used to do clean_o_hi(), but that doesn't work any more
# Fix cleaning properly
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment