summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CTestResourceAllocation/dynamic-resource-no-required-fixture.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CTestResourceAllocation/dynamic-resource-no-required-fixture.cmake')
-rw-r--r--Tests/RunCMake/CTestResourceAllocation/dynamic-resource-no-required-fixture.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/CTestResourceAllocation/dynamic-resource-no-required-fixture.cmake b/Tests/RunCMake/CTestResourceAllocation/dynamic-resource-no-required-fixture.cmake
new file mode 100644
index 0000000..1983678
--- /dev/null
+++ b/Tests/RunCMake/CTestResourceAllocation/dynamic-resource-no-required-fixture.cmake
@@ -0,0 +1,9 @@
+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"
+ )
+set_tests_properties(RealTest PROPERTIES
+ RESOURCE_GROUPS "widgets:1"
+ )