simplecpp icon indicating copy to clipboard operation
simplecpp copied to clipboard

some `isAbsolutePath()` tests fail on MinGW MSYS

Open firewave opened this issue 3 months ago • 5 comments

 ------ assertion failed ---------
line test.cpp:3270
expected:1
actual:0
------ assertion failed ---------
line test.cpp:3271
expected:1
actual:0
------ assertion failed ---------
line test.cpp:3276
expected:0
actual:1
------ assertion failed ---------
line test.cpp:3277
expected:0
actual:1
------ assertion failed ---------
line test.cpp:3278
expected:0
actual:1

firewave avatar Oct 01 '25 16:10 firewave

The test was just using the wrong define.

firewave avatar Oct 03 '25 09:10 firewave

Actually MinGW MSYS appears to support Unix and Windows paths.

firewave avatar Oct 03 '25 09:10 firewave

Should also be tested with running a Windows executable via WSL (should probably also add that to the CI).

firewave avatar Oct 03 '25 09:10 firewave

This also affects Cygwin.

firewave avatar Oct 13 '25 19:10 firewave

Add MSYS in CI-mingw.yml if this is fixed.

firewave avatar Dec 17 '25 12:12 firewave