From: Carl Worth Date: Sat, 11 Aug 2012 18:28:59 +0000 (-0700) Subject: Print commands to be executed by cli_driver.py X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=commitdiff_plain;h=39e433e9d73c16c862ac759e36260398cf71424d Print commands to be executed by cli_driver.py These aren't made visible unless CTEST_OUTPUT_ON_FAILURE in set, and in that case it's quite convenient to see what the test was doing when it failed. --- diff --git a/cli_driver.py b/cli_driver.py index 53bd100..d4d277d 100644 --- a/cli_driver.py +++ b/cli_driver.py @@ -33,6 +33,7 @@ class CliDriver(Driver): def do_apitrace(self, args): cmd = [self.options.apitrace] + args[1:] + print " ".join(cmd) proc = subprocess.Popen(cmd, stdout = subprocess.PIPE) self.output = proc.communicate()[0]