diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2020-10-18 19:29:36 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-10-18 19:29:36 +0300 |
commit | beb94addde2da1318da3fe3ec56b9984f1d377cf (patch) | |
tree | 68cc70832c5b0d9b14fd6296e2b6ca6474a96451 | |
parent | 021d242f9ce8e6cd804af0c1eb4179b8c83fd470 (diff) | |
download | meson-silencing.tar.gz |
Remove a status message that leaks to stdout.silencing
-rwxr-xr-x | run_unittests.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py index 03cd82b83..7638ad3db 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -3376,7 +3376,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'], |