Martin Duffy
19305afd8a
presets: Improve JSON parser and error messages
2023-03-29 10:41:19 -04:00
Kyle Edwards
9270a02003
CMakePresets.json: Add outputJUnitFile to test presets schema
2022-10-18 15:41:29 -04:00
Martin Duffy
30336dab66
cmJSONHelpers: Restructure cmJSONHelpers
...
Restructure cmJSONHelpers to prevent SunPro errors when passing context.
2022-05-05 12:12:12 -04:00
Frank Winklmeier
7a8ca8f842
cmCMakePresetsGraph: do not set default value for TestOutputTruncation
...
The `TestOutputTruncation` is an optional preset. Do not set a default
value to avoid failing the JSON schema version check.
Closes issue #23411 .
2022-04-12 13:41:07 +02:00
Frank Winklmeier
140704d443
ctest: add option for output truncation
...
Add `--test-output-truncation` to `ctest`. This option can be used to
customize which part of the test output is being truncated. Currently
supported values are `tail`, `middle` and `head`.
Also add equivalent `CTEST_CUSTOM_TEST_OUTPUT_TRUNCATION` variable.
Fixes : #23206
2022-03-08 08:18:02 -05:00
Kyle Edwards
84d440caac
Refactor: Split JSON processing into configure, build, and test presets
...
Split up the file so that it won't be too big on some systems.
2022-01-06 18:52:30 -05:00