summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakePresetsTest/InvalidConfigurePreset.json.in
diff options
context:
space:
mode:
authorSam Freed <safreed@microsoft.com>2021-03-15 21:45:59 (GMT)
committerSam Freed <safreed@microsoft.com>2021-03-15 21:53:00 (GMT)
commitb9eb3541cf16fd393183e077257f21061d25c521 (patch)
tree2c05396ec475d28c62d72afd80417a1686c55c57 /Tests/RunCMake/CMakePresetsTest/InvalidConfigurePreset.json.in
parent83eeeff7dc0cf5c298d8696096926c57cd6cff5e (diff)
downloadCMake-b9eb3541cf16fd393183e077257f21061d25c521.zip
CMake-b9eb3541cf16fd393183e077257f21061d25c521.tar.gz
CMake-b9eb3541cf16fd393183e077257f21061d25c521.tar.bz2
Tests: update tests to catch invalid configurePreset at read-time
Diffstat (limited to 'Tests/RunCMake/CMakePresetsTest/InvalidConfigurePreset.json.in')
-rw-r--r--Tests/RunCMake/CMakePresetsTest/InvalidConfigurePreset.json.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakePresetsTest/InvalidConfigurePreset.json.in b/Tests/RunCMake/CMakePresetsTest/InvalidConfigurePreset.json.in
new file mode 100644
index 0000000..e305c42
--- /dev/null
+++ b/Tests/RunCMake/CMakePresetsTest/InvalidConfigurePreset.json.in
@@ -0,0 +1,16 @@
+{
+ "version": 2,
+ "configurePresets": [
+ {
+ "name": "default",
+ "generator": "@RunCMake_GENERATOR@",
+ "binaryDir": "${sourceDir}/build/${presetName}"
+ }
+ ],
+ "testPresets": [
+ {
+ "name": "badConfigurePreset",
+ "configurePreset": "dne"
+ }
+ ]
+}