[llvm-commits] [llvm] r109997 - in /llvm/trunk: Makefile.rules test/Makefile
Daniel Dunbar
daniel at zuster.org
Sun Aug 1 17:05:18 PDT 2010
Author: ddunbar
Date: Sun Aug 1 19:05:18 2010
New Revision: 109997
URL: http://llvm.org/viewvc/llvm-project?rev=109997&view=rev
Log:
tests: Make 'lit' the default test tool. You can still use 'make check-dg' to
run the tests using DejaGNU, but not for much longer. This is a last call for
DejaGNU supporters, if no one complains soon the DejaGNU support is going to
die.
Modified:
llvm/trunk/Makefile.rules
llvm/trunk/test/Makefile
Modified: llvm/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile.rules?rev=109997&r1=109996&r2=109997&view=diff
==============================================================================
--- llvm/trunk/Makefile.rules (original)
+++ llvm/trunk/Makefile.rules Sun Aug 1 19:05:18 2010
@@ -1858,11 +1858,13 @@
$(EchoCmd) No test directory ; \
fi
-check-lit::
+check-lit:: check
+
+check-dg::
$(Verb) if test -d "$(PROJ_OBJ_ROOT)/test" ; then \
if test -f "$(PROJ_OBJ_ROOT)/test/Makefile" ; then \
$(EchoCmd) Running test suite ; \
- $(MAKE) -C $(PROJ_OBJ_ROOT)/test check-local-lit ; \
+ $(MAKE) -C $(PROJ_OBJ_ROOT)/test check-local-dg ; \
else \
$(EchoCmd) No Makefile in test directory ; \
fi ; \
Modified: llvm/trunk/test/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Makefile?rev=109997&r1=109996&r2=109997&view=diff
==============================================================================
--- llvm/trunk/test/Makefile (original)
+++ llvm/trunk/test/Makefile Sun Aug 1 19:05:18 2010
@@ -10,11 +10,11 @@
LEVEL = ..
DIRS =
-#
-# Make Dejagnu the default for testing
-#
all:: check-local
+# 'lit' is the default test runner.Make Dejagnu the default for testing
+check-local:: check-local-lit
+
# Include other test rules
include Makefile.tests
@@ -90,12 +90,12 @@
endif # SunOS
ifneq ($(RUNTEST),)
-check-local:: site.exp
+check-local-dg:: site.exp
( $(ULIMIT) \
PATH="$(LLVMToolDir):$(LLVM_SRC_ROOT)/test/Scripts:$(LLVMGCCDIR)/bin:$(PATH)" \
$(RUNTEST) $(RUNTESTFLAGS) )
else
-check-local:: site.exp
+check-local-dg:: site.exp
@echo "*** dejagnu not found. Make sure 'runtest' is in your PATH, then reconfigure LLVM."
endif
More information about the llvm-commits
mailing list