[cgiapp] [Announce] Module-Starter-Plugin-CGIApp 0.08

Cosimo Streppone cosimo at streppone.it
Sun Jan 11 10:40:39 EST 2009


In data 10 gennaio 2009 alle ore 15:29:05, Jaldhar H. Vyas  
<jaldhar at braincells.com> ha scritto:

> On Sat, 10 Jan 2009, Cosimo Streppone wrote:
>
>> I can probably trace down a bit more the problem, but...
>>
>> Failed Test            Stat Wstat Total Fail  List of Failed
>> -------------------------------------------------------------------------------
>> t\extutils-makemaker.t   44 11264    88   44  1-5 9 11 13 15 23-24  
>> t\module-build.t         44 11264    88   44  1-5 9 11 13 15 23-24  
>> t\module-install.t       44 11264    88   44  1-5 9 11 13 15 23-24
>
> Oh no!  This time it actually passed all the tests for me on Windows XP  
> so I was so excited.  Did the tests fail because the files were not  
> created at all or because they were zero length?  (I shall change the -e  
> test to -s in the next version.

I took some time to debug the problem in t\extutils-makemaker.t, but
I think the other test cases have the same problem.
I'm sorry I won't be very scientific here, but anyway...

- The files are created as expected by cgiapp-starter
- The list of expected files has the format 'Foo/<something>'
- My '$dir' is set to 'E:\.cpan\build\Module-Starter-...\t'
- A typical '$File::Find::name' value in wanted() is
   'E:\.cpan\build\Module-Starter-...\t\Foo\<something>'
- The 'grep' inside @expected_files doesn't match because you're
   comparing with 'eq', but instead you have:

     @expected              $File::Find::name
    -------------------------------------------
     Foo/lib/Foo.pm         \Foo/lib/Foo.pm
     Foo/lib/Foo/templates  \Foo/lib/Foo/templates
     ....

and so on...
Hope this helps.

-- 
Cosimo


More information about the cgiapp mailing list