Fix setting test properties for coverage when special target name configured

This commit is contained in:
Martchus 2020-06-22 22:26:17 +02:00
parent 9d59ab5c29
commit f24f09f79a
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ if (CLANG_SOURCE_BASED_COVERAGE_AVAILABLE)
# specify where to store raw clang profiling data via environment variable
if (NOT META_TEST_TARGET_IS_MANUAL)
set_tests_properties(
${META_PROJECT_NAME}_run_tests
${META_TARGET_NAME}_run_tests
PROPERTIES ENVIRONMENT
"LLVM_PROFILE_FILE=${LLVM_PROFILE_RAW_FILE};LLVM_PROFILE_LIST_FILE=${LLVM_PROFILE_RAW_LIST_FILE}")
endif ()