diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-01-15 23:44:06 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-02-01 09:05:27 +0100 |
commit | 7a975d75cf57b0a0de3f12b9d8727394c70839d4 (patch) | |
tree | 1f091ff1c50136297840696fdf30fe2a31c4b266 /unittests/allplatformstests.py | |
parent | fc661c35a20a7cc85f76e5e0c502700f42e27cf2 (diff) | |
download | meson-7a975d75cf57b0a0de3f12b9d8727394c70839d4.zip meson-7a975d75cf57b0a0de3f12b9d8727394c70839d4.tar.gz meson-7a975d75cf57b0a0de3f12b9d8727394c70839d4.tar.bz2 |
unittests: check that "verbose: true" works on tests
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'unittests/allplatformstests.py')
-rw-r--r-- | unittests/allplatformstests.py | 7 |
1 files changed, 7 insertions, 0 deletions
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.') |