From b46676575c807acf1ef7dbfdaad7f2d5bb96c54d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 8 May 2016 23:35:19 -0400 Subject: [PATCH] fix up test targets - PHONY is misspelled - fix the pdata_tools target dep - add a "check" alias to match standard automake behavior - mark test & check targets as phony --- Makefile.in | 5 +++-- unit-tests/Makefile.in | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index add456e..b8fbb81 100644 --- a/Makefile.in +++ b/Makefile.in @@ -229,12 +229,13 @@ install: bin/pdata_tools ifeq ("@TESTING@", "yes") include unit-tests/Makefile -.PHONEY: features +.PHONY: features test check -features: pdata_tools +features: bin/pdata_tools cucumber --no-color --format progress test: features unit-test +check: unit-test endif -include $(DEPEND_FILES) diff --git a/unit-tests/Makefile.in b/unit-tests/Makefile.in index 9307e5f..738552b 100644 --- a/unit-tests/Makefile.in +++ b/unit-tests/Makefile.in @@ -84,7 +84,7 @@ unit-tests/unit_tests: $(TEST_OBJECTS) lib/libgmock.a lib/libpdata.a @echo " [LD] $<" $(V)g++ $(CXXFLAGS) $(LDFLAGS) -o $@ $(TEST_OBJECTS) $(LIBS) $(GMOCK_LIBS) $(LIBEXPAT) -.PHONEY: unit-test +.PHONY: unit-test unit-test: unit-tests/unit_tests unit-tests/unit_tests