ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/t/10_loadall.t
Revision: 1.2
Committed: Tue Mar 27 23:47:57 2012 UTC (12 years, 2 months ago) by root
Content type: application/x-troff
Branch: MAIN
CVS Tags: rel-7_0, rel-7_04, rel-7_05, rel-7_07, rel-7_01, rel-7_02, rel-7_03, rel-7_08, rel-7_09, rel-7_16, rel-7_15, rel-7_14, rel-7_13, rel-7_12, rel-7_11, HEAD
Changes since 1.1: +3 -1 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.1 $| = 1;
2    
3 root 1.2 print "1..24\n";
4 root 1.1
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 root 1.2 AnyEvent::IO::Perl
18     AnyEvent::IO
19 root 1.1 )) {
20     print +(eval "require $_" ) ? "" : "not ", "ok ", ++$i, " # $_ require $@\n";
21     print +(eval "import $_; 1") ? "" : "not ", "ok ", ++$i, " # $_ import $@\n";
22     }