Bugzilla – Attachment 160887 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), 958 bytes, created by
Kyle M Hall (khall)
on 2024-01-11 16:53:38 UTC
(
hide
)
Description:
Bug 35536: Silence tests when run from koha-qa.pl
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2024-01-11 16:53:38 UTC
Size:
958 bytes
patch
obsolete
>From 8260a1caa4be759a8b8c4a4cf1543df8a6aaa645 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 > >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> >--- > Koha/Plugins.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/Plugins.pm b/Koha/Plugins.pm >index 6379e43db07..cd089535154 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