Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Proper way to use Module::Signature under windows?

by andreas1234567 (Vicar)
on Jan 08, 2009 at 08:48 UTC ( #734843=note: print w/replies, xml ) Need Help??


in reply to Proper way to use Module::Signature under windows?

I would take the default MANIFEST.SKIP from Module::Build and modify it slightly if I were you.

Also, you may try to contact the CPAN tester in question directly (or ask in the chatterbox for volunteers) to help you test on the given platform, or simply release a new version of our module and wait for the test reports to come in.

Update: By adding

\.tmp ^Build.bat$
to your MANIFEST.SKIP I figure you could resolve the issue. But I cannot, of course, properly sign your module and verify that all tests actually pass.
C:\src\perl\perlmonks\734797\Module-Starter-Plugin-CGIApp-0.07>dmake t +est C:\Perl\bin\perl.exe -MExtUtils::Command -e cp script/cgiapp-starter b +lib\script \cgiapp-starter pl2bat.bat blib\script\cgiapp-starter C:\Perl\bin\perl.exe -MExtUtils::Command -e cp script/titanium-starter + blib\scri pt\titanium-starter pl2bat.bat blib\script\titanium-starter C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, ' +blib\lib', 'blib\arch')" t/*.t t/00-signature..........'gpg' is not recognized as an internal or exte +rnal comma nd, operable program or batch file. Cannot use GnuPG or Crypt::OpenPGP, please install either one first! Not in MANIFEST: Build.bat Not in MANIFEST: pod2htmd.tmp Not in MANIFEST: pod2htmi.tmp ==> MISMATCHED content between MANIFEST and distribution files! <== t/00-signature..........NOK 1# Failed test 'Valid signature' # in t/00-signature.t at line 21. # Looks like you failed 1 test of 1. t/00-signature..........dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay t/01-load...............ok 1/1# Testing Module::Starter::Plugin::CGIAp +p 0.07, Pe rl 5.008008, C:\Perl\bin\perl.exe t/01-load...............ok t/extutils-makemaker....ok t/module-build..........ok t/module-install........ok t/perl-critic...........skipped all skipped: Author test. Set $ENV{TEST_AUTHOR} to a true val +ue to run. t/pod-coverage..........ok t/pod...................ok Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t/00-signature.t 1 256 1 1 100.00% 1 1 test skipped. Failed 1/8 test scripts, 87.50% okay. 1/164 subtests failed, 99.39% ok +ay. dmake: Error code 255, while making 'test_dynamic' C:\src\perl\perlmonks\734797\Module-Starter-Plugin-CGIApp-0.07>copy MA +NIFEST.SKI P CON: #defaults ^Makefile$ ^blib/ ^pm_to_blib ^blibdirs ^Build$ ^_build/ .svn \.tmp ^Build.bat$ 1 file(s) copied. C:\src\perl\perlmonks\734797\Module-Starter-Plugin-CGIApp-0.07>dmake t +est C:\Perl\bin\perl.exe -MExtUtils::Command -e cp script/cgiapp-starter b +lib\script \cgiapp-starter pl2bat.bat blib\script\cgiapp-starter C:\Perl\bin\perl.exe -MExtUtils::Command -e cp script/titanium-starter + blib\scri pt\titanium-starter pl2bat.bat blib\script\titanium-starter C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, ' +blib\lib', 'blib\arch')" t/*.t t/00-signature..........'gpg' is not recognized as an internal or exte +rnal comma nd, operable program or batch file. Cannot use GnuPG or Crypt::OpenPGP, please install either one first! --- SIGNATURE Mon Jan 5 23:31:46 2009 +++ (current) Thu Jan 8 10:12:24 2009 @@ -1,7 +1,7 @@ SHA1 21ce4367da4dd000486eab4c555b3a6d4c56de99 Build.PL SHA1 c5c7889900137f684520e6e0e7358f4c81506929 Changes SHA1 1dd815809b74748d87c57c6ecbafd1c969a37391 MANIFEST -SHA1 53bdb7441dbf19c3db8f36ff9bfcb65400592193 MANIFEST.SKIP +SHA1 8689c9ff246ae33bda492e0e2e75d08d8d157aed MANIFEST.SKIP SHA1 4dd53fa6e16e487451498a1c4e5547ce52f002e6 META.yml SHA1 995fad7b0544908e3e76742187e358e7cf8e481f Makefile.PL SHA1 59e1b71bcaf7a1f66cbb43cf2a3ca83ff748cd6a README ==> MISMATCHED content between SIGNATURE and distribution files! <== t/00-signature..........NOK 1# Failed test 'Valid signature' # in t/00-signature.t at line 21. # Looks like you failed 1 test of 1. t/00-signature..........dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay t/01-load...............ok 1/1# Testing Module::Starter::Plugin::CGIAp +p 0.07, Pe rl 5.008008, C:\Perl\bin\perl.exe t/01-load...............ok t/extutils-makemaker....ok t/module-build..........ok t/module-install........ok t/perl-critic...........skipped all skipped: Author test. Set $ENV{TEST_AUTHOR} to a true val +ue to run. t/pod-coverage..........ok t/pod...................ok Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t/00-signature.t 1 256 1 1 100.00% 1 1 test skipped. Failed 1/8 test scripts, 87.50% okay. 1/164 subtests failed, 99.39% ok +ay. dmake: Error code 255, while making 'test_dynamic' C:\src\perl\perlmonks\734797\Module-Starter-Plugin-CGIApp-0.07> </readmore>
--
No matter how great and destructive your problems may seem now, remember, you've probably only seen the tip of them. [1]

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://734843]
help
Chatterbox?
[haukex]: Corion: I once wrote an automated thingy for that here
[haukex]: here's the code that uses it
[Corion]: haukex: Hmm - maybe I can reuse that. I see that it uses Pod::Parser, which I think was one of the more fragile parsers. But if I'm statically (re)generating the tests instead of doing that "live" on the client/tester machines, that's a much smaller...
[Corion]: ... problem space than trying to cater to all versions of Pod::Parser(s)
[haukex]: I think you're right, I think Pod::Simple is the preferred parser now
[haukex]: But I was just using it as an author test anyway
[Corion]: haukex: Aaah - I thought you were still running these tests on every machine, but you only run these as author or Devel::Cover tests
[Corion]: haukex: Yeah, I think back then I used Test::Inline, which used a pod parser that was going through some changes and I didn't want to cater for all the various versions and thus stopped testing the Pod completely
[choroba]: I usually do this with presentations

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (10)
As of 2017-02-27 12:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (385 votes). Check out past polls.