Revision: | 1.13 |
Committed: | Thu Oct 21 15:13:42 2010 UTC (13 years, 8 months ago) by root |
Content type: | application/x-troff |
Branch: | MAIN |
CVS Tags: | EV-rel-4_28, EV-rel-4_29, EV-rel-4_26, EV-rel-4_27, EV-rel-4_25, EV-rel-4_22, EV-rel-4_20, EV-rel-4_21, rel-4_01, rel-4_00, rel-4_03, rel-4_02, EV-rel-4_31, EV-rel-4_30, EV-rel-4_33, EV-rel-4_32, EV-rel-4_34, EV_rel-4_11, EV_rel-4_10, EV-rel-4_15, EV_rel-4_17, EV_rel-4_16, EV-rel-4_18, HEAD |
Changes since 1.12: | +1 -1 lines |
Log Message: | port testsuite |
# | User | Rev | Content |
---|---|---|---|
1 | root | 1.12 | BEGIN { $| = 1; print "1..5\n"; } |
2 | root | 1.3 | |
3 | root | 1.12 | BEGIN { |
4 | $^W = 0; # work around some bugs in perl | ||
5 | root | 1.8 | |
6 | root | 1.12 | print eval { require EV } ? "" : "not ", "ok 1 # $@\n"; |
7 | print eval { require EV::MakeMaker } ? "" : "not ", "ok 2 # $@\n"; | ||
8 | } | ||
9 | |||
10 | my $w = EV::idle sub { print "not ok 3\n"; $_[0]->stop }; | ||
11 | $w->feed_event (EV::CUSTOM); | ||
12 | $w->stop; | ||
13 | root | 1.13 | EV::run; |
14 | root | 1.12 | print "ok 3\n"; |
15 | |||
16 | my $w = EV::idle sub { print "ok 4\n"; $_[0]->stop }; | ||
17 | $w->feed_event (EV::CUSTOM); | ||
18 | $w->clear_pending; | ||
19 | EV::loop; | ||
20 | print "ok 5\n"; |