Bugzilla – Attachment 160807 Details for
Bug 35536
Improve removal of Koha plugins in unit tests
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35536: Silence tests when run from koha-qa.pl
Bug-35536-Silence-tests-when-run-from-koha-qapl.patch (text/plain), 875 bytes, created by
Marcel de Rooy
on 2024-01-11 08:20:41 UTC
(
hide
)
Description:
Bug 35536: Silence tests when run from koha-qa.pl
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2024-01-11 08:20:41 UTC
Size:
875 bytes
patch
obsolete
>From 13995c8a20e7682cfaeb4bfda693acccc8cf6a54 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Tue, 19 Dec 2023 14:59:36 +0000 >Subject: [PATCH] Bug 35536: Silence tests when run from koha-qa.pl >Content-Type: text/plain; charset=utf-8 > >Extending the regex in Plugins::_verbose. > >Test plan: >Run qa tools on patch set. >--- > Koha/Plugins.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/Plugins.pm b/Koha/Plugins.pm >index 6379e43db0..cd08953515 100644 >--- a/Koha/Plugins.pm >+++ b/Koha/Plugins.pm >@@ -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 >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35536
:
159804
|
159820
|
159821
|
159822
|
159823
|
159824
|
159825
|
159830
|
159839
|
159840
|
159841
|
159842
|
159843
|
159844
|
160024
|
160025
|
160026
|
160027
|
160028
|
160029
|
160030
|
160031
|
160032
|
160801
|
160802
|
160803
|
160804
|
160805
|
160806
|
160807
|
160808
|
160809
|
160817
|
160818
|
160819
|
160820
|
160821
|
160822
|
160823
|
160824
|
160825
|
160881
|
160882
|
160883
|
160884
|
160885
|
160886
|
160887
|
160888
|
160889
|
163701
|
163797