diff options
author | CG Linden <cg@lindenlab.com> | 2009-11-25 16:59:11 -0800 |
---|---|---|
committer | CG Linden <cg@lindenlab.com> | 2009-11-25 16:59:11 -0800 |
commit | dd6cfa8f98d9a47e9a35486eb49594769363ca94 (patch) | |
tree | 7b74514c6215f1e81961b6525560e831962bed9f | |
parent | 957055396d2ffa3a76b09c60cb9c3e1f73870cbf (diff) |
Uncomment the run_build_test.py args to debug problem with coverity builds
-rw-r--r-- | indra/cmake/run_build_test.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/cmake/run_build_test.py b/indra/cmake/run_build_test.py index fff78ecbe3..0f6967e42a 100644 --- a/indra/cmake/run_build_test.py +++ b/indra/cmake/run_build_test.py @@ -64,20 +64,20 @@ def main(command, libpath=[], vars={}): # might not exist; instead of KeyError, just use an empty string. dirs = os.environ.get(var, "").split(os.pathsep) # Append the sequence in libpath -## print "%s += %r" % (var, libpath) + print "%s += %r" % (var, libpath) dirs.extend(libpath) # Now rebuild the path string. This way we use a minimum of separators # -- and we avoid adding a pointless separator when libpath is empty. os.environ[var] = os.pathsep.join(dirs) # Now handle arbitrary environment variables. The tricky part is ensuring # that all the keys and values we try to pass are actually strings. -## if vars: -## print "Setting:" -## for key, value in vars.iteritems(): -## print "%s=%s" % (key, value) + if vars: + print "Setting:" + for key, value in vars.iteritems(): + print "%s=%s" % (key, value) os.environ.update(dict([(str(key), str(value)) for key, value in vars.iteritems()])) # Run the child process. -## print "Running: %s" % " ".join(command) + print "Running: %s" % " ".join(command) return subprocess.call(command) if __name__ == "__main__": |