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

Daniel Dunbar daniel at zuster.org
Tue May 4 19:00:22 PDT 2010


Author: ddunbar
Date: Tue May  4 21:00:21 2010
New Revision: 103068

URL: http://llvm.org/viewvc/llvm-project?rev=103068&view=rev
Log:
LNT/nt: Add --enable-integrated-as and --disable-externals.

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=103068&r1=103067&r2=103068&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/tests/nt.py (original)
+++ zorg/trunk/lnt/lnt/tests/nt.py Tue May  4 21:00:21 2010
@@ -64,6 +64,8 @@
         make_variables['ENABLE_LLCBETA'] = '1'
     if opts.test_small:
         make_variables['SMALL_PROBLEM_SIZE'] = '1'
+    if opts.test_integrated_as:
+        make_variables['TEST_INTEGRATED_AS'] = '1'
 
     if opts.threads > 1:
         make_variables['ENABLE_PARALLEL_REPORT'] = '1'
@@ -82,6 +84,10 @@
         # only used by a few tests.
         make_variables['TARGET_ARCH'] = 'ARM'
 
+    # Support disabling test suite externals separately from providing path.
+    if not opts.test_externals:
+        opts.test_suite_externals = '/dev/null'
+
     # Get compiler info.
     cc_info = lnt.testing.util.compilers.get_cc_info(opts.cc_under_test,
                                                      target_flags)
@@ -435,6 +441,12 @@
         group.add_option("", "--enable-cbe", dest="test_cbe",
                          help="Enable CBE tests",
                          action="store_true", default=False)
+        group.add_option("", "--disable-externals", dest="test_externals",
+                         help="Disable test suite externals (if configured)",
+                         action="store_false", default=True)
+        group.add_option("", "--enable-integrated-as",dest="test_integrated_as",
+                         help="Enable TEST_INTEGRATED_AS tests",
+                         action="store_true", default=False)
         group.add_option("", "--enable-jit", dest="test_jit",
                          help="Enable JIT tests",
                          action="store_true", default=False)





More information about the llvm-commits mailing list