Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport kirkstone-next] aws-iot-device-client: disable tests, as the new aws-c-io event loop … #10419

Merged
merged 1 commit into from
Nov 19, 2024
Merged
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
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)
Loading