aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test cases/common/206 tap tests/meson.build2
-rw-r--r--unittests/allplatformstests.py7
2 files changed, 8 insertions, 1 deletions
diff --git a/test cases/common/206 tap tests/meson.build b/test cases/common/206 tap tests/meson.build
index 5221319..54f4e41 100644
--- a/test cases/common/206 tap tests/meson.build
+++ b/test cases/common/206 tap tests/meson.build
@@ -7,7 +7,7 @@ test('fail', tester, args : ['not ok'], should_fail: true, protocol: 'tap')
test('xfail', tester, args : ['not ok # todo'], protocol: 'tap')
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', tester, args : ['ok 1\nok 2 # skip'], suite: ['verbose'], protocol: 'tap', verbose: true)
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')
diff --git a/unittests/allplatformstests.py b/unittests/allplatformstests.py
index 4a7fbb5..0b86690 100644
--- a/unittests/allplatformstests.py
+++ b/unittests/allplatformstests.py
@@ -570,6 +570,13 @@ class AllPlatformTests(BasePlatformTests):
self.build()
self._run(self.mtest_command + ['--repeat=2'])
+ def test_verbose(self):
+ testdir = os.path.join(self.common_test_dir, '206 tap tests')
+ self.init(testdir)
+ self.build()
+ out = self._run(self.mtest_command + ['--suite', 'verbose'])
+ self.assertIn('1/1 subtest 1', out)
+
def test_testsetups(self):
if not shutil.which('valgrind'):
raise SkipTest('Valgrind not installed.')