diff options
| author | Simon McVittie <smcv@collabora.com> | 2020-08-05 21:08:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-05 23:08:05 +0300 |
| commit | 7db49db67d4aa7582cf46feb7157235e66aa95b1 (patch) | |
| tree | c8ed49db60f25d00f872043f7729111bdba94216 /test cases/failing test | |
| parent | d4ec080f732a36a361911c3949e5644512642852 (diff) | |
| download | meson-7db49db67d4aa7582cf46feb7157235e66aa95b1.tar.gz | |
mtest: TestResult.SKIP is not a failure (#7525)
* mtest: TestResult.SKIP is not a failure
If some but not all tests in a run were skipped, then the overall result
is given by whether there were any failures among the non-skipped tests.
Resolves: https://github.com/mesonbuild/meson/issues/7515
Signed-off-by: Simon McVittie <smcv@debian.org>
* Add test-cases for partially skipped TAP tests
issue7515.txt is the output of one of the real TAP tests in gjs, which
failed as a result of #7515. The version inline in meson.build is
a minimal reproducer.
Signed-off-by: Simon McVittie <smcv@debian.org>
Diffstat (limited to 'test cases/failing test')
| -rw-r--r-- | test cases/failing test/5 tap tests/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test cases/failing test/5 tap tests/meson.build b/test cases/failing test/5 tap tests/meson.build index 844c1f990..c49043bc6 100644 --- a/test cases/failing test/5 tap tests/meson.build +++ b/test cases/failing test/5 tap tests/meson.build @@ -4,3 +4,4 @@ tester = executable('tester', 'tester.c') test('nonzero return code', tester, args : [], protocol: 'tap') test('missing test', tester, args : ['1..1'], protocol: 'tap') test('incorrect skip', tester, args : ['1..1 # skip\nok 1'], protocol: 'tap') +test('partially skipped', tester, args : ['not ok 1\nok 2 # skip'], protocol: 'tap') |
