From c480743a8603dd34bb8b054877ced15bc48870c1 Mon Sep 17 00:00:00 2001 From: shae-brown <77749213+shae-brown@users.noreply.github.com> Date: Tue, 14 May 2024 10:20:12 -0700 Subject: [PATCH] Add Json test file for modules (#1271) --- tests/functests/CMakeLists.txt | 3 +++ tests/functests/FuncTests.vcxproj | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/functests/CMakeLists.txt b/tests/functests/CMakeLists.txt index ba0e524e7..99b2c17e3 100644 --- a/tests/functests/CMakeLists.txt +++ b/tests/functests/CMakeLists.txt @@ -34,6 +34,9 @@ if (EXISTS ${CMAKE_SOURCE_DIR}/lib/modules/exp/tests) ${CMAKE_SOURCE_DIR}/lib/modules/exp/tests/functests/ECSClientRealworldFuncTests.cpp ${CMAKE_SOURCE_DIR}/lib/modules/exp/tests/functests/ECSConfigCacheFuncTests.cpp ) + if (EXISTS ${CMAKE_SOURCE_DIR}/lib/modules/exp/tests/functests/test.json) + file(COPY_FILE ${CMAKE_SOURCE_DIR}/lib/modules/exp/tests/functests/test.json ${CMAKE_BINARY_DIR}/test.json) + endif() endif() source_group(" " REGULAR_EXPRESSION "") diff --git a/tests/functests/FuncTests.vcxproj b/tests/functests/FuncTests.vcxproj index 79d3f97c0..d2578806f 100644 --- a/tests/functests/FuncTests.vcxproj +++ b/tests/functests/FuncTests.vcxproj @@ -461,4 +461,7 @@ - + + + + \ No newline at end of file