]> git.ipfire.org Git - thirdparty/openssl.git/commit
QEMU: include test runs for most cross compilation targets
authorPauli <pauli@openssl.org>
Fri, 23 Jul 2021 01:48:32 +0000 (11:48 +1000)
committerPauli <pauli@openssl.org>
Wed, 28 Jul 2021 00:30:45 +0000 (10:30 +1000)
commit64d9b626aae49154bd44edf8fb1a3eca133445a3
tree5c3e956ba333f38b48bcb188a8a3b7409ff829e0
parent09755337d5b907565d3b8a9ee8b33a2c60616c0a
QEMU: include test runs for most cross compilation targets

For the cross compiles where the tests couldn't be run, most are capable
of being run when statically linked.  For these, a shared with FIPS build
but not test run is also included to maximise compilation coverage.
The builds take a couple of minutes so the impact of these extra jobs
isn't great.

The test failures for test_includes, test_store and test_x509_store
across several platforms are related the the OPENSSL_DIR_read() call.
This gets a "Value too large for defined data type" error calling the
standard library's readdir() wrapper.  That is, the failure is during
the translation from the x86-64 structure to the 32 bit structure.
I've tried tweaking the include defines to use larger fields but couldn't
figure out how to make it work.  The most prudent fix is to ignore these
tests for these platforms.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16144)
.github/workflows/cross-compiles.yml