Skip Menu |

This queue is for tickets about the Schedule-Cron CPAN distribution.

Report information
The Basics
Id: 49998
Status: resolved
Priority: 0/
Queue: Schedule-Cron

People
Owner: roland [...] cpan.org
Requestors: kmx [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: t/sighandler.t fails on Win32/strawberry perl
Hi, I have experienced the following failure during test on Schedule::Cron 0.99: C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/after_job.t ........... ok t/callbackreschedule.t .. ok t/dst_back.t ............ ok t/entry.t ............... ok t/execution_time.t ...... ok t/kwalitee.t ............ skipped: Test::Kwalitee not installed; skipping t/load_crontab.t ........ ok t/nofork.t .............. ok t/pod.t ................. ok t/pod_coverage.t ........ ok t/pretty_print_args.t ... ok t/sighandler.t .......... t/sighandler.t .......... 1/1 # Failed test at t/sighandler.t line 22. # Looks like you failed 1 test of 1. t/sighandler.t .......... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t/startup.t ............. ok Test Summary Report ------------------- t/sighandler.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=13, Tests=85, 34 wallclock secs ( 0.13 usr + 0.06 sys = 0.19 CPU) Result: FAIL Failed 1/13 test programs. 1/85 subtests failed. dmake: Error code 255, while making 'test_dynamic' It is very likely due to the fact that there is nothing like $SIG{CHLD} signal on Win32. Probably the only solution is to skip the whole sighandler.t on Win32. -- kmx
Hi, thanks for your report. I will disable the test for Win32 for the next release (but it might take some time until I push a new release out, probably near the end of this year for the final 1.00 (celebrating the 10th aniversary of Schedule::Cron ;-) On Thu Sep 24 17:38:46 2009, KMX wrote: Show quoted text
> Hi, > > I have experienced the following failure during test on Schedule::Cron 0.99: > > C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t > t/after_job.t ........... ok > t/callbackreschedule.t .. ok > t/dst_back.t ............ ok > t/entry.t ............... ok > t/execution_time.t ...... ok > t/kwalitee.t ............ skipped: Test::Kwalitee not installed; skipping > t/load_crontab.t ........ ok > t/nofork.t .............. ok > t/pod.t ................. ok > t/pod_coverage.t ........ ok > t/pretty_print_args.t ... ok > t/sighandler.t .......... > t/sighandler.t .......... 1/1 # Failed test at t/sighandler.t line 22. > # Looks like you failed 1 test of 1. > t/sighandler.t .......... Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/1 subtests > t/startup.t ............. ok > > Test Summary Report > ------------------- > t/sighandler.t (Wstat: 256 Tests: 1 Failed: 1) > Failed test: 1 > Non-zero exit status: 1 > Files=13, Tests=85, 34 wallclock secs ( 0.13 usr + 0.06 sys = 0.19 CPU) > Result: FAIL > Failed 1/13 test programs. 1/85 subtests failed. > dmake: Error code 255, while making 'test_dynamic' > > It is very likely due to the fact that there is nothing like $SIG{CHLD} > signal on Win32. Probably the only solution is to skip the whole > sighandler.t on Win32. > > -- > kmx
 Fixed in 1.00. BTW, 1.01 is on the way to improve the situation on system without SIGCHLD support further. (see  RT #56926)