Tweak some hpc tests
authorIan Lynagh <igloo@earth.li>
Tue, 15 Dec 2009 21:54:05 +0000 (21:54 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 15 Dec 2009 21:54:05 +0000 (21:54 +0000)
tests/function/Makefile
tests/raytrace/Makefile
tests/simple/Makefile

index 474197b..610d748 100644 (file)
@@ -8,7 +8,7 @@ include $(TOP)/mk/test.mk
 
 build-tix-tar::
        rm -Rf .hpc hpc001.o a.out
-       $(TOP)/../compiler/ghc-inplace -fhpc hpc001.hs
+       '$(TEST_HC)' -fhpc hpc001.hs
        ./a.out
        mv a.out.tix hpc_sample.tix
        tar cf tixs.tar hpc_sample.tix .hpc
index f48c350..1d362e5 100644 (file)
@@ -4,7 +4,7 @@ include $(TOP)/mk/test.mk
 
 build-tix-tar::
        rm -Rf .hpc *.o Main
-       $(TOP)/../compiler/ghc-inplace -fhpc --make Main.hs
+       '$(TEST_HC)' -fhpc --make Main.hs
        ./Main
        mv Main.tix hpc_sample.tix
        tar cf tixs.tar hpc_sample.tix .hpc
index 474197b..610d748 100644 (file)
@@ -8,7 +8,7 @@ include $(TOP)/mk/test.mk
 
 build-tix-tar::
        rm -Rf .hpc hpc001.o a.out
-       $(TOP)/../compiler/ghc-inplace -fhpc hpc001.hs
+       '$(TEST_HC)' -fhpc hpc001.hs
        ./a.out
        mv a.out.tix hpc_sample.tix
        tar cf tixs.tar hpc_sample.tix .hpc