From e9b454f5f938251697e582152ddfeefae5070c87 Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Wed, 4 May 2011 10:49:45 -0400 Subject: Slightly improve sanity of run_build_test.py output. Flushing print buffer before running actual test executable should make it clearer which setup actions apply to which test run. --- indra/cmake/run_build_test.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra/cmake') diff --git a/indra/cmake/run_build_test.py b/indra/cmake/run_build_test.py index 320a9be8ab..ce2d1e0386 100755 --- a/indra/cmake/run_build_test.py +++ b/indra/cmake/run_build_test.py @@ -109,6 +109,8 @@ def main(command, libpath=[], vars={}): os.environ.update(dict([(str(key), str(value)) for key, value in vars.iteritems()])) # Run the child process. print "Running: %s" % " ".join(command) + # Make sure we see all relevant output *before* child-process output. + sys.stdout.flush() return subprocess.call(command) if __name__ == "__main__": -- cgit v1.2.3