summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FileAPI/toolchains-v1-ClientStateful-prep.cmake
diff options
context:
space:
mode:
authorBen McMorran <bemcmorr@microsoft.com>2021-01-12 02:37:32 (GMT)
committerBen McMorran <bemcmorr@microsoft.com>2021-01-12 23:43:38 (GMT)
commit6418dabb8797a0fe64ddde2e89ae688e984f59d3 (patch)
treeb0ecf543d6b71709d3424faccbc2d415e4425ab3 /Tests/RunCMake/FileAPI/toolchains-v1-ClientStateful-prep.cmake
parent1c5bd1bed59c00ae73e2c1b364c0437e16bd5cd7 (diff)
downloadCMake-6418dabb8797a0fe64ddde2e89ae688e984f59d3.zip
CMake-6418dabb8797a0fe64ddde2e89ae688e984f59d3.tar.gz
CMake-6418dabb8797a0fe64ddde2e89ae688e984f59d3.tar.bz2
Tests: Add test for toolchains-v1 File API object
Diffstat (limited to 'Tests/RunCMake/FileAPI/toolchains-v1-ClientStateful-prep.cmake')
-rw-r--r--Tests/RunCMake/FileAPI/toolchains-v1-ClientStateful-prep.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/FileAPI/toolchains-v1-ClientStateful-prep.cmake b/Tests/RunCMake/FileAPI/toolchains-v1-ClientStateful-prep.cmake
new file mode 100644
index 0000000..ca62edf
--- /dev/null
+++ b/Tests/RunCMake/FileAPI/toolchains-v1-ClientStateful-prep.cmake
@@ -0,0 +1,4 @@
+file(REMOVE_RECURSE ${RunCMake_TEST_BINARY_DIR}/.cmake/api/v1/query)
+file(WRITE "${RunCMake_TEST_BINARY_DIR}/.cmake/api/v1/query/client-foo/query.json" [[
+{ "requests": [ { "kind": "toolchains", "version" : 1 } ] }
+]])