aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2020-10-18 19:29:36 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2020-10-19 00:04:38 +0300
commit0f4f0acaffab21574d2b2667ccf078dc0996fac5 (patch)
treefa9f527e188aebf90d790a914fed581a986fb213 /run_unittests.py
parent64f8479097fa04c1b9e16646d203b78a43dbfd6b (diff)
downloadmeson-0f4f0acaffab21574d2b2667ccf078dc0996fac5.zip
meson-0f4f0acaffab21574d2b2667ccf078dc0996fac5.tar.gz
meson-0f4f0acaffab21574d2b2667ccf078dc0996fac5.tar.bz2
Remove a status message that leaks to stdout.
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 37b50c3..c7c6ba2 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -3388,7 +3388,9 @@ int main(int argc, char **argv) {
s3dir = os.path.join(spdir, 's3')
scommondir = os.path.join(spdir, 'scommon')
self.assertFalse(os.path.isdir(s3dir))
- subprocess.check_call(self.wrap_command + ['promote', 's3'], cwd=workdir)
+ subprocess.check_call(self.wrap_command + ['promote', 's3'],
+ cwd=workdir,
+ stdout=subprocess.DEVNULL)
self.assertTrue(os.path.isdir(s3dir))
self.assertFalse(os.path.isdir(scommondir))
self.assertNotEqual(subprocess.call(self.wrap_command + ['promote', 'scommon'],