diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2010-08-02 00:05:18 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2010-08-02 00:05:18 +0000 |
| commit | b1af605e58fc2884d512696e2cae7e513d3e07fb (patch) | |
| tree | 7296c91cb49747fd47fc0c8d9f7561084d34ec60 | |
| parent | df77432f8a28bd97c5df9e35de53addfc1b68be9 (diff) | |
| download | bcm5719-llvm-b1af605e58fc2884d512696e2cae7e513d3e07fb.tar.gz bcm5719-llvm-b1af605e58fc2884d512696e2cae7e513d3e07fb.zip | |
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.
llvm-svn: 109997
| -rw-r--r-- | llvm/Makefile.rules | 6 | ||||
| -rw-r--r-- | llvm/test/Makefile | 10 |
2 files changed, 9 insertions, 7 deletions
diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules index 0b0f02c9f5a..b1744f13bfa 100644 --- a/llvm/Makefile.rules +++ b/llvm/Makefile.rules @@ -1858,11 +1858,13 @@ check:: $(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 ; \ diff --git a/llvm/test/Makefile b/llvm/test/Makefile index 044f75ba748..dc28e6d5924 100644 --- a/llvm/test/Makefile +++ b/llvm/test/Makefile @@ -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 # AuroraUX 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 |

