From 8b39958410de63125fe2f2145e7b817e95288ce6 Mon Sep 17 00:00:00 2001 From: ekoby Date: Mon, 8 Jul 2024 16:24:21 -0400 Subject: [PATCH] debug integ-test --- .github/actions/build/action.yml | 2 ++ tests/integ/CMakeLists.txt | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index 02fd3f23..ab470a27 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -62,6 +62,8 @@ runs: ZITI_LOG: "4" if: inputs.test == 'true' working-directory: ./build + continue-on-error: true shell: bash run: | ctest -VV --no-compress-output -C ${{ inputs.config }} -R quickstart-test + diff --git a/tests/integ/CMakeLists.txt b/tests/integ/CMakeLists.txt index 7316fd49..92841b37 100644 --- a/tests/integ/CMakeLists.txt +++ b/tests/integ/CMakeLists.txt @@ -49,6 +49,8 @@ add_custom_target(ziti-cli ALL ) add_custom_target(cleanup-qs + COMMAND cat -n /etc/hosts + COMMAND cat -n ${qs_home}/ctrl.yaml COMMAND ${CMAKE_COMMAND} -E remove_directory "${qs_home}" ) @@ -88,7 +90,7 @@ set_tests_properties(quickstart-test PROPERTIES ) add_test(NAME quickstart-cleanup - COMMAND rm -rf ${qs_home} + COMMAND ${CMAKE_COMMAND} --build ${CMAKE_BINARY_DIR} --target cleanup-qs WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ) set_tests_properties(quickstart-cleanup PROPERTIES