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.2 by root, Thu Jul 9 22:49:18 2009 UTC vs.
Revision 1.9 by root, Tue Jul 30 23:14:33 2013 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines