mirror of https://github.com/wolfSSL/wolfssh.git
windows-check: Build the .exe-suffixed regress/unit test targets on MinGW
The new run showed the ws2_32/crypt32 link fix worked (configure passed) but make then failed: "No rule to make target 'tests/regress.test'." Reproducing the autotools build locally confirmed why: MinGW's EXEEXT is ".exe", so automake's check_PROGRAMS rule names the binaries tests/regress.test.exe and tests/unit.test.exe, not the extension-less names this job was asking make to build and run.pull/1247/head
parent
90ce9fb61b
commit
4105c2242c
|
|
@ -295,9 +295,12 @@ jobs:
|
|||
CPPFLAGS="-I$HOME/wolfssl-install/include" \
|
||||
LDFLAGS="-L$HOME/wolfssl-install/lib" \
|
||||
LIBS="-lws2_32 -lcrypt32"
|
||||
make -j$(nproc) tests/regress.test tests/unit.test
|
||||
./tests/regress.test
|
||||
./tests/unit.test
|
||||
# MinGW's EXEEXT is ".exe", so the check_PROGRAMS targets automake
|
||||
# generates are tests/regress.test.exe and tests/unit.test.exe, not
|
||||
# the extension-less names make would use on a POSIX host.
|
||||
make -j$(nproc) tests/regress.test.exe tests/unit.test.exe
|
||||
./tests/regress.test.exe
|
||||
./tests/unit.test.exe
|
||||
|
||||
- name: Show config.log on failure
|
||||
if: failure()
|
||||
|
|
|
|||
Loading…
Reference in New Issue