Commit Graph

4 Commits

Author SHA1 Message Date
Christoph Reiter 0762b86e59 tests: rename skip_on_jobname to expect_skip_on_jobname and skip_on_os to expect_skip_on_os
The test.json format currently has three keys related to skipping tests:

* `skip_on_jobname`
* `skip_on_os`
* `skip_on_env`

While `skip_on_env` marks the test itself as skipped, i.e. they don't get run when the
conditions are met, the other two skip options are just marking the test as "expected to be skipped"
if the conditions apply, i.e. they want to see `MESON_SKIP_TEST` in the output and things will
fail if that doesn't happen. They don't actually skip the tests as the names imply.

To make this clearer rename the keys:

* `skip_on_jobname` -> `expect_skip_on_jobname`
* `skip_on_os` -> `expect_skip_on_os`

`skip_on_env` stays the same, since that actually skips.

The docs were also confused about this, so adjust that too.
2024-03-17 04:46:26 -04:00
Jon Turney 538b347218
Add expected skip annotations for non-linux CI runs to framework tests 2021-07-13 15:25:42 +01:00
Jon Turney 5c0cb0547b
Fix test.json for boost test to match schema
I guess the intent was that tests of thread/debug library variants only
get run with MSVC, but currently this test isn't getting run at all in
our Windows CI (since boost got removed from the VM image [1], and we
didn't notice, more on which anon).

[1] https://github.com/actions/virtual-environments/pull/2843
2021-06-24 17:07:50 +01:00
Daniel Mensinger efd4e2a15b
test: merge test_matrix.json and setup_env.json into test.json 2020-02-25 21:47:37 +01:00