NO-JIRA: cpp: Add correct valgrind flags to example_test.py script.
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/32fa7cb0 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/32fa7cb0 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/32fa7cb0 Branch: refs/heads/go1 Commit: 32fa7cb0597af84b1843cd9bb7a6088b5d7d52d0 Parents: 1da4b12 Author: Alan Conway <[email protected]> Authored: Mon Dec 14 13:03:42 2015 -0500 Committer: Alan Conway <[email protected]> Committed: Mon Dec 14 13:03:42 2015 -0500 ---------------------------------------------------------------------- examples/cpp/example_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/32fa7cb0/examples/cpp/example_test.py ---------------------------------------------------------------------- diff --git a/examples/cpp/example_test.py b/examples/cpp/example_test.py index 3ea0c28..1f800c0 100644 --- a/examples/cpp/example_test.py +++ b/examples/cpp/example_test.py @@ -33,7 +33,8 @@ def cmdline(*args): if platform.system() == "Windows": args[0] += ".exe" if "VALGRIND" in os.environ and os.environ["VALGRIND"]: - args = [os.environ["VALGRIND"], "-q"] + args + args = [os.environ["VALGRIND"], "--error-exitcode=42", "--quiet", + "--leak-check=full"] + args return args def background(*args): --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
