[Koha-bugs] [Bug 15646] koha qa test tools

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 22 21:52:27 CET 2016


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15646

M. Tompsett <mtompset at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff
           Assignee|gmcharlt at gmail.com          |mtompset at hotmail.com

--- Comment #1 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 47222
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47222&action=edit
Allow print function return value to be ignored.

TEST PLAN
---------
1) link ~/.perlcriticrc to ~/qa-test-tools/perlcriticrc
2) save simple script
--- BEGIN example.pl ---
#!/usr/bin/perl

use Modern::Perl;
our $VERSION = q{1.0};
print "Hello World!\n";
--- END example.pl ---
3) perlcritic -1 example.pl
Return value of flagged function ignored - print at line 5, column 1.  See
pages 208,278 of PBP.  (Severity: 1)
4) Apply this patch to the qa test tools
5) redo step 3
example.pl source OK

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list