]> Sergey Matveev's repositories - public-inbox.git/blob - t/ds-kqxs.t
dskqxs: fix missing EV_DISPATCH define
[public-inbox.git] / t / ds-kqxs.t
1 # Copyright (C) 2019 all contributors <meta@public-inbox.org>
2 # Licensed the same as Danga::Socket (and Perl5)
3 # License: GPL-1.0+ or Artistic-1.0-Perl
4 #  <https://www.gnu.org/licenses/gpl-1.0.txt>
5 #  <https://dev.perl.org/licenses/artistic.html>
6 use strict;
7 use Test::More;
8 unless (eval { require IO::KQueue }) {
9         my $m = $^O !~ /bsd/ ? 'DSKQXS is only for *BSD systems'
10                                 : "no IO::KQueue, skipping $0: $@";
11         plan skip_all => $m;
12 }
13 local $ENV{TEST_IOPOLLER} = 'PublicInbox::DSKQXS';
14 require './t/ds-poll.t';