Skip to content

Commit

Permalink
Reshuffle OpenWRT test configs.
Browse files Browse the repository at this point in the history
Move the the flags used by the OpenWRT distro to mipsel target and
enable OpenSSL on all targets to improve coverage.

Explicitly disable security key and openssl on mips target so that host
end of the bigendian interop tests don't attempt them and fail (since
they're not enabled on the target side).
  • Loading branch information
daztucker committed Nov 9, 2024
1 parent d2709c4 commit a80eb71
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/configs
Original file line number Diff line number Diff line change
Expand Up @@ -296,18 +296,22 @@ case "${TARGET_HOST}" in
# SHA256 functions in sha2.h conflict with OpenSSL's breaking sk-dummy
CONFIGFLAGS="${CONFIGFLAGS} --without-hardening --disable-security-key"
;;
openwrt-*)
CONFIGFLAGS="${CONFIGFLAGS} --without-zlib"
LIBCRYPTOFLAGS="--without-openssl"
TEST_TARGET="t-exec"
;;
openwrt-mips)
openwrt-mipsel)
# Test most of the flags that OpenWRT sets for their package build.
# We only do this on one OpenWRT target for better coverage.
# The installed shared libraries installed by default are stripped and
# can't be linked to on the target systems.
OPENWRT_FLAGS="--disable-strip --disable-lastlog
--disable-utmp --disable-utmpx --disable-wtmp --disable-wtmpx
--with-stackprotect --with-cflags-after=-fzero-call-used-regs=skip"
CONFIGFLAGS="${CONFIGFLAGS} $(echo ${OPENWRT_FLAGS})"
CONFIGFLAGS="${CONFIGFLAGS} $(echo ${OPENWRT_FLAGS}) --without-zlib --disable-security-key"
LIBCRYPTOFLAGS="--without-openssl"
TEST_TARGET="t-exec"
;;
openwrt-*)
CONFIGFLAGS="${CONFIGFLAGS} --without-zlib --disable-security-key"
LIBCRYPTOFLAGS="--without-openssl"
TEST_TARGET="t-exec"
;;
sol10|sol11)
# sol10 VM is 32bit and the unit tests are slow.
Expand Down

0 comments on commit a80eb71

Please sign in to comment.