ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/EV/t/00_load.t
(Generate patch)

Comparing EV/t/00_load.t (file contents):
Revision 1.2 by root, Fri Oct 26 16:50:05 2007 UTC vs.
Revision 1.10 by root, Sun Nov 11 02:01:01 2007 UTC

1BEGIN { $| = 1; print "1..1\n"; } 1BEGIN { $| = 1; print "1..3\n"; }
2END {print "not ok 1\n" unless $loaded;} 2
3use EV; 3$^W = 0; # work around some bugs in perl
4$loaded = 1; 4
5print "ok 1\n"; 5print eval { require EV } ? "" : "not ", "ok 1 # $@\n";
6if ($^O eq "linux") {
7 print eval { require EV::DNS } ? "" : "not ", "ok 2 # $@\n";
8} else {
9 print "ok 2 # skipped on non-gnu/linux\n";
10}
11print eval { require EV::MakeMaker } ? "" : "not ", "ok 3 # $@\n";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines