Remove zlib from the llvm tarball. This is only used (in theory by povray-31
[oota-llvm.git] / test / Makefile
index aa18e85b30f1b26498f47ff82f4873c124082316..9783f6424bba67506a8cfc7e4fc709eaf5fff2cc 100644 (file)
@@ -124,7 +124,7 @@ RUNTESTFLAGS := --tool $(TESTSUITE)
 endif
 
 check-dejagnu: site.exp
-       PATH=$(LLVMToolDir):$(LLVM_SRC_ROOT)/test/Scripts:$(PATH) \
+       -PATH=$(LLVMToolDir):$(LLVM_SRC_ROOT)/test/Scripts:$(PATH) \
        $(RUNTEST) $(RUNTESTFLAGS)
 
 
@@ -137,7 +137,7 @@ site.exp: Makefile $(LLVM_OBJ_ROOT)/Makefile.config
        @echo '# Do not edit here.  If you wish to override these values' >>site.tmp
        @echo '# edit the last section' >>site.tmp
        @echo "set target_triplet $(TARGET_TRIPLE)" >> site.tmp
-       @echo 'set prcontext "$(PYTHON) $(LLVM_SRC_ROOT)/test/Scripts/prcontext.py"' >> site.tmp
+       @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 $(LLVMGCCDIR)/bin/gcc' >> site.tmp
@@ -149,6 +149,12 @@ site.exp: Makefile $(LLVM_OBJ_ROOT)/Makefile.config
        @test ! -f site.exp || mv site.exp site.bak
        @mv site.tmp site.exp
 
+#===------------------------------------------------------------------------===#
+# quick-test utility. Just runs TestRunner.sh on all the *.ll files in a
+# directory. Use like this: 
+#   cd llvm/test ; make quick-test QUICKTEST=Regression/Bytecode
+# where QUICKTEST specifies the directory you want to run the tests on.
+#===------------------------------------------------------------------------===#
 quick-test:
        @if test -d "${QUICKTEST}" ; then \
          cd $(LLVM_SRC_ROOT)/test/$(QUICKTEST) ; \