  $ . $TESTDIR/setup.sh
  $ cd $topsrcdir

Test fuzzy selector

  $ ./mach try fuzzy $testargs -q "'foo"
  Commit message:
  Fuzzy with query: 'foo
  
  Pushed via `mach try fuzzy`
  Calculated try_task_config.json:
  {
    "tasks":[
      "test/foo-debug",
      "test/foo-opt"
    ]
  }
  
  $ ./mach try fuzzy $testargs -q "'bar"
  no tasks selected
  $ ./mach try fuzzy $testargs --full -q "'bar"
  Commit message:
  Fuzzy with query: 'bar
  
  Pushed via `mach try fuzzy`
  Calculated try_task_config.json:
  {
    "tasks":[
      "test/bar-debug",
      "test/bar-opt"
    ]
  }
  

Test templates

  $ ./mach try fuzzy --no-push --artifact -q "'foo"
  Commit message:
  Fuzzy with query: 'foo
  
  Pushed via `mach try fuzzy`
  Calculated try_task_config.json:
  {
    "templates":{
      "artifact":{
        "enabled":"1"
      }
    },
    "tasks":[
      "test/foo-debug",
      "test/foo-opt"
    ]
  }
  
  $ ./mach try fuzzy $testargs --env FOO=1 --env BAR=baz -q "'foo"
  Commit message:
  Fuzzy with query: 'foo
  
  Pushed via `mach try fuzzy`
  Calculated try_task_config.json:
  {
    "templates":{
      "env":{
        "FOO":"1",
        "BAR":"baz"
      }
    },
    "tasks":[
      "test/foo-debug",
      "test/foo-opt"
    ]
  }
  
