Bug 1279676: use --rebuild instead of --trigger-tests; r?armenzg
MozReview-Commit-ID: F7jc7AG0SCr
--- a/taskcluster/taskgraph/try_option_syntax.py
+++ b/taskcluster/taskgraph/try_option_syntax.py
@@ -150,17 +150,17 @@ class TryOptionSyntax(object):
names.
The resulting object has attributes:
- build_types: a list containing zero or more of 'opt' and 'debug'
- platforms: a list of selected platform names, or None for all
- unittests: a list of tests, of the form given below, or None for all
- jobs: a list of requested job names, or None for all
- - trigger_tests: the number of times tests should be triggered
+ - trigger_tests: the number of times tests should be triggered (--rebuild)
- interactive; true if --interactive
Note that -t is currently completely ignored.
The unittests and talos lists contain dictionaries of the form:
{
'test': '<suite name>',
@@ -194,17 +194,17 @@ class TryOptionSyntax(object):
dest='platforms', const='all', default='all')
parser.add_argument('-u', '--unittests', nargs='?',
dest='unittests', const='all', default='all')
parser.add_argument('-t', '--talos', nargs='?', dest='talos', const='all', default='all')
parser.add_argument('-i', '--interactive',
dest='interactive', action='store_true', default=False)
parser.add_argument('-j', '--job', dest='jobs', action='append')
# In order to run test jobs multiple times
- parser.add_argument('--trigger-tests', dest='trigger_tests', type=int, default=1)
+ parser.add_argument('--rebuild', dest='trigger_tests', type=int, default=1)
args, _ = parser.parse_known_args(parts[try_idx:])
self.jobs = self.parse_jobs(args.jobs)
self.build_types = self.parse_build_types(args.build_types)
self.platforms = self.parse_platforms(args.platforms)
self.unittests = self.parse_test_option(
"unittest_try_name", args.unittests, full_task_graph)
self.talos = self.parse_test_option("talos_try_name", args.talos, full_task_graph)