From: Tobias Brunner Date: Thu, 14 Nov 2013 14:27:40 +0000 (+0100) Subject: charon-tkm: Don't run tests automatically during 'make check' X-Git-Tag: 5.1.2dr1~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f5feeb04f3652fdc8c6fe904c0e489e28b978a2a;p=thirdparty%2Fstrongswan.git 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'. --- diff --git a/src/charon-tkm/Makefile.am b/src/charon-tkm/Makefile.am index c06864a571..d2b81a3eae 100644 --- a/src/charon-tkm/Makefile.am +++ b/src/charon-tkm/Makefile.am @@ -41,13 +41,13 @@ build_charon: build_charon.gpr src/charon-tkm.c build_tests: build_tests.gpr @$(GPRBUILD) -p $< $(BUILD_OPTS) $(TEST_OPTS) -if UNITTESTS -check: build_tests +check-tkm: build_tests @LD_LIBRARY_PATH=$(LIBPT) obj/tests -else + check: - @echo "reconfigure with --enable-unit-tests" -endif + @echo "TKM tests are not run automatically because they have to be run as root" >&2 + @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) -m 755 obj/charon-tkm $(DESTDIR)$(ipsecdir)