Fix quoting in the "tough" test
authorIan Lynagh <igloo@earth.li>
Sat, 2 Jan 2010 17:46:43 +0000 (17:46 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 2 Jan 2010 17:46:43 +0000 (17:46 +0000)
tests/function/test.T

index d86da6f..ef89161 100644 (file)
@@ -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('tough', cmd_prefix(hpc_prefix), compile_and_run, ['-fhpc'])