diff options
author | Sam Freed <safreed@microsoft.com> | 2021-03-15 21:45:59 (GMT) |
---|---|---|
committer | Sam Freed <safreed@microsoft.com> | 2021-03-15 21:53:00 (GMT) |
commit | b9eb3541cf16fd393183e077257f21061d25c521 (patch) | |
tree | 2c05396ec475d28c62d72afd80417a1686c55c57 /Tests/RunCMake/CMakePresetsTest/InvalidConfigurePreset.json.in | |
parent | 83eeeff7dc0cf5c298d8696096926c57cd6cff5e (diff) | |
download | CMake-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.in | 16 |
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" + } + ] +} |