Skip to content

Commit

Permalink
use AUTHOR_TESTING instead of RELEASE_TESTING
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed May 14, 2024
1 parent 7a31b20 commit 8d4386c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions t/cv.t
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
#!perl -w
#!/usr/bin/perl -w

use strict;
use warnings;

use Test::Most;

if(not $ENV{RELEASE_TESTING}) {
if(!$ENV{'AUTHOR_TESTING'}) {
plan(skip_all => 'Author tests not required for installation');
}

eval "use Test::ConsistentVersion";
eval 'use Test::ConsistentVersion';

plan skip_all => "Test::ConsistentVersion required for checking versions" if $@;
plan(skip_all => 'Test::ConsistentVersion required for checking versions') if $@;

Test::ConsistentVersion::check_consistent_versions();

0 comments on commit 8d4386c

Please sign in to comment.