[LNT] r308862 - Also make --commit a flag for 'lnt runtest nt'
Tobias Grosser via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 23 23:16:57 PDT 2017
Author: grosser
Date: Sun Jul 23 23:16:57 2017
New Revision: 308862
URL: http://llvm.org/viewvc/llvm-project?rev=308862&view=rev
Log:
Also make --commit a flag for 'lnt runtest nt'
This was missed in r308256 and broke some buildbots.
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=308862&r1=308861&r2=308862&view=diff
==============================================================================
--- lnt/trunk/lnt/tests/nt.py (original)
+++ lnt/trunk/lnt/tests/nt.py Sun Jul 23 23:16:57 2017
@@ -1983,9 +1983,9 @@ def _tools_check():
help=("autosubmit the test result to the given server"
" (or local instance)"),
type=click.UNPROCESSED, default=[], multiple=True)
- at click.option("--commit", "commit",
+ at click.option("--commit", "commit", is_flag=True,
help="whether the autosubmit result should be committed",
- type=int, default=True)
+ default=True)
@click.option("--output", "output", metavar="PATH",
help="write raw report data to PATH (or stdout if '-')",
default=None)
More information about the llvm-commits
mailing list