[llvm-commits] [zorg] r105217 - /zorg/trunk/lnt/lnt/tests/nt.py

Daniel Dunbar daniel at zuster.org
Mon May 31 01:21:15 PDT 2010


Author: ddunbar
Date: Mon May 31 03:21:15 2010
New Revision: 105217

URL: http://llvm.org/viewvc/llvm-project?rev=105217&view=rev
Log:
lnt runtest nt: Make sure ARCH gets reported along with the other make variables.

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=105217&r1=105216&r2=105217&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/tests/nt.py (original)
+++ zorg/trunk/lnt/lnt/tests/nt.py Mon May 31 03:21:15 2010
@@ -93,16 +93,6 @@
         test_style = 'nightly'
     make_variables['TEST'] = test_style
 
-    # Stash the variables we want to report.
-    public_make_variables = make_variables.copy()
-
-    # Set remote execution variables, if used.
-    if opts.remote:
-        make_variables['REMOTE_HOST'] = opts.remote_host
-        make_variables['REMOTE_USER'] = opts.remote_user
-        make_variables['REMOTE_PORT'] = str(opts.remote_port)
-        make_variables['REMOTE_CLIENT'] = opts.remote_client
-
     # Support disabling test suite externals separately from providing path.
     if not opts.test_externals:
         opts.test_suite_externals = '/dev/null'
@@ -146,6 +136,16 @@
         make_variables['ARCH'] = inferred_arch
     else:
         warning("unable to infer ARCH, some tests may not run correctly!")
+
+    # Stash the variables we want to report.
+    public_make_variables = make_variables.copy()
+
+    # Set remote execution variables, if used.
+    if opts.remote:
+        make_variables['REMOTE_HOST'] = opts.remote_host
+        make_variables['REMOTE_USER'] = opts.remote_user
+        make_variables['REMOTE_PORT'] = str(opts.remote_port)
+        make_variables['REMOTE_CLIENT'] = opts.remote_client
     
     nick = nick_prefix
     if opts.auto_name:





More information about the llvm-commits mailing list