about summary refs log tree commit diff homepage
path: root/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index 4bc63b66..6a0184e2 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -51,12 +51,14 @@ check-local:: site.exp
 endif
 
 check-local-lit:: lit.site.cfg
+	# FIXME: Detect python at configure time
 	( $(ULIMIT) \
-	  $(LLVM_SRC_ROOT)/utils/lit/lit.py $(LIT_ARGS) $(LIT_TESTSUITE) )
+	  python2 $(LLVM_SRC_ROOT)/utils/lit/lit.py $(LIT_ARGS) $(LIT_TESTSUITE) )
 
 check-local-all:: lit.site.cfg
+	# FIXME: Detect python at configure time
 	( $(ULIMIT) \
-	  $(LLVM_SRC_ROOT)/utils/lit/lit.py $(LIT_ARGS) $(LIT_TESTSUITE) )
+	  python2 $(LLVM_SRC_ROOT)/utils/lit/lit.py $(LIT_ARGS) $(LIT_TESTSUITE) )
 
 ifdef TESTONE
 CLEANED_TESTONE := $(patsubst %/,%,$(TESTONE))