| 1 | =for poe_tests | ||
| 2 | BEGIN { $ENV{LIBEV_FLAGS} = 1; } | ||
| 3 | sub skip_tests { | ||
| 4 | return "Author and automated testing only" | ||
| 5 | unless $ENV{AUTHOR_TESTING} or $ENV{AUTOMATED_TESTING}; | ||
| 6 | return "EV module with select backend could not be loaded" if ( | ||
| 7 | do { eval "use EV"; $@ } | ||
| 8 | ); | ||
| 9 | return "EV was not built with a select backend" | ||
| 10 | if EV::backend() != EV::BACKEND_SELECT(); | ||
| 11 | diag("Using EV with select backend") if shift eq '00_info'; | ||
| 12 | } |