summaryrefslogtreecommitdiff
path: root/cpan/Compress-Raw-Zlib/t/02zlib.t
diff options
context:
space:
mode:
Diffstat (limited to 'cpan/Compress-Raw-Zlib/t/02zlib.t')
-rw-r--r--cpan/Compress-Raw-Zlib/t/02zlib.t8
1 files changed, 6 insertions, 2 deletions
diff --git a/cpan/Compress-Raw-Zlib/t/02zlib.t b/cpan/Compress-Raw-Zlib/t/02zlib.t
index f0548c912e..52ad065a6f 100644
--- a/cpan/Compress-Raw-Zlib/t/02zlib.t
+++ b/cpan/Compress-Raw-Zlib/t/02zlib.t
@@ -47,8 +47,12 @@ EOM
my $len = length $hello ;
# Check zlib_version and ZLIB_VERSION are the same.
-is Compress::Raw::Zlib::zlib_version, ZLIB_VERSION,
- "ZLIB_VERSION matches Compress::Raw::Zlib::zlib_version" ;
+SKIP: {
+ skip "TEST_SKIP_VERSION_CHECK is set", 1
+ if $ENV{TEST_SKIP_VERSION_CHECK};
+ is Compress::Raw::Zlib::zlib_version, ZLIB_VERSION,
+ "ZLIB_VERSION matches Compress::Raw::Zlib::zlib_version" ;
+}
{
title "Error Cases" ;