In perl.git, the branch tonyc/win32-minitest has been created <http://perl5.git.perl.org/perl.git/commitdiff/57c9bcf58d00d73f3fc5bc39d4b86fbb337bb41e?hp=0000000000000000000000000000000000000000>
at 57c9bcf58d00d73f3fc5bc39d4b86fbb337bb41e (commit) - Log ----------------------------------------------------------------- commit 57c9bcf58d00d73f3fc5bc39d4b86fbb337bb41e Author: Tony Cook <t...@develop-help.com> Date: Tue Dec 9 14:38:38 2014 +1100 minitest op/magic.t: skip the env_is() tests on Win32 miniperl Since 1070c8d6 env_is() requires the Win32 module on Win32, which miniperl can't load M t/op/magic.t commit 59f50e2796473423ffbc350d056402c9fcaa15aa Author: Tony Cook <t...@develop-help.com> Date: Mon Dec 8 15:11:29 2014 +1100 Win32 minitest: -k is never available on Win32 Given the structure of the tests and the code, I can only assume S_ISVTX is only unavailable on Win32 out of the systems we run minitest on. M t/op/filetest.t commit b729c0cbd0fba3dc1d1b0d75ca05d1e96ccea31e Author: Tony Cook <t...@develop-help.com> Date: Mon Dec 8 13:27:35 2014 +1100 miniperl on Win32 doesn't have fork() M t/op/fork.t commit c33bb54bb9a42116301ba70f84a38281ce087d64 Author: Tony Cook <t...@develop-help.com> Date: Mon Dec 8 12:56:07 2014 +1100 some socket functions aren't available under Win32 miniperl This only skips for bind, connect, accept() and select(). Other functions are tested in coreamp.t, but either aren't called with valid handles, so don't reach the "unimplemented" errors, or don't trigger the errors for other reasons. fixes: op/coreamp.t, op/sselect.t, op/tie_fetch_count.t M t/op/coreamp.t M t/op/sselect.t M t/op/tie_fetch_count.t commit 72df0499a48f73a4d6ea27830aa0002c9898ca3f Author: Tony Cook <t...@develop-help.com> Date: Mon Dec 8 11:44:52 2014 +1100 disable Win32 sloppy stat in io/fs.t, io/stat.t 8ce7a7e8b08f added a line to write_buildcustomize.pl to enable ${^WIN32_SLOPPY_STAT} in lib/buildcustomize.pl on Win32. This meant the nlink value from stat wasn't being populated correctly causing the link count tests to fail M t/io/fs.t M t/op/stat.t commit 0627ab1b4e6dd822bf5781d043d3525370acabed Author: Tony Cook <t...@develop-help.com> Date: Mon Dec 8 11:39:24 2014 +1100 use textmode when opening scripts in miniperl to match perl fixes io/data.t This could be considered a bug in io/data.t, since it writes the scripts in text mode, but making miniperl behave closer to perl may fix other issues too. M win32/Makefile M win32/makefile.mk commit c7eabd163fd95bfd47c3916590bdb70b728440b9 Author: Tony Cook <t...@develop-help.com> Date: Mon Dec 8 11:26:22 2014 +1100 build miniperl with PerlIO Several tests use PerlIO layers (:utf8, :pop) without testing for it. non-PerlIO builds were vaguely deprecated in 5.18.0 and can no longer be enabled on POSIX systems through Configure, so making miniperl PerlIO on Win32 is no big stretch minitests failing now: io/data.t io/fs.t op/coreamp.t op/filetest.t op/fork.t op/glob.t op/heredoc.t op/magic.t op/sselect.t op/stat.t op/tie_fetch_count.t M win32/Makefile M win32/makefile.mk commit ab0e10842195439001c666dca565c7cb5463c8e8 Author: Tony Cook <t...@develop-help.com> Date: Mon Dec 8 11:01:34 2014 +1100 t/TEST: glob the supplied filenames on Win32 since Win32 perl doesn't glob by default at this point the following tests fail: io/dup.t io/fs.t io/open.t io/perlio_leaks.t op/coreamp.t op/filetest.t op/fork.t op/fresh_perl_utf8.t op/glob.t op/heredoc.t op/magic.t op/read.t op/readline.t op/sselect.t op/stat.t op/substr.t op/tie_fetch_count.t op/write.t M t/TEST commit bc4c68dfd0dff6fb0e7ce7b70f39e7bb8e28fb45 Author: Tony Cook <t...@develop-help.com> Date: Mon Dec 8 10:48:32 2014 +1100 use TEST for minitest, same as POSIX systems Test::Harness now requires IO at all times, which means it can't be used with miniperl many tests fail with minitest at this point M win32/Makefile M win32/makefile.mk ----------------------------------------------------------------------- -- Perl5 Master Repository