diff options
| author | Jon Turney <jon.turney@dronecode.org.uk> | 2020-06-01 16:56:40 +0100 |
|---|---|---|
| committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2021-07-07 20:08:12 +0200 |
| commit | 7126fbaf81b4b77da36a6e0995f234bd293db663 (patch) | |
| tree | 4e7cfba5173a21b5eabbdda1ccca2970f7bf58d9 /data/test.schema.json | |
| parent | 1c9698b10722abf5025ed4d464a5bec60da0daa4 (diff) | |
| download | meson-7126fbaf81b4b77da36a6e0995f234bd293db663.tar.gz | |
Add `skip_on_jobname` to test.json
Plan to replace the hard-coded list of 'may be skipped' framework tests in
skippable() with annotations in test.json which record 'will be skipped
in these specific CI jobs'.
If the value of the MESON_CI_JOBNAME env var (an arbitrary string
expected to be unique for each CI configuration) contains any of the
strings in the `skip_on_jobname` key in test.json, the test is expected
to output MESON_SKIP_TEST.
Unexpected skips or runs are treated as an error.
Future work: Maybe we should add additional count categories 'unexpected
skip' and 'unexpected not skipped', rather than counting those as 'skipped'
and 'failed', respectively.
Diffstat (limited to 'data/test.schema.json')
| -rw-r--r-- | data/test.schema.json | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/data/test.schema.json b/data/test.schema.json index 00c52aef6..fc84d860f 100644 --- a/data/test.schema.json +++ b/data/test.schema.json @@ -141,6 +141,12 @@ "line" ] } + }, + "skip_on_jobname": { + "type": "array", + "items": { + "type": "string" + } } } } |
