Add the necessary support to the ISel to allow targets to codegen the new
[oota-llvm.git] / test / Makefile
index cd05c29b9bc1864fc1b4a02050558e283f9c7b64..e2306dad5d02ff785ae1e39771ba7e8270312190 100644 (file)
@@ -28,7 +28,7 @@ RUNTESTFLAGS := --tool $(CLEANED_TESTSUITE)
 endif
 
 check-local:: site.exp
-       PATH=$(LLVMToolDir):$(LLVM_SRC_ROOT)/test/Scripts:$(PATH) \
+       PATH="$(LLVMToolDir):$(LLVMExmplDir):$(LLVM_SRC_ROOT)/test/Scripts:$(PATH)" \
        $(RUNTEST) $(RUNTESTFLAGS)
 
 clean::
@@ -44,12 +44,11 @@ site.exp: Makefile $(LLVM_OBJ_ROOT)/Makefile.config
        @echo 'set prcontext "$(TCLSH) $(LLVM_SRC_ROOT)/test/Scripts/prcontext.tcl"' >> site.tmp
        @echo 'set srcdir $(LLVM_SRC_ROOT)/test' >>site.tmp
        @echo "set objdir $(LLVM_OBJ_ROOT)/test" >>site.tmp
-       @echo 'set llvmgcc "$(LLVMGCCWITHPATH)"' >> site.tmp
-       @echo 'set llvmgxx "$(LLVMGXXWITHPATH)"' >> site.tmp
+       @echo 'set llvmgcc "PATH=\"$(LLVMToolDir):$(PATH)\" \"$(LLVMGCC)\""' >> site.tmp
+       @echo 'set llvmgxx "PATH=\"$(LLVMToolDir):$(PATH)\" \"$(LLVMGCC)\""' >> site.tmp
        @echo '## All variables above are generated by configure. Do Not Edit ## ' >>site.tmp
        @test ! -f site.exp || \
        sed '1,/^## All variables above are.*##/ d' site.exp >> site.tmp
        @-rm -f site.bak
        @test ! -f site.exp || mv site.exp site.bak
        @mv site.tmp site.exp
-