[llvm-commits] CVS: llvm/test/Makefile

Tanya Brethour tbrethou at cs.uiuc.edu
Fri Dec 3 22:26:25 PST 2004



Changes in directory llvm/test:

Makefile updated: 1.71 -> 1.72
---
Log message:

Made it default to check instead of check-dejagnu.


---
Diffs of the changes:  (+4 -25)

Index: llvm/test/Makefile
diff -u llvm/test/Makefile:1.71 llvm/test/Makefile:1.72
--- llvm/test/Makefile:1.71	Tue Nov 30 13:13:06 2004
+++ llvm/test/Makefile	Sat Dec  4 00:25:08 2004
@@ -11,14 +11,9 @@
 DIRS   = 
 
 #
-# Make QMTest the default for testing features and regressions
-# Do this first to force QMTest to run first
+# Make Dejagnu the default for testing
 #
-ifdef TESTSUITE
-all:: check-dejagnu
-else
-all:: qmtest
-endif
+all:: check
 
 # Include other test rules
 include Makefile.tests
@@ -110,8 +105,6 @@
 	$(QMTEST) gui --no-browser --daemon
 
 # Also get rid of qmtest garbage when we 'make clean' in this directory.
-clean:: qmtest-clean
-
 qmtest-clean:
 	$(RM) -rf $(LLVM_OBJ_ROOT)/test/tmp
 	$(RM) -f $(LLVM_SRC_ROOT)/test/QMTest/*.pyo \
@@ -127,12 +120,11 @@
 RUNTESTFLAGS := --tool $(TESTSUITE)
 endif
 
-check-dejagnu: site.exp
+check:: site.exp
 	-PATH=$(LLVMToolDir):$(LLVM_SRC_ROOT)/test/Scripts:$(PATH) \
 	$(RUNTEST) $(RUNTESTFLAGS)
 
-
-dejagnu-clean:
+clean::
 	$(RM) -rf `find $(LLVM_OBJ_ROOT)/test/Regression -name Output -type d -print`
 
 site.exp: Makefile $(LLVM_OBJ_ROOT)/Makefile.config
@@ -153,16 +145,3 @@
 	@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) ; \
-	  find . -name \*.ll -print -exec $(LLVM_SRC_ROOT)/test/TestRunner.sh {} \; ; \
-	else \
-	  echo "Set QUICKTEST=<some directory with TestRunner.sh .ll files in it" ; \
-	fi






More information about the llvm-commits mailing list