Use $(PYTHON) to run calibrate, rather than relying on it finding python itself
authorIan Lynagh <igloo@earth.li>
Thu, 5 Apr 2007 19:30:27 +0000 (19:30 +0000)
committerIan Lynagh <igloo@earth.li>
Thu, 5 Apr 2007 19:30:27 +0000 (19:30 +0000)
testsuite/timeout/Makefile

index 40d71e0..6d2b4dd 100644 (file)
@@ -21,9 +21,8 @@ boot :: python-timeout
 endif
 
 calibrate.out:
-       chmod +x calibrate
        rm -f Calibrate.o Calibrate.hi Calibrate
-       ./calibrate "$(HC)" > $@
+       $(PYTHON) calibrate "$(HC)" > $@
 
 python-timeout:
        cp timeout.py timeout