Add 'check' as GCS conforming alias for make's 'test' goal.

This commit is contained in:
Keith Marshall 2012-01-15 21:30:48 +00:00
parent fe493b0f4b
commit 47c607cdca
5 changed files with 22 additions and 9 deletions

View File

@ -1,3 +1,15 @@
2012-01-15 Keith Marshall <keithmarshall@users.sf.net>
Add 'check' as GCS conforming alias for make's 'test' goal.
* Makefile.in (check): New goal; declare as .PHONY; implement it as...
(test): ... alternative goal name for this; the original 'test' goal
may now be considered as deprecated, but there is no pressing need to
withdraw support for it.
* lib/Makefile.in lib/ddk/Makefile.in lib/directx/Makefile.in:
(check, test): Likewise.
2012-01-15 Keith Marshall <keithmarshall@users.sf.net>
More makefile code refactoring; remove redundant INCLUDES references.

View File

@ -43,8 +43,8 @@ all: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@
test:
$(MAKE) -C lib test
check test:
$(MAKE) -C lib $@
install uninstall:
for dir in $(SUBDIRS); do \
@ -141,6 +141,6 @@ distclean: clean-top
maintainer-clean: maintainer-clean-subdirs
.PHONY: lib test
.PHONY: lib check test
# Makefile.in: end of file

View File

@ -64,7 +64,7 @@ DISTFILES = Makefile.in $(DEF_FILES) $(MRI_FILES) $(SOURCES)
.NOTPARALLEL:
.PHONY: install install-libraries install-headers install-ddk
.PHONY: test $(SUBDIRS)
.PHONY: check test $(SUBDIRS)
# Targets: (note that 'all-default' is a redirection from 'all',
# which is the primary default target identified in the included
@ -87,7 +87,7 @@ TEST_OPTIONS = \
$(ALL_CFLAGS) -DWINVER=0x0666 -Wall -pedantic -Wsystem-headers \
-c ${srcdir}/test.c -o test.o
test:
check test:
@echo "Testing w32api..."
@for lang in c c++ objective-c ; do \
echo "$$lang..."; \

View File

@ -41,8 +41,8 @@ TEST_OPTIONS = \
$(ALL_CFLAGS) -Wall -pedantic -Wsystem-headers \
-c ${srcdir}/test.c -o test.o
.PHONY: test
test:
.PHONY: check test
check test:
@echo "Testing ddk..."
@for lang in c c++ objective-c; do \
echo "$$lang..."; \

View File

@ -50,8 +50,9 @@ all-default: $(LIBS)
TEST_OPTIONS = \
$(ALL_CFLAGS) -Wall -pedantic -Wsystem-headers \
-c ${srcdir}/test.c -o test.o
.PHONY: test
test:
.PHONY: check test
check test:
@echo "Testing directx..."
@for lang in c c++ objective-c; do \
echo "$$lang..."; \