--- AnyEvent/t/66_ioasync_05_dns.t 2010/12/29 04:23:06 1.6 +++ AnyEvent/t/66_ioasync_05_dns.t 2011/08/12 18:41:29 1.8 @@ -2,7 +2,11 @@ # not have working DNS use AnyEvent; -BEGIN { eval q{use AnyEvent::Impl::IOAsync;1} or ((print qq{1..0 # SKIP AnyEvent::Impl::IOAsync not loadable}), exit 0) } + + BEGIN { $ENV{PERL_ANYEVENT_LOOP_TESTS} or ((print qq{1..0 # SKIP PERL_ANYEVENT_LOOP_TESTS not true\n}), exit 0) } + BEGIN { eval q{use AnyEvent::Impl::IOAsync;1} or ((print qq{1..0 # SKIP AnyEvent::Impl::IOAsync not loadable\n}), exit 0) } + + use AnyEvent::DNS; $| = 1; print "1..5\n";