Loading tools/tryselect/test/test_fuzzy.t +4 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ Test fuzzy selector "test/foo-opt" ] } $ ./mach try fuzzy $testargs -q "'bar" no tasks selected $ ./mach try fuzzy $testargs --full -q "'bar" Loading @@ -22,6 +23,7 @@ Test fuzzy selector ] } Test templates $ ./mach try fuzzy --no-push --artifact -q "'foo" Loading @@ -37,6 +39,7 @@ Test templates "test/foo-opt" ] } $ ./mach try fuzzy $testargs --env FOO=1 --env BAR=baz -q "'foo" Calculated try selector: { Loading @@ -51,3 +54,4 @@ Test templates "test/foo-opt" ] } tools/tryselect/test/test_preset.t +3 −0 Original line number Diff line number Diff line Loading @@ -42,6 +42,7 @@ Test preset with fuzzy subcommand "build-baz" ] } $ ./mach try fuzzy $testargs --preset baz Calculated try selector: { Loading @@ -49,6 +50,7 @@ Test preset with fuzzy subcommand "build-baz" ] } $ ./mach try $testargs --preset baz Calculated try selector: { Loading @@ -56,5 +58,6 @@ Test preset with fuzzy subcommand "build-baz" ] } $ ./mach try fuzzy $testargs --list-presets baz: 'baz tools/tryselect/vcs.py +1 −0 Original line number Diff line number Diff line Loading @@ -86,6 +86,7 @@ class VCSHelper(object): try_task_config['templates'] = templates json.dump(try_task_config, fh, indent=2, separators=(',', ':')) fh.write('\n') return config def check_working_directory(self, push=True): Loading Loading
tools/tryselect/test/test_fuzzy.t +4 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ Test fuzzy selector "test/foo-opt" ] } $ ./mach try fuzzy $testargs -q "'bar" no tasks selected $ ./mach try fuzzy $testargs --full -q "'bar" Loading @@ -22,6 +23,7 @@ Test fuzzy selector ] } Test templates $ ./mach try fuzzy --no-push --artifact -q "'foo" Loading @@ -37,6 +39,7 @@ Test templates "test/foo-opt" ] } $ ./mach try fuzzy $testargs --env FOO=1 --env BAR=baz -q "'foo" Calculated try selector: { Loading @@ -51,3 +54,4 @@ Test templates "test/foo-opt" ] }
tools/tryselect/test/test_preset.t +3 −0 Original line number Diff line number Diff line Loading @@ -42,6 +42,7 @@ Test preset with fuzzy subcommand "build-baz" ] } $ ./mach try fuzzy $testargs --preset baz Calculated try selector: { Loading @@ -49,6 +50,7 @@ Test preset with fuzzy subcommand "build-baz" ] } $ ./mach try $testargs --preset baz Calculated try selector: { Loading @@ -56,5 +58,6 @@ Test preset with fuzzy subcommand "build-baz" ] } $ ./mach try fuzzy $testargs --list-presets baz: 'baz
tools/tryselect/vcs.py +1 −0 Original line number Diff line number Diff line Loading @@ -86,6 +86,7 @@ class VCSHelper(object): try_task_config['templates'] = templates json.dump(try_task_config, fh, indent=2, separators=(',', ':')) fh.write('\n') return config def check_working_directory(self, push=True): Loading