Skip to content

Commit

Permalink
Added t/prereq.t
Browse files Browse the repository at this point in the history
  • Loading branch information
Nigel Horne committed Feb 8, 2022
1 parent 2adf5d9 commit 3447db2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Makefile.PL
Expand Up @@ -34,6 +34,8 @@ WriteMakefile(
'Test::CleanNamespaces' => 0,
# 'Test::Kwalitee' => 0,
'autodie' => 0,
'strict' => 0,
'warnings' => 0,
'IPC::System::Simple' => 0,
'Test::Warn' => 0,
'Tie::Filehandle::Preempt::Stdin' => 0,
Expand Down
7 changes: 3 additions & 4 deletions t/prereq.t
@@ -1,12 +1,11 @@
#!perl -w
#!/usr/bin/env perl

use strict;

use warnings;
use Test::Most;

if($ENV{RELEASE_TESTING}) {
if($ENV{AUTHOR_TESTING}) {
eval 'use Test::Prereq';

plan(skip_all => 'Test::Prereq required to test dependencies') if $@;
prereq_ok();
} else {
Expand Down

0 comments on commit 3447db2

Please sign in to comment.