NCAR / music-box

A box/column model using MICM chemistry
Apache License 2.0
14 stars 8 forks source link

Windows 11 tests fail #141

Closed K20shores closed 9 months ago

K20shores commented 9 months ago

Building the docker image on windows 11 causes the tests to fail. The image builds, but for some reason the tests think they can't find the binary and/or the config file. But, running the tests by hand causes them to pass. Maybe this is some sort of docker virtualization issue? Either way, a potential fix may be installing the binary system wide

K20shores commented 9 months ago

This seems to be caused by windows converting files to end with \r\n instead of \n, so things like the shebang in our test scripts are really showing up as /bin/bash\r, which is not a binary.... figured out from this SO post