[Lldb-commits] [lldb] r191714 - Enabling 32-bit tests for clang on Linux by default (ie. for the buildbot.).

Matt Kopec Matt.Kopec at intel.com
Mon Sep 30 16:33:43 PDT 2013


Author: mkopec
Date: Mon Sep 30 18:33:43 2013
New Revision: 191714

URL: http://llvm.org/viewvc/llvm-project?rev=191714&view=rev
Log:
Enabling 32-bit tests for clang on Linux by default (ie. for the buildbot.).

Modified:
    lldb/trunk/test/dotest.py

Modified: lldb/trunk/test/dotest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/dotest.py?rev=191714&r1=191713&r2=191714&view=diff
==============================================================================
--- lldb/trunk/test/dotest.py (original)
+++ lldb/trunk/test/dotest.py Mon Sep 30 18:33:43 2013
@@ -507,10 +507,15 @@ def parseOptionsAndInitTestdirs():
     if args.h:
         do_help = True
 
+    if args.compilers:
+        compilers = args.compilers
+    else:
+        compilers = ['clang']
+
     if args.archs:
         archs = args.archs
     else:
-        if platform_system == 'Darwin' and platform_machine == 'x86_64':
+        if (platform_system == 'Darwin' or (platform_system == 'Linux' and compilers == ['clang'])) and platform_machine == 'x86_64':
             archs = ['x86_64', 'i386']
         else:
             archs = [platform_machine]
@@ -524,11 +529,6 @@ def parseOptionsAndInitTestdirs():
     if args.skipCategories:
         skipCategories = validate_categories(args.skipCategories)
 
-    if args.compilers:
-        compilers = args.compilers
-    else:
-        compilers = ['clang']
-
     if args.D:
         dumpSysPath = True
 





More information about the lldb-commits mailing list