Bug 35536: Silence tests when run from koha-qa.pl
Extending the regex in Plugins::_verbose.
Test plan:
Run qa tools on patch set.
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 9b9ae27a0e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
b00f04a760
commit
b50ceefdd2
|
|
@ -148,7 +148,7 @@ sub get_enabled_plugins {
|
|||
sub _verbose {
|
||||
my $class = shift;
|
||||
# Return false when running unit tests
|
||||
return exists $ENV{_} && $ENV{_} =~ /\/prove(\s|$)|\.t$/ ? 0 : 1;
|
||||
return exists $ENV{_} && $ENV{_} =~ /\/prove(\s|$)|\/koha-qa\.pl$|\.t$/ ? 0 : 1;
|
||||
}
|
||||
|
||||
=head2 feature_enabled
|
||||
|
|
|
|||
Loading…
Reference in New Issue