aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-11-14 15:27:40 +0100
committerTobias Brunner <tobias@strongswan.org>2013-11-27 18:35:44 +0100
commitf5feeb04f3652fdc8c6fe904c0e489e28b978a2a (patch)
tree3e6911bb0cfec27a73f27689793b486dbb59b1b3
parent5221a1639122167a9d74ae0d18d1c2c9f3231ba4 (diff)
downloadstrongswan-f5feeb04f3652fdc8c6fe904c0e489e28b978a2a.tar.bz2
strongswan-f5feeb04f3652fdc8c6fe904c0e489e28b978a2a.tar.xz
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'.
-rw-r--r--src/charon-tkm/Makefile.am10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/charon-tkm/Makefile.am b/src/charon-tkm/Makefile.am
index c06864a57..d2b81a3ea 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)