[llvm-commits] [LNT] r165407 - /lnt/trunk/lnt/tests/nt.py
Jakob Stoklund Olesen
stoklund at 2pi.dk
Mon Oct 8 10:24:54 PDT 2012
Author: stoklund
Date: Mon Oct 8 12:24:54 2012
New Revision: 165407
URL: http://llvm.org/viewvc/llvm-project?rev=165407&view=rev
Log:
Add a --large option to lnt which enables LARGE_PROBLEM_SIZE.
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=165407&r1=165406&r2=165407&view=diff
==============================================================================
--- lnt/trunk/lnt/tests/nt.py (original)
+++ lnt/trunk/lnt/tests/nt.py Mon Oct 8 12:24:54 2012
@@ -483,6 +483,10 @@
make_variables['ENABLE_LLCBETA'] = '1'
if opts.test_small:
make_variables['SMALL_PROBLEM_SIZE'] = '1'
+ if opts.test_large:
+ if opts.test_small:
+ fatal('the --small and --large options are mutually exclusive')
+ make_variables['LARGE_PROBLEM_SIZE'] = '1'
if opts.test_integrated_as:
make_variables['TEST_INTEGRATED_AS'] = '1'
if opts.liblto_path:
@@ -1053,6 +1057,9 @@
group.add_option("", "--small", dest="test_small",
help="Use smaller test inputs and disable large tests",
action="store_true", default=False)
+ group.add_option("", "--large", dest="test_large",
+ help="Use larger test inputs",
+ 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