aboutsummaryrefslogtreecommitdiff
path: root/test cases/common
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2020-08-08 00:26:11 +0400
committerJussi Pakkanen <jpakkane@gmail.com>2020-08-08 01:25:05 +0300
commit8e98819b0699d3277197148dc7bcc2c2c7e528b6 (patch)
tree1b33bd25292b2be2369c2a9202c94a44153cf156 /test cases/common
parenta65ef70b7deac0115895278e3965e12bdf429182 (diff)
downloadmeson-8e98819b0699d3277197148dc7bcc2c2c7e528b6.zip
meson-8e98819b0699d3277197148dc7bcc2c2c7e528b6.tar.gz
meson-8e98819b0699d3277197148dc7bcc2c2c7e528b6.tar.bz2
mtest: fix skipping with various prefixes
According to the specification: https://testanything.org/tap-specification.html#skipping-tests The harness should report the text after # SKIP\S*\s+ as a reason for skipping. (it's not exactly like the TODO directive, the phrasing/presentation of the spec could be improved).
Diffstat (limited to 'test cases/common')
-rw-r--r--test cases/common/213 tap tests/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/test cases/common/213 tap tests/meson.build b/test cases/common/213 tap tests/meson.build
index c762c73..5221319 100644
--- a/test cases/common/213 tap tests/meson.build
+++ b/test cases/common/213 tap tests/meson.build
@@ -9,5 +9,6 @@ test('xpass', tester, args : ['ok # todo'], should_fail: true, protocol: 'tap')
test('skip', tester, args : ['ok # skip'], protocol: 'tap')
test('partially skipped', tester, args : ['ok 1\nok 2 # skip'], protocol: 'tap')
test('partially skipped (real-world example)', cat, args : [files('issue7515.txt')], protocol: 'tap')
+test('skip comment', tester, args : ['ok # Skipped: with a comment'], protocol: 'tap')
test('skip failure', tester, args : ['not ok # skip'], should_fail: true, protocol: 'tap')
test('no tests', tester, args : ['1..0 # skip'], protocol: 'tap')