Repository: qpid-proton Updated Branches: refs/heads/master 6aabe239d -> 546f88583
PROTON-1798: [c,cpp] don't swallow stderr in example_test.py Let stderr output go to console so output from tools like valgrind or sanitizers is not lost. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/27967793 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/27967793 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/27967793 Branch: refs/heads/master Commit: 2796779355627549072d2fcbace1fc302c25a1e4 Parents: 6aabe23 Author: Alan Conway <acon...@redhat.com> Authored: Fri Aug 31 16:18:19 2018 -0400 Committer: Alan Conway <acon...@redhat.com> Committed: Fri Aug 31 16:22:13 2018 -0400 ---------------------------------------------------------------------- c/examples/example_test.py | 3 +-- cpp/examples/example_test.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/27967793/c/examples/example_test.py ---------------------------------------------------------------------- diff --git a/c/examples/example_test.py b/c/examples/example_test.py index 2cf87d8..5d6322f 100644 --- a/c/examples/example_test.py +++ b/c/examples/example_test.py @@ -28,8 +28,7 @@ class Server(subprocess.Popen): def __init__(self, *args, **kwargs): self.kill_me = kwargs.pop('kill_me', False) kwargs.update({'universal_newlines': True, - 'stdout': subprocess.PIPE, - 'stderr': subprocess.STDOUT}) + 'stdout': subprocess.PIPE}) super(Server, self).__init__(*args, **kwargs) def __enter__(self): http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/27967793/cpp/examples/example_test.py ---------------------------------------------------------------------- diff --git a/cpp/examples/example_test.py b/cpp/examples/example_test.py index e287ba5..edcde27 100644 --- a/cpp/examples/example_test.py +++ b/cpp/examples/example_test.py @@ -31,8 +31,7 @@ class Server(subprocess.Popen): self.port = None self.kill_me = kwargs.pop('kill_me', False) kwargs.update({'universal_newlines': True, - 'stdout': subprocess.PIPE, - 'stderr': subprocess.STDOUT}) + 'stdout': subprocess.PIPE}) super(Server, self).__init__(*args, **kwargs) def __enter__(self): --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org