--- AnyEvent/t/66_ioasync_07_io.t 2009/07/08 04:49:18 1.1 +++ AnyEvent/t/66_ioasync_07_io.t 2010/12/29 04:23:06 1.6 @@ -1,10 +1,8 @@ -$|=1; -BEGIN { print "1..18\n" } - use AnyEvent; use AnyEvent::Util; -use AnyEvent::Impl::IOAsync; -use IO::Async::Loop; AnyEvent::Impl::IOAsync::set_loop new IO::Async::Loop; +BEGIN { eval q{use AnyEvent::Impl::IOAsync;1} or ((print qq{1..0 # SKIP AnyEvent::Impl::IOAsync not loadable}), exit 0) } + +$| = 1; print "1..18\n"; print "ok 1\n";