Fix tests when BINDIST=YES
authorIan Lynagh <ian@well-typed.com>
Fri, 18 Jan 2013 11:46:49 +0000 (11:46 +0000)
committerIan Lynagh <ian@well-typed.com>
Fri, 18 Jan 2013 11:46:49 +0000 (11:46 +0000)
tests/hpcrun.pl

index 1cd955b..88fef33 100644 (file)
@@ -33,7 +33,7 @@ system ($HPC, "report", "$binary.tix");
 print "\n\n";
 system ($HPC, "report", "$binary.tix", "--per-module");
 print "\n\n";
-open(MARKUP, "-|", "$HPC markup $binary.tix");
+open(MARKUP, "-|", $HPC, "markup", "$binary.tix");
 while(<MARKUP>) {
   my $line = $_;
   print $line;