If one is running the tests on win32, newline style will default to crlf, which is likely to fail depending on how the git repository was checked out.
Since cmake v3.14, the --ignore-eol option can be used.
For previous versions, some scripting has to be made.