This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=bf0053348b1027b5e2af9ef26642f8e6180b5509

commit bf0053348b1027b5e2af9ef26642f8e6180b5509
Author: Guillem Jover <[email protected]>
AuthorDate: Wed Mar 1 03:32:20 2023 +0100

    test: Disable perlcritic checks that are not relevant
    
    Since Perl 5.14 there is no need to check the return value of an eval,
    as the involved bugs got fixed. As we require a more recent release of
    Perl to run, we can ignore these checks.
---
 t/critic/perlcriticrc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/t/critic/perlcriticrc b/t/critic/perlcriticrc
index 56c5c7b2a..3fe963794 100644
--- a/t/critic/perlcriticrc
+++ b/t/critic/perlcriticrc
@@ -58,6 +58,9 @@ allow_if_string_contains_single_quote = 1
 # BUG: Too many false positives.
 [-ControlStructures::ProhibitUnreachableCode]
 
+# Not relevant anymore, the mentioned problems were fixed in Perl 5.14.
+[-ErrorHandling::RequireCheckingReturnValueOfEval]
+
 # TODO: Check it out, add new Dpkg::Program module?
 [-InputOutput::ProhibitBacktickOperators]
 

-- 
Dpkg.Org's dpkg

Reply via email to