• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1set(BUILD_DIR "@CMAKE_BINARY_DIR@")
2set(ALL_TESTS "@LIST_OF_TESTS@")
3
4set(envs
5    "PATH=path_list_prepend:${BUILD_DIR}/lib64/gles_swiftshader"
6    "PATH=path_list_prepend:${BUILD_DIR}/lib64/vulkan"
7    "VK_ICD_FILENAMES=set:${BUILD_DIR}/lib64/vulkan/vk_swiftshader_icd.json"
8)
9
10foreach(test_target ${ALL_TESTS})
11    set_tests_properties(${${test_target}_TESTS}
12        PROPERTIES ENVIRONMENT_MODIFICATION "${envs}"
13    )
14endforeach()
15