From fba6feb650c74ac9def2a38be137b1d62e68cc84 Mon Sep 17 00:00:00 2001 From: Dan Liew Date: Mon, 13 Jan 2014 02:23:10 +0000 Subject: Force python2 to be used when running llvm-lit. This needs to be fixed properly at configure time at some point. --- test/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test') 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)) -- cgit 1.4.1