summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CTestResourceAllocation/dynamic-resource-circular.cmake
blob: 4917e3011cd76dda1c8d08a20c3931600e528845 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
add_test(NAME RealTest COMMAND "${CMAKE_COMMAND}" -E true)
add_test(NAME GenerateSpecFile COMMAND "${CMAKE_COMMAND}" -E copy "${CTEST_DYNAMIC_RESOURCE_SPEC_FILE}" "${CMAKE_BINARY_DIR}")
set_tests_properties(GenerateSpecFile PROPERTIES
  GENERATED_RESOURCE_SPEC_FILE "${CMAKE_BINARY_DIR}/dynamic-resspec.json"
  FIXTURES_SETUP "ResourceSpec"
  FIXTURES_REQUIRED "ResourceSpec"
  RESOURCE_GROUPS "widgets:1"
  )
set_tests_properties(RealTest PROPERTIES
  FIXTURES_REQUIRED "ResourceSpec"
  RESOURCE_GROUPS "widgets:1"
  )