WIP: example test with frame trace
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/f7c795b6 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/f7c795b6 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/f7c795b6 Branch: refs/heads/fix Commit: f7c795b6cdf36acf7d6c528b477d728bb9386327 Parents: e494040 Author: Alan Conway <[email protected]> Authored: Tue Jan 26 15:59:31 2016 -0500 Committer: Alan Conway <[email protected]> Committed: Tue Jan 26 15:59:31 2016 -0500 ---------------------------------------------------------------------- examples/cpp/engine/example_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/f7c795b6/examples/cpp/engine/example_test.py ---------------------------------------------------------------------- diff --git a/examples/cpp/engine/example_test.py b/examples/cpp/engine/example_test.py index d815bbc..7a0a523 100644 --- a/examples/cpp/engine/example_test.py +++ b/examples/cpp/engine/example_test.py @@ -29,7 +29,7 @@ from os.path import dirname as dirname from threading import Thread, Event # FIXME aconway 2016-01-26: -os.environ["PN_TRACE_FRM"] = "0" +os.environ["PN_TRACE_FRM"] = "1" class ExampleTest(unittest.TestCase): """Base class for tests that run example programs and verify their output.""" @@ -90,7 +90,7 @@ class ExampleTest(unittest.TestCase): def background(self, *args): """Run executable in the background, return the popen""" p = Popen(self.cmdline(*args), stdout=PIPE, stderr=sys.stderr) - print >>sys.stderr, "FIXME backround", args, id(p) + print >>sys.stderr, "FIXME background", args, id(p) p.args = args # Save arguments for debugging output self.procs.append(p) return p --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
