]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Reshuffle OpenWRT test configs.
authorDarren Tucker <dtucker@dtucker.net>
Fri, 8 Nov 2024 18:14:16 +0000 (05:14 +1100)
committerDarren Tucker <dtucker@dtucker.net>
Sat, 9 Nov 2024 00:39:04 +0000 (11:39 +1100)
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).

.github/configs

index 136357d951837f9b58ceaaf48b853793850d9ffd..78f7249977c05071d78f4ad47487ae1b7a36fa4e 100755 (executable)
@@ -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.