From 04f2f95bb4ffae161ff0e7f01e381d6c7296fe14 Mon Sep 17 00:00:00 2001 From: baude Date: Sun, 11 Aug 2019 11:47:15 -0500 Subject: Create framework for varlink endpoint integration tests add the ability to write integration tests similar to our e2e tests for the varlink endpoints. Signed-off-by: baude --- contrib/cirrus/integration_test.sh | 6 ++++++ contrib/cirrus/setup_environment.sh | 3 +++ 2 files changed, 9 insertions(+) (limited to 'contrib') diff --git a/contrib/cirrus/integration_test.sh b/contrib/cirrus/integration_test.sh index 8a43176e4..d17027866 100755 --- a/contrib/cirrus/integration_test.sh +++ b/contrib/cirrus/integration_test.sh @@ -43,6 +43,12 @@ case "$SPECIALMODE" in echo "WARNING: Integration tests not yet ready for cgroups V2" #TODO: make local${TESTSUITE} ;; + endpoint) + make + make install PREFIX=/usr ETCDIR=/etc + make test-binaries + make endpoint + ;; none) make make install PREFIX=/usr ETCDIR=/etc diff --git a/contrib/cirrus/setup_environment.sh b/contrib/cirrus/setup_environment.sh index 03acaf1da..e6489a9bd 100755 --- a/contrib/cirrus/setup_environment.sh +++ b/contrib/cirrus/setup_environment.sh @@ -73,6 +73,9 @@ case "$SPECIALMODE" in none) remove_packaged_podman_files ;; + endpoint) + remove_packaged_podman_files + ;; rootless) # Only do this once, even if ROOTLESS_USER (somehow) changes if ! grep -q 'ROOTLESS_USER' /etc/environment -- cgit v1.2.3-54-g00ecf