Closed jfroebe closed 7 years ago
Same issue with Visual Studio 2013 compiled perl
5.24.1 on Windows 10. At the very least, tests should be skipped if external programs are not found:
t\parse-pegex.t .......... 9/? 'diff' is not recognized as an internal or external command,
operable program or batch file.
'diff' is not recognized as an internal or external command,
....
diff' is not recognized as an internal or external command,
operable program or batch file.
Visual Studio optionally offers to install Git which installs some useful utilities (including perl
) in c:\Program Files\git\usr\bin
which is not usually added to %PATH%
. Appending that directory to the path:
path=%path%;"c:\Program Files\git\usr\bin"
results in
$ prove -vb t\parse-pegex.t
Test Summary Report
-------------------
t\parse-pegex.t (Wstat: 0 Tests: 24 Failed: 0)
TODO passed: 4, 7-9
Files=1, Tests=24, 3 wallclock secs ( 0.11 usr + 0.02 sys = 0.13 CPU)
Result: PASS
thanks, i created PR #66
@nanis @jfroebe we just released Inline::C 0.78, could you test if it works now?
C:\...\Temp> cpanm Inline::C
...
Building and testing Inline-C-0.78 ... OK
Successfully installed Inline-C-0.78
Thank you very much and apologies for the late response.
cool, thanks!
Platform: Strawberry Perl 5.24.1.1 (64bit) Windows 10 Inline::C version: 0.76
Test t/parse-pegex.t is looking for platform specific rm and diff. These should be replaced with perl implementations.
inline-c_testfailures.txt