Subject: | Test fails with nmake (Visual C++ build of Perl) |
Looks like the test suite is expecting no make output, but nmake prints out a copyright message unless the /nolog or -nologo argument is used. It's not clear to me if there is a good way to get the $tzil instance to use this option.
F:\dev\Dist-Zilla-Plugin-DynamicPrereqs>prove -l
Note: Cannot run tests in color: Can't locate Win32/Console/ANSI.pm
t\01-basic.t .................... 6/?
# Failed test 'running Makefile.PL did not produce warnings'
# at t/lib/Helper.pm line 24.
# got: '
# Microsoft (R) Program Maintenance Utility Version 14.24.28314.0
# Copyright (C) Microsoft Corporation. All rights reserved.
#
# '
# expected: ''
# got log messages: [
# '[DZ] beginning to build DZT-Sample',
# '[GatherDir] considering .',
# '[GatherDir] considering dist.ini',
# '[GatherDir] considering lib',
# '[GatherDir] considering lib/Foo.pm',
# '[GatherDir] adding file dist.ini',
# '[GatherDir] adding file lib/Foo.pm',
# '[MetaJSON] adding file META.json',
# '[MakeMaker] adding file Makefile.PL',
# '[DynamicPrereqs] Inserting dynamic prereq into Makefile.PL...',
# '[MakeMaker] updating contents of Makefile.PL in memory',
# '[DZ] writing DZT-Sample in F:/dev/Dist-Zilla-Plugin-DynamicPrereqs/tmp/hnWi9xBJ6M/build',
# '[MakeMaker::Runner] running D:\\lang\\perl\\vc\\x64\\v5.31.6\\bin\\perl.exe Makefile.PL',
# '[MakeMaker::Runner] running nmake'
# ]
# Looks like you failed 1 test of 8.
t\01-basic.t .................... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/8 subtests
...etc