Browse Source

Support running tests with other versions of Python.

Jelmer Vernooij 16 years ago
parent
commit
629bd8750c
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Makefile

+ 3 - 3
Makefile

@@ -1,6 +1,6 @@
 PYTHON = python
 SETUP = $(PYTHON) setup.py
-TRIAL = trial
+TRIAL = $(shell which trial)
 
 all: build 
 
@@ -12,10 +12,10 @@ install::
 	$(SETUP) install
 
 check:: build
-	PYTHONPATH=. $(TRIAL) dulwich
+	PYTHONPATH=. $(PYTHON) $(TRIAL) dulwich
 
 check-noextensions:: clean
-	PYTHONPATH=. $(TRIAL) dulwich
+	PYTHONPATH=. $(PYTHON) $(TRIAL) dulwich
 
 clean::
 	$(SETUP) clean