From 8ca035a5702dbead430139ca358302804298dfa1 Mon Sep 17 00:00:00 2001 From: Peter Opatril Date: Mon, 23 Sep 2024 23:07:40 +0200 Subject: [PATCH] fix: reflect TEST_MYSQL_DOCKER_IMAGE in extended tests --- tests/extended/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/extended/CMakeLists.txt b/tests/extended/CMakeLists.txt index 92ad428..d9d5c0d 100644 --- a/tests/extended/CMakeLists.txt +++ b/tests/extended/CMakeLists.txt @@ -6,6 +6,6 @@ target_compile_options(test_extended PRIVATE -Wno-deprecated-declarations) # TODO Remove sudo requirement add_test( NAME test_extended - COMMAND sudo ${CMAKE_CURRENT_SOURCE_DIR}/../runtest.sh + COMMAND sudo --preserve-env=TEST_MYSQL_DOCKER_IMAGE ${CMAKE_CURRENT_SOURCE_DIR}/../runtest.sh $ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/..)