ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/t/66_ioasync_01_basic.t
(Generate patch)

Comparing AnyEvent/t/66_ioasync_01_basic.t (file contents):
Revision 1.1 by root, Thu Jun 25 11:16:08 2009 UTC vs.
Revision 1.8 by root, Fri Aug 12 18:41:29 2011 UTC

1$|=1; 1use AnyEvent;
2BEGIN { print "1..6\n" }
3 2
4use AnyEvent; 3 BEGIN { $ENV{PERL_ANYEVENT_LOOP_TESTS} or ((print qq{1..0 # SKIP PERL_ANYEVENT_LOOP_TESTS not true\n}), exit 0) }
5use AnyEvent::Impl::IOAsync; 4 BEGIN { eval q{use AnyEvent::Impl::IOAsync;1} or ((print qq{1..0 # SKIP AnyEvent::Impl::IOAsync not loadable\n}), exit 0) }
6use IO::Async::Loop; AnyEvent::Impl::IOAsync::set_loop new IO::Async::Loop; 5
6
7
8$| = 1; print "1..6\n";
7 9
8print "ok 1\n"; 10print "ok 1\n";
9 11
10my $cv = AnyEvent->condvar; 12my $cv = AnyEvent->condvar;
11 13

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines