| 1 | =for poe_tests | ||
| 2 | BEGIN { $ENV{LIBEV_FLAGS} = 32; } | ||
| 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 port backend could not be loaded" if ( | ||
| 7 | do { eval "use EV"; $@ } | ||
| 8 | ); | ||
| 9 | return "EV was not built with a port backend" | ||
| 10 | if EV::backend() != EV::BACKEND_PORT(); | ||
| 11 | diag("Using EV with port backend") if shift eq '00_info'; | ||
| 12 | } |