Commit 9d3b992405 for openssl.org
commit 9d3b9924056ac444c2a0db7263facad776aaad1f
Author: Richard Levitte <levitte@openssl.foundation>
Date: Mon Sep 7 09:00:41 2026 +0200
cmake config test: skip for cross compiled configurations
Cross compiling the consumer project would require a toolchain
file, which is a bigger endeavour than is fitting for this test.
Native multilib builds such as linux-x86 are unaffected; they are
covered by the arch flag translation.
Suggestion-by: Mounir IDRASSI <mounir.idrassi@amcrypto.jp>
Assisted-by: Pi:moonshotai/kimi-k3
Signed-off-by: Richard Levitte <levitte@openssl.foundation>
Reviewed-by: Andrew Dinh <andrewd@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.foundation>
Merge-date: Sat Nov 14 17:36:40 2026
Merged-from: https://github.com/openssl/openssl/pull/32442
diff --git a/test/recipes/94-test_cmake_config.t b/test/recipes/94-test_cmake_config.t
index 6c2d0f91d7..1acf35f062 100644
--- a/test/recipes/94-test_cmake_config.t
+++ b/test/recipes/94-test_cmake_config.t
@@ -20,6 +20,11 @@ setup("test_cmake_config");
plan skip_all => "cmake is not available"
unless IPC::Cmd::can_run("cmake");
+# Cross compiling the consumer project would require a toolchain
+# file, which is a bigger endeavour than is fitting for this test.
+plan skip_all => 'This is unsupported for cross compiled configurations'
+ if config('CROSS_COMPILE');
+
# The cmake-built dummies aren't sanitizer-instrumented, but wrap.pl
# inherits the sanitizer runtime environment from the outer test run.
# ASan refuses to attach to a non-instrumented executable, MSan