1 | # we avoid complicated tests here because some systems will |
1 | # we avoid complicated tests here because some systems will |
2 | # not have working DNS |
2 | # not have working DNS |
3 | |
3 | |
4 | use AnyEvent; |
4 | use AnyEvent; |
5 | |
5 | |
|
|
6 | BEGIN { $^W = 0 } |
6 | BEGIN { $ENV{PERL_ANYEVENT_LOOP_TESTS} or ((print qq{1..0 # SKIP PERL_ANYEVENT_LOOP_TESTS not true\n}), exit 0) } |
7 | BEGIN { $ENV{PERL_ANYEVENT_LOOP_TESTS} or ((print qq{1..0 # SKIP PERL_ANYEVENT_LOOP_TESTS not true\n}), exit 0) } |
7 | BEGIN { eval q{use AnyEvent::Impl::IOAsync;1} or ((print qq{1..0 # SKIP AnyEvent::Impl::IOAsync not loadable\n}), exit 0) } |
8 | BEGIN { eval q{use AnyEvent::Impl::IOAsync;1} or ((print qq{1..0 # SKIP AnyEvent::Impl::IOAsync not loadable\n}), exit 0) } |
8 | |
9 | |
9 | |
10 | |
10 | use AnyEvent::DNS; |
11 | use AnyEvent::DNS; |