[llvm-commits] [zorg] r114150 - /zorg/trunk/lnt/lnt/tests/nt.py
Daniel Dunbar
daniel at zuster.org
Thu Sep 16 19:07:51 PDT 2010
Author: ddunbar
Date: Thu Sep 16 21:07:51 2010
New Revision: 114150
URL: http://llvm.org/viewvc/llvm-project?rev=114150&view=rev
Log:
LNT/nt: Record 'as' and 'ld' versions.
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=114150&r1=114149&r2=114150&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/tests/nt.py (original)
+++ zorg/trunk/lnt/lnt/tests/nt.py Thu Sep 16 21:07:51 2010
@@ -443,6 +443,11 @@
# Create the machine entry.
machine = lnt.testing.Machine(nick, machine_info)
+ # Capture binary tool versions.
+ run_info['as_version'] = capture(["gcc", "-c", "-xassembler", "/dev/null",
+ "-Wa,-v"], include_stderr=True).strip()
+ run_info['ld_version'] = capture(["ld", "-v"], include_stderr=True).strip()
+
# FIXME: Hack, use better method of getting versions. Ideally, from binaries
# so we are more likely to be accurate.
run_info['llvm_revision'] = llvm_source_version
@@ -685,7 +690,7 @@
help="Don't automatically derive submission name",
action="store_false", default=True)
group.add_option("", "--no-machdep-info", dest="use_machdep_info",
- help=("Don't put machine (instance) dependent "
+ help=("Don't put machine (instance) dependent "
"variables with machine info"),
action="store_false", default=True)
group.add_option("", "--run-order", dest="run_order", metavar="STR",
More information about the llvm-commits
mailing list