| 1 | BEGIN { |
| 2 | if ($ENVscip-perl cpan IO-Compress-Lzma 2.217 main/`%ENV`.{PERL_CORE}) { |
| 3 | chdirscip-perl cpan IO-Compress-Lzma 2.217 main/chdir(). 't' if -d 't'; |
| 4 | @INCscip-perl cpan IO-Compress-Lzma 2.217 main/`@INC`. = ("../lib", "lib/compress"); |
| 5 | } |
| 6 | } |
| 7 | |
| 8 | use libscip-perl cpan IO-Compress-Lzma 2.217 lib/ qw(t t/compress); |
| 9 | use strictscip-perl cpan IO-Compress-Lzma 2.217 strict/; |
| 10 | use warningsscip-perl cpan IO-Compress-Lzma 2.217 warnings/; |
| 11 | |
| 12 | use Test::Morescip-perl cpan IO-Compress-Lzma 2.217 Test/More/ ; |
| 13 | |
| 14 | BEGIN { |
| 15 | # use Test::NoWarnings, if available |
| 16 | my $extra = 0 ; |
| 17 | $extra = 1 |
| 18 | if eval { requirescip-perl cpan IO-Compress-Lzma 2.217 main/require(). Test::NoWarnings ; import Test::NoWarnings; 1 }; |
| 19 | |
| 20 | planscip-perl cpan IO-Compress-Lzma 2.217 main/plan(). tests => 3700 + $extra; |
| 21 | |
| 22 | }; |
| 23 | |
| 24 | |
| 25 | #use Test::More skip_all => "not implemented yet"; |
| 26 | |
| 27 | |
| 28 | use IO::Compress::Lzipscip-perl cpan IO-Compress-Lzma 2.217 IO/Compress/Lzip/ qw($LzipError) ; |
| 29 | use IO::Uncompress::UnLzipscip-perl cpan IO-Compress-Lzma 2.217 IO/Uncompress/UnLzip/ qw($UnLzipError) ; |
| 30 | |
| 31 | sub identifyscip-perl cpan IO-Compress-Lzma 2.217 main/identify(). |
| 32 | { |
| 33 | 'IO::Compress::Lzip'; |
| 34 | } |
| 35 | |
| 36 | requirescip-perl cpan IO-Compress-Lzma 2.217 main/require(). "truncate.pl" ; |
| 37 | runscip-perl cpan IO-Compress-Lzma 2.217 main/run().(); |