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

aws-crt-python: use submodule dependencies instead of package depende… #10501

Draft
wants to merge 1 commit into
base: master-next
Choose a base branch
from
Draft
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
20 changes: 5 additions & 15 deletions recipes-sdk/aws-crt-python/aws-crt-python_0.23.2.bb
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"

DEPENDS += "\
${PYTHON_PN}-setuptools-native \
aws-c-auth \
aws-c-cal \
aws-c-common \
aws-c-compression \
aws-c-event-stream \
aws-c-http \
aws-c-io \
aws-c-mqtt \
aws-c-s3 \
aws-c-sdkutils \
aws-checksums \
s2n \
"

BRANCH ?= "main"
# nooelint: oelint.file.patchsignedoff
SRC_URI = "\
git://github.com/awslabs/aws-crt-python.git;protocol=https;branch=${BRANCH} \
gitsm://github.com/awslabs/aws-crt-python.git;protocol=https;branch=${BRANCH} \
file://fix-shared-linking.patch \
file://run-ptest \
"
Expand Down Expand Up @@ -51,8 +39,10 @@ RDEPENDS:${PN}-ptest += "\
"

do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/* ${D}${PTEST_PATH}/tests/
cp -rf ${S}/test ${D}${PTEST_PATH}/
}

BBCLASSEXTEND = "native nativesdk"

# nooelint: oelint.vars.insaneskip:INSANE_SKIP
INSANE_SKIP:${PN}-dbg += "buildpaths"
10 changes: 4 additions & 6 deletions recipes-sdk/aws-crt-python/files/run-ptest
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@

echo nameserver 8.8.4.4 >> /etc/resolv.conf

cd tests/

# known good tests
TESTS="\
test/test_appexit.py \
test/test_auth.py \
test/test_checksums.py \
test/test_common.py \
test/test_crypto.py \
Expand All @@ -34,8 +31,9 @@ do
done

### removed tests ####
# ./test/test_http_client.py
# ./test/test_mqtt5_canary.py
# test_auth.py
# test_http_client.py
# test_mqtt5_canary.py

# a expected exception is thrown causing ptest to fail
# ./test/test_websocket.py
# test_websocket.py
Loading