commit
4cff752433
@ -229,12 +229,13 @@ install: bin/pdata_tools
|
|||||||
ifeq ("@TESTING@", "yes")
|
ifeq ("@TESTING@", "yes")
|
||||||
include unit-tests/Makefile
|
include unit-tests/Makefile
|
||||||
|
|
||||||
.PHONEY: features
|
.PHONY: features test check
|
||||||
|
|
||||||
features: pdata_tools
|
features: bin/pdata_tools
|
||||||
cucumber --no-color --format progress
|
cucumber --no-color --format progress
|
||||||
|
|
||||||
test: features unit-test
|
test: features unit-test
|
||||||
|
check: unit-test
|
||||||
endif
|
endif
|
||||||
|
|
||||||
-include $(DEPEND_FILES)
|
-include $(DEPEND_FILES)
|
||||||
|
@ -84,7 +84,7 @@ unit-tests/unit_tests: $(TEST_OBJECTS) lib/libgmock.a lib/libpdata.a
|
|||||||
@echo " [LD] $<"
|
@echo " [LD] $<"
|
||||||
$(V)g++ $(CXXFLAGS) $(LDFLAGS) -o $@ $(TEST_OBJECTS) $(LIBS) $(GMOCK_LIBS) $(LIBEXPAT)
|
$(V)g++ $(CXXFLAGS) $(LDFLAGS) -o $@ $(TEST_OBJECTS) $(LIBS) $(GMOCK_LIBS) $(LIBEXPAT)
|
||||||
|
|
||||||
.PHONEY: unit-test
|
.PHONY: unit-test
|
||||||
|
|
||||||
unit-test: unit-tests/unit_tests
|
unit-test: unit-tests/unit_tests
|
||||||
unit-tests/unit_tests
|
unit-tests/unit_tests
|
||||||
|
Loading…
Reference in New Issue
Block a user