[llvm-commits] [zorg] r151070 - /zorg/trunk/lnt/lnt/tests/compile.py

Daniel Dunbar daniel at zuster.org
Tue Feb 21 10:33:54 PST 2012


Author: ddunbar
Date: Tue Feb 21 12:33:54 2012
New Revision: 151070

URL: http://llvm.org/viewvc/llvm-project?rev=151070&view=rev
Log:
[lnt] lnt.tests.compile: Track xcodebuild version.

Modified:
    zorg/trunk/lnt/lnt/tests/compile.py

Modified: zorg/trunk/lnt/lnt/tests/compile.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/lnt/tests/compile.py?rev=151070&r1=151069&r2=151070&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/tests/compile.py (original)
+++ zorg/trunk/lnt/lnt/tests/compile.py Tue Feb 21 12:33:54 2012
@@ -354,6 +354,12 @@
     preprocess_cmd = 'rm -rf "%s" "%s"' % (
         build_base,
         os.path.expanduser("~/Library/Developer/Xcode/DerivedData"))
+
+    # FIXME: It might be a good idea to audit the stdout files here from the
+    # build system and check that they are "about" the same. For example, I
+    # believe an Xcode build log should always be the same size if each
+    # iterating did a clean build (even though the results might show up in a
+    # different order).
     for res in get_runN_test_data(name, variables, cmd,
                                   stdout=stdout_path, stderr=stderr_path,
                                   preprocess_cmd=preprocess_cmd):
@@ -606,7 +612,8 @@
 
         for name,cmd in (('sys_cc_version', ('/usr/bin/gcc','-v')),
                          ('sys_as_version', ('/usr/bin/as','-v','/dev/null')),
-                         ('sys_ld_version', ('/usr/bin/ld','-v'))):
+                         ('sys_ld_version', ('/usr/bin/ld','-v')),
+                         ('sys_xcodebuild', ('xcodebuild','-version'))):
             run_info[name] = commands.capture(cmd, include_stderr=True).strip()
 
         # Set command line machine and run information.





More information about the llvm-commits mailing list