charon-tkm: Don't run tests automatically during 'make check'
Due to the external dependencies these tests are quite inconvenient. They can be run from the charon-tkm directory with 'make check-tkm'.
This commit is contained in:
@@ -41,13 +41,13 @@ build_charon: build_charon.gpr src/charon-tkm.c
|
|||||||
build_tests: build_tests.gpr
|
build_tests: build_tests.gpr
|
||||||
@$(GPRBUILD) -p $< $(BUILD_OPTS) $(TEST_OPTS)
|
@$(GPRBUILD) -p $< $(BUILD_OPTS) $(TEST_OPTS)
|
||||||
|
|
||||||
if UNITTESTS
|
check-tkm: build_tests
|
||||||
check: build_tests
|
|
||||||
@LD_LIBRARY_PATH=$(LIBPT) obj/tests
|
@LD_LIBRARY_PATH=$(LIBPT) obj/tests
|
||||||
else
|
|
||||||
check:
|
check:
|
||||||
@echo "reconfigure with --enable-unit-tests"
|
@echo "TKM tests are not run automatically because they have to be run as root" >&2
|
||||||
endif
|
@echo "and require a properly configured TKM daemon to be running." >&2
|
||||||
|
@echo "They can be run from '$(abs_builddir)' with 'make check-tkm'" >&2
|
||||||
|
|
||||||
install: build_charon
|
install: build_charon
|
||||||
$(INSTALL) -m 755 obj/charon-tkm $(DESTDIR)$(ipsecdir)
|
$(INSTALL) -m 755 obj/charon-tkm $(DESTDIR)$(ipsecdir)
|
||||||
|
|||||||
Reference in New Issue
Block a user