Bug 1401199 - [tryselect] Pass in strict=False when generating tasks, r=dustin
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Fri, 29 Sep 2017 11:36:42 -0400
changeset 426646 f787be169098ff06ff653620cc19196082eff05b
parent 426645 a91196fe2eb34d0708b271e285f5d003d2f62c47
child 426647 ddfc127526b292037d2e3298c65afd15c37ddc91
push id97
push userfmarier@mozilla.com
push dateSat, 14 Oct 2017 01:12:59 +0000
reviewersdustin
bugs1401199
milestone58.0a1
Bug 1401199 - [tryselect] Pass in strict=False when generating tasks, r=dustin MozReview-Commit-ID: 9XWlLeGcPeQ
tools/tryselect/tasks.py
--- a/tools/tryselect/tasks.py
+++ b/tools/tryselect/tasks.py
@@ -57,17 +57,17 @@ def generate_tasks(params=None, full=Fal
         with open(cache, 'r') as fh:
             return fh.read().splitlines()
 
     if not os.path.isdir(cache_dir):
         os.makedirs(cache_dir)
 
     print("Task configuration changed, generating {}".format(attr.replace('_', ' ')))
     try:
-        params = load_parameters_file(params)
+        params = load_parameters_file(params, strict=False)
         params.check()
     except ParameterMismatch as e:
         print(PARAMETER_MISMATCH.format(e.args[0]))
         sys.exit(1)
 
     cwd = os.getcwd()
     os.chdir(build.topsrcdir)