Skip to content

Commit

Permalink
aws-iot-device-client: disable tests, as the new aws-c-io event loop …
Browse files Browse the repository at this point in the history
…interface changed.

(cherry picked from commit b34a434)
  • Loading branch information
thomas-roos committed Nov 19, 2024
1 parent 55ed58f commit 9e96030
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,17 @@ SRC_URI = "\
git://github.com/awslabs/aws-iot-device-client.git;protocol=https;branch=${BRANCH} \
file://run-ptest \
file://ptest_result.py \
file://001-disable-tests.patch \
"

SRCREV = "faf80330b96681f05a03e9409c0c0dcc67e4e915"

S = "${WORKDIR}/git"

inherit cmake systemd ptest
inherit cmake systemd
# disable package tests
# this is disabled because of this change here, that is used in the tests:
# https://github.com/awslabs/aws-c-io/commit/b6bff6f557ecf8b92131471d5668e7b90a196fab
do_compile_ptest() {
cmake_runcmake_build --target test-aws-iot-device-client
}
Expand Down
12 changes: 12 additions & 0 deletions recipes-iot/aws-iot-device-client/files/001-disable-tests.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Upstream-Status: Submitted [author]

Index: git/CMakeLists.txt
===================================================================
--- git.orig/CMakeLists.txt
+++ git/CMakeLists.txt
@@ -265,4 +265,4 @@ if (BUILD_TEST_DEPS)
${CMAKE_BINARY_DIR}/googletest-build)
endif ()

-add_subdirectory(test)
+# add_subdirectory(test)

0 comments on commit 9e96030

Please sign in to comment.