We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a2ada74 + a884f1a commit 29ca32eCopy full SHA for 29ca32e
UNITTESTS/CMakeLists.txt
@@ -152,7 +152,7 @@ set(TEST_SUITES)
152
153
# Get all matched tests.
154
file(GLOB_RECURSE unittest-file-list
155
- "unittest.cmake"
+ "../unittest.cmake" # matches any ../**/unittest.cmake
156
)
157
158
if ("${unittest-file-list}" STREQUAL "")
@@ -178,7 +178,7 @@ foreach(testfile ${unittest-file-list})
178
179
file(RELATIVE_PATH
180
TEST_SUITE_NAME # output
181
- ${PROJECT_SOURCE_DIR} # root
+ "${PROJECT_SOURCE_DIR}/.." # root
182
${TEST_SUITE_DIR} #abs dirpath
183
184
0 commit comments