Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
attempt to get unit tests working on cygwin
The change adds 'enable-dos2unix' build configuration option. After enabling unit test in cygwin-like test worflow I could see `util/shlib_wrap.sh` fails to run. One of the error was: ``` ./../util/../util/shlib_wrap.sh: line 2: $'\r': command not found ``` It smells like some CRLF vsl LF (dos vs. unix) line terminators. Looks like cygwin on windows is still sensitive to this. The newly added `enable-dos2unix` makes sure all .sh/.pl scripts generated at build time will have unix (LF) line end terminator. We use dos2unix tool to convert generated script. The cygwin windows workflow on github then should use option `enable-dos2unix` if it plans to run unit tests. I could not figure out how to do it in workflow only, therefore I'm alos extending the OpenSSL build configuration.
- Loading branch information
Showing
3 changed files
with
80 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters