simplecpp
simplecpp copied to clipboard
some `isAbsolutePath()` tests fail on MinGW MSYS
------ 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
The test was just using the wrong define.
Actually MinGW MSYS appears to support Unix and Windows paths.
Should also be tested with running a Windows executable via WSL (should probably also add that to the CI).
This also affects Cygwin.
Add MSYS in CI-mingw.yml if this is fixed.