[LNT] r210276 - Benchmarking only mode

Yi Kong Yi.Kong at arm.com
Thu Jun 5 10:48:29 PDT 2014


Author: kongyi
Date: Thu Jun  5 12:48:29 2014
New Revision: 210276

URL: http://llvm.org/viewvc/llvm-project?rev=210276&view=rev
Log:
Benchmarking only mode

This patch enables LNT to use benchmarking only mode in test suite.

Modified:
    lnt/trunk/lnt/tests/nt.py

Modified: lnt/trunk/lnt/tests/nt.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/tests/nt.py?rev=210276&r1=210275&r2=210276&view=diff
==============================================================================
--- lnt/trunk/lnt/tests/nt.py (original)
+++ lnt/trunk/lnt/tests/nt.py Thu Jun  5 12:48:29 2014
@@ -283,6 +283,8 @@ class TestConfiguration(object):
             if self.test_small:
                 fatal('the --small and --large options are mutually exclusive')
             make_variables['LARGE_PROBLEM_SIZE'] = '1'
+        if self.test_benchmarking_only:
+            make_variables['BENCHMARKING_ONLY'] = '1'
         if self.test_integrated_as:
             make_variables['TEST_INTEGRATED_AS'] = '1'
         if self.liblto_path:
@@ -1210,6 +1212,9 @@ class NTTest(builtintest.BuiltinTest):
         group.add_option("", "--large", dest="test_large",
                          help="Use larger test inputs",
                          action="store_true", default=False)
+        group.add_option("", "--benchmarking-only", dest="test_benchmarking_only",
+                         help="Benchmarking-only mode",
+                         action="store_true", default=False)
 
         group.add_option("", "--only-test", dest="only_test", metavar="PATH",
                          help="Only run tests under PATH",





More information about the llvm-commits mailing list