ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/t/10_loadall.t
Revision: 1.1
Committed: Fri Aug 19 19:59:53 2011 UTC (12 years, 9 months ago) by root
Content type: application/x-troff
Branch: MAIN
CVS Tags: rel-6_1, rel-6_14, rel-6_11, rel-6_12, rel-6_13, rel-6_02, rel-6_01
Log Message:
*** empty log message ***

File Contents

# Content
1 $| = 1;
2
3 print "1..20\n";
4
5 my $i = 0;
6 for (qw(
7 AnyEvent
8 AnyEvent::Util
9 AnyEvent::DNS
10 AnyEvent::Socket
11 AnyEvent::Loop
12 AnyEvent::Strict
13 AnyEvent::Debug
14 AnyEvent::Handle
15 AnyEvent::Log
16 AnyEvent::Impl::Perl
17 )) {
18 print +(eval "require $_" ) ? "" : "not ", "ok ", ++$i, " # $_ require $@\n";
19 print +(eval "import $_; 1") ? "" : "not ", "ok ", ++$i, " # $_ import $@\n";
20 }