Topic: make check fail
my environment
Windows 10
Cygwin
Wolfssl 5.6.6
Is my version of GCC a problem?
https://www.wolfssl.com/documentation/m … tml#cygwin
7. Under "Devel" click the "gcc-core" drop down and change "Skip" to 7.4.0-1
(NOTE: wolfSSL has not tested GCC 9 or 10 and as they are fairly new does
not recommend using them until they have had a bit more time to be
fine-tuned for development).
What I have:
$ i686-w64-mingw32-gcc --version
i686-w64-mingw32-gcc (GCC) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Did this ever get fixed?
https://www.wolfssl.com/forums/topic1795-testsuite.html
there is some issue with filesystem access from the wolfSSL test scripts in MSYS.
my build script:
$ cat MYbuild
#!/bin/sh
if [ ! -f configure ]; then
# autogen.sh creates configure
./autogen.sh
fi
# --host=i686-w64-mingw32 requires the i686-w64-mingw32 DLLs
# in the path for make check - at least:
# libwinpthread-1.dll
# libgcc_s_sjlj-1.dll
export PATH=${PATH}:/usr/i686-w64-mingw32/sys-root/mingw/bin
./configure --host=i686-w64-mingw32 \
--prefix=/usr/local/i686-w64-mingw32 \
&& make \
&& make check
the build script output ends with
SKIP: scripts/openssl.test
SKIP: scripts/external.test
PASS: scripts/google.test
SKIP: scripts/pem.test
FAIL: testsuite/testsuite.test.exe
FAIL: scripts/resume.test
PASS: scripts/tls13.test
PASS: scripts/unit.test
============================================================================
Testsuite summary for wolfssl 5.6.6
============================================================================
# TOTAL: 8
# PASS: 3
# SKIP: 3
# XFAIL: 0
# FAIL: 2
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to https://github.com/wolfssl/wolfssl/issues
============================================================================
make[4]: *** [Makefile:8151: test-suite.log] Error 1
make[4]: Leaving directory '/source/wolfssl-5.6.6-stable'
make[3]: *** [Makefile:8259: check-TESTS] Error 2
where it hangs.. or do I need to wait longer than 30 minutes?
test-suite.log has this bit in it
AES-GCM test passed!
can't open ./certs/client-key.der, Please run from wolfSSL home dir error L=18989 errno=2
[fiducial line numbers: 7943 25060 37640 49885]
RSA test failed!
error L=18990 errno=2
[fiducial line numbers: 7943 25060 37640 49885]
FAIL testsuite/testsuite.test.exe (exit status: 127)
FAIL: scripts/resume
====================
Any suggestions on how to get "make check" working would be appreciated.