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.11 by root, Wed Dec 5 13:54:37 2007 UTC vs.
Revision 1.13 by root, Thu Oct 21 15:13:42 2010 UTC

1BEGIN { $| = 1; print "1..2\n"; } 1BEGIN { $| = 1; print "1..5\n"; }
2 2
3BEGIN {
3$^W = 0; # work around some bugs in perl 4 $^W = 0; # work around some bugs in perl
4 5
5print eval { require EV } ? "" : "not ", "ok 1 # $@\n"; 6 print eval { require EV } ? "" : "not ", "ok 1 # $@\n";
6print eval { require EV::MakeMaker } ? "" : "not ", "ok 2 # $@\n"; 7 print eval { require EV::MakeMaker } ? "" : "not ", "ok 2 # $@\n";
8}
9
10my $w = EV::idle sub { print "not ok 3\n"; $_[0]->stop };
11$w->feed_event (EV::CUSTOM);
12$w->stop;
13EV::run;
14print "ok 3\n";
15
16my $w = EV::idle sub { print "ok 4\n"; $_[0]->stop };
17$w->feed_event (EV::CUSTOM);
18$w->clear_pending;
19EV::loop;
20print "ok 5\n";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines