--- AnyEvent/t/63_eventlib_04_condvar.t 2009/07/08 05:50:09 1.1 +++ AnyEvent/t/63_eventlib_04_condvar.t 2009/07/18 00:05:29 1.2 @@ -1,10 +1,7 @@ -$|=1; -BEGIN { - print "1..21\n" -} - use AnyEvent; -use AnyEvent::Impl::EventLib; +BEGIN { eval q{use AnyEvent::Impl::EventLib;1} or ((print qq{1..0 # SKIP AnyEvent::Impl::EventLib not found}), exit 0) } + +$| = 1; print "1..21\n"; print "ok 1\n";