[llvm-commits] [LNT] r165407 - /lnt/trunk/lnt/tests/nt.py
Daniel Dunbar
daniel at zuster.org
Mon Oct 8 15:39:46 PDT 2012
Passing --large and --small together should probably be an error.
- Daniel
On Mon, Oct 8, 2012 at 10:24 AM, Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote:
> 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",
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list