aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perllib/FixMyStreet/TestAppProve.pm10
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