Bugzilla – Attachment 153589 Details for
Bug 34303
t/00-testcritic.t should only test files part of git repo
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34303: Only perlcritic files from git repo
Bug-34303-Only-perlcritic-files-from-git-repo.patch (text/plain), 801 bytes, created by
Marcel de Rooy
on 2023-07-18 11:58:48 UTC
(
hide
)
Description:
Bug 34303: Only perlcritic files from git repo
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-07-18 11:58:48 UTC
Size:
801 bytes
patch
obsolete
>From 661d6b0a2d9e3f2cedf35328fd4652b10c6d36b2 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Tue, 18 Jul 2023 10:59:33 +0000 >Subject: [PATCH] Bug 34303: Only perlcritic files from git repo >Content-Type: text/plain; charset=utf-8 > >Test plan: >Run t/00-testcritic.t > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > t/00-testcritic.t | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/t/00-testcritic.t b/t/00-testcritic.t >index cd3a7af71b..64530b87e5 100755 >--- a/t/00-testcritic.t >+++ b/t/00-testcritic.t >@@ -14,4 +14,5 @@ if ( $EVAL_ERROR ) { > } > > Test::Perl::Critic->import( -profile => '.perlcriticrc'); >-all_critic_ok('.'); >+my @dirs = map { chomp; $_ } `git ls-tree -d --name-only master`; >+all_critic_ok(@dirs) if @dirs; >-- >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 34303
:
153588
|
153589
|
153590
|
153591
|
153592
|
153596