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
This commit is contained in:
Chandler Carruth 2012-06-28 00:03:13 +00:00
parent 01e4a065ac
commit c1a0af1bd3
2 changed files with 2 additions and 24 deletions

View File

@ -1964,20 +1964,9 @@ check::
$(EchoCmd) No test directory ; \ $(EchoCmd) No test directory ; \
fi fi
# An alias dating from when both lit and DejaGNU test runners were used.
check-lit:: check 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:: check-all::
$(Verb) if test -d "$(PROJ_OBJ_ROOT)/test" ; then \ $(Verb) if test -d "$(PROJ_OBJ_ROOT)/test" ; then \
if test -f "$(PROJ_OBJ_ROOT)/test/Makefile" ; then \ if test -f "$(PROJ_OBJ_ROOT)/test/Makefile" ; then \

View File

@ -1866,20 +1866,9 @@ check::
$(EchoCmd) No test directory ; \ $(EchoCmd) No test directory ; \
fi fi
# An alias dating from when both lit and DejaGNU test runners were used.
check-lit:: check 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:: check-all::
$(Verb) if test -d "$(PROJ_OBJ_ROOT)/test" ; then \ $(Verb) if test -d "$(PROJ_OBJ_ROOT)/test" ; then \
if test -f "$(PROJ_OBJ_ROOT)/test/Makefile" ; then \ if test -f "$(PROJ_OBJ_ROOT)/test/Makefile" ; then \