diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-10-13 19:23:46 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-10-13 19:23:46 +0100 |
commit | fbe159d78ce133cadf79645660f49ddf7bfbc569 (patch) | |
tree | 092cd7bbd7b39f141560e0c13580d157cb27f7df /perllib/FixMyStreet/TestAppProve.pm | |
parent | 8ab9812e6cd5f686f7ab4d9a9859e8be4456ccd0 (diff) | |
parent | a5ef113e2cc3105da41cf5449b505db6fa336c59 (diff) |
Merge branch 'issues/forcouncils/95-multi-select-list-filters'
Diffstat (limited to 'perllib/FixMyStreet/TestAppProve.pm')
-rw-r--r-- | perllib/FixMyStreet/TestAppProve.pm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/perllib/FixMyStreet/TestAppProve.pm b/perllib/FixMyStreet/TestAppProve.pm index f2584fc33..5298d225f 100644 --- a/perllib/FixMyStreet/TestAppProve.pm +++ b/perllib/FixMyStreet/TestAppProve.pm @@ -91,11 +91,11 @@ sub run { local $ENV{FMS_OVERRIDE_CONFIG} = $config_out; - if (@ARGV and -e $ARGV[-1]) { - unshift @ARGV, '--verbose' - if -f $ARGV[-1]; - # verbose if we have a single file - } + # If no arguments, test everything + unshift @ARGV, 't' unless @ARGV; + + # verbose if we have a single file + unshift @ARGV, '--verbose' if @ARGV and -f $ARGV[-1]; unshift @ARGV, '--recurse', # we always want to recurse |