ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/t/64_glib_02_signals.t
(Generate patch)

Comparing AnyEvent/t/64_glib_02_signals.t (file contents):
Revision 1.5 by root, Mon Jul 4 21:14:28 2011 UTC vs.
Revision 1.8 by root, Tue Jul 30 23:14:33 2013 UTC

6 exit 0; 6 exit 0;
7 } 7 }
8} 8}
9 9
10use AnyEvent; 10use AnyEvent;
11
12 BEGIN { $^W = 0 }
13 BEGIN { $ENV{PERL_ANYEVENT_LOOP_TESTS} or ((print qq{1..0 # SKIP PERL_ANYEVENT_LOOP_TESTS not true\n}), exit 0) }
11BEGIN { eval q{use AnyEvent::Impl::Glib;1} or ((print qq{1..0 # SKIP AnyEvent::Impl::Glib not loadable 14 BEGIN { eval q{use AnyEvent::Impl::Glib;1} or ((print qq{1..0 # SKIP AnyEvent::Impl::Glib not loadable\n}), exit 0) }
12}), exit 0) } 15
16
13 17
14$| = 1; print "1..5\n"; 18$| = 1; print "1..5\n";
15 19
16print "ok 1\n"; 20print "ok 1\n";
17 21
29 $cv->broadcast; 33 $cv->broadcast;
30}); 34});
31 35
32print "ok 2\n"; 36print "ok 2\n";
33kill 'INT', $$; 37kill 'INT', $$;
34$cv->wait; 38$cv->recv;
35undef $error; 39undef $error;
36 40
37print "ok 4\n"; 41print "ok 4\n";
38 42
39undef $sw; 43undef $sw;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines