Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
This enable the tests even when crosscompiling.
From 0163e1fed459976b135103934b04d2d92f4f47b9 Mon Sep 17 00:00:00 2001
From: Thomas Roos <throos@amazon.de>
Date: Mon, 29 Sep 2025 12:51:03 +0000
Subject: [PATCH] This enable the tests even when crosscompiling.

Upstream-Status: Inappropriate [oe specific]
---
CMakeLists.txt | 2 --
1 file changed, 2 deletions(-)

Index: aws-c-io-0.22.1/CMakeLists.txt
===================================================================
--- aws-c-io-0.22.1.orig/CMakeLists.txt
+++ aws-c-io-0.22.1/CMakeLists.txt
@@ -245,8 +245,6 @@ install(FILES "${CMAKE_CURRENT_BINARY_DI
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 191d1b6..ae2b846 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -255,8 +255,6 @@ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config.cmake"
DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}/"
COMPONENT Development)

-if (NOT CMAKE_CROSSCOMPILING)
if (BUILD_TESTING)
add_subdirectory(tests)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ SRC_URI = "\
file://001-enable-tests-with-crosscompiling.patch \
file://run-ptest \
"
SRCREV = "9b8d716b3b12de435fbabed834ef435fd3f153c2"
SRCREV = "8906a02cb204b0b01cd38c2c2d62d7312dbee50f"

inherit cmake ptest pkgconfig

Expand Down
Loading