summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-06-28 00:03:13 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-06-28 00:03:13 +0000
commitc1a0af1bd3d8843dc1c2d997463bed69e7b6f5a7 (patch)
treed10b9b0512602b236c39cd691746adc8122d9937
parent01e4a065acebdb3ff1803fca7b1c481b2cadedee (diff)
downloadexternal_llvm-c1a0af1bd3d8843dc1c2d997463bed69e7b6f5a7.zip
external_llvm-c1a0af1bd3d8843dc1c2d997463bed69e7b6f5a7.tar.gz
external_llvm-c1a0af1bd3d8843dc1c2d997463bed69e7b6f5a7.tar.bz2
Remove 'check-dg', a wrapper around 'check-local-dg' which was just
nuked. Add a comment that the 'check-lit' rule is really just a legacy of having two test runners. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159310 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Makefile.rules13
-rw-r--r--projects/sample/Makefile.llvm.rules13
2 files changed, 2 insertions, 24 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 4b06523..644c356 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -1964,20 +1964,9 @@ check::
$(EchoCmd) No test directory ; \
fi
+# An alias dating from when both lit and DejaGNU test runners were used.
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-dg ; \
- else \
- $(EchoCmd) No Makefile in test directory ; \
- fi ; \
- else \
- $(EchoCmd) No test directory ; \
- fi
-
check-all::
$(Verb) if test -d "$(PROJ_OBJ_ROOT)/test" ; then \
if test -f "$(PROJ_OBJ_ROOT)/test/Makefile" ; then \
diff --git a/projects/sample/Makefile.llvm.rules b/projects/sample/Makefile.llvm.rules
index c980d6b..a655302 100644
--- a/projects/sample/Makefile.llvm.rules
+++ b/projects/sample/Makefile.llvm.rules
@@ -1866,20 +1866,9 @@ check::
$(EchoCmd) No test directory ; \
fi
+# An alias dating from when both lit and DejaGNU test runners were used.
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-dg ; \
- else \
- $(EchoCmd) No Makefile in test directory ; \
- fi ; \
- else \
- $(EchoCmd) No test directory ; \
- fi
-
check-all::
$(Verb) if test -d "$(PROJ_OBJ_ROOT)/test" ; then \
if test -f "$(PROJ_OBJ_ROOT)/test/Makefile" ; then \