Ken Williams wrote:
On Oct 27, 2007, at 11:52 PM, John E. Malmberg wrote:
In Compat.t :
[...]
The non-verbose output on VMS is apparently slightly different, as
there appears to be extra newlines inserted.
This part broke the test on other platforms (OS X in my case). I'm
reverting the regex, could you show me what your output looks like so
we can match it? It should be part of the error output when the test
fails, mine looks like this:
# Failed test (t/compat.t at line 213)
# '# make test TEST_VERBOSE=0
# # /usr/bin/perl Build --makefile_env_macros 1 test
# # t/basic....ok
# # All tests successful.
# # Files=1, Tests=1, 0 wallclock secs ( 0.08 cusr + 0.03 csys =
0.11 CPU)
# '
# doesn't match '(?-xism:(?s:# .+basic\.+(?:.*#\s)ok\s+(?:[\d.]+
\s*m?s\s*)?)# All tests)'
t/compat....ok 121/122# Looks like you failed 1 test of 122.
Here is my output with the regex that is in blead.
not ok 115 - Should be non-verbose
# Failed test 'Should be non-verbose'
# at [-.lib.module.build.t]compat.t line 216.
# '# MMK test
# # MCR eagle$dqa0:[project_root.][perl-blead.t]perl.exe;1 Build.COM
--makefile_env_macros 1 test
# # [.t]basic....
# # ok
# # All tests successful.
# # Files=1, Tests=1, 0 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00
CPU)
# '
# doesn't match '(?-xism:(?:# .+basic\.+ok\s+(?:[\d.]+\s*m?s\s*)?)#
All tests)'
-John