diff options
author | M Somerville <matthew-github@dracos.co.uk> | 2020-10-13 14:13:04 +0100 |
---|---|---|
committer | M Somerville <matthew-github@dracos.co.uk> | 2020-10-14 11:55:04 +0100 |
commit | 8bc63484571af04f98c60817fbef4721577d7c23 (patch) | |
tree | 4131219690f5f2af818de64f5a5620b06066c27a /perllib | |
parent | c419e88385f287f6f593f28a0ec0e8a9ae8b0bd4 (diff) |
Do not test all of t if a state is provided.
Otherwise running with --state=failed does not do as you would expect.
Diffstat (limited to 'perllib')
-rw-r--r-- | perllib/FixMyStreet/TestAppProve.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/TestAppProve.pm b/perllib/FixMyStreet/TestAppProve.pm index ec245e72c..d977c0a94 100644 --- a/perllib/FixMyStreet/TestAppProve.pm +++ b/perllib/FixMyStreet/TestAppProve.pm @@ -111,7 +111,7 @@ sub run { $prove->process_args(@ARGV); # If no arguments, test everything - $prove->argv(['t']) unless @{$prove->argv}; + $prove->argv(['t']) unless @{$prove->argv} || @state; # verbose if we have a single file $prove->verbose(1) if @{$prove->argv} and -f $prove->argv->[-1] && !$ENV{CI}; # we always want to recurse |