diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2011-05-04 10:49:45 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2011-05-04 10:49:45 -0400 |
commit | e9b454f5f938251697e582152ddfeefae5070c87 (patch) | |
tree | ec4905d6d4f6fe949a5a824813b66de1a60dc526 /indra | |
parent | 88155917e6b2cec1714adc3156cb75409fdd2e38 (diff) |
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.
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/cmake/run_build_test.py | 2 |
1 files changed, 2 insertions, 0 deletions
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__": |