[llvm-commits] [zorg] r130146 - /zorg/trunk/lnt/lnt/tests/nt.py
Daniel Dunbar
daniel at zuster.org
Mon Apr 25 13:06:27 PDT 2011
Author: ddunbar
Date: Mon Apr 25 15:06:27 2011
New Revision: 130146
URL: http://llvm.org/viewvc/llvm-project?rev=130146&view=rev
Log:
LNT/nt: When building test tools, make sure to pass the same make args as we use
when testing.
Modified:
zorg/trunk/lnt/lnt/tests/nt.py
Modified: zorg/trunk/lnt/lnt/tests/nt.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/lnt/tests/nt.py?rev=130146&r1=130145&r2=130146&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/tests/nt.py (original)
+++ zorg/trunk/lnt/lnt/tests/nt.py Mon Apr 25 15:06:27 2011
@@ -300,8 +300,13 @@
if opts.without_llvm:
print >>sys.stderr, '%s: building test-suite tools' % (timestamp(),)
args = ['make', 'tools']
+ args.extend('%s=%s' % (k,v) for k,v in make_variables.items())
build_tools_log_path = os.path.join(basedir, 'build-tools.log')
build_tools_log = open(build_tools_log_path, 'w')
+ print >>build_tools_log, '%s: running: %s' % (timestamp(),
+ ' '.join('"%s"' % a
+ for a in args))
+ build_tools_log.flush()
p = subprocess.Popen(args=args, stdin=None, stdout=build_tools_log,
stderr=subprocess.STDOUT, cwd=basedir,
env=os.environ)
More information about the llvm-commits
mailing list