bodnuti
Deterministic checks of Yocto Project & OpenEmbedded patches.
[OE-core][PATCH] curl: build and install unit tests for ptest
- List
- openembedded-core
- Thread
- lore
- Author
- Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco)
- Last message
- 2026-11-24 10:23
- Result
- 1 finding ยท 1 style finding
- Checked against
- openembedded-core master
- Base
39019629a4ad
[OE-core][PATCH] curl: build and install unit tests for ptest
warning shellcheck
SC2164 meta/recipes-support/curl/curl_8.23.0.bb:125122123do_configure_ptest() {124 install -d ${PTEST_UNIT_BUILD}125 cd ${PTEST_UNIT_BUILD}126 oe_runconf --disable-shared --enable-static127}128
Model, unverified: The cd into ${PTEST_UNIT_BUILD} in do_configure_ptest lacks an error guard, so if the directory creation or path resolution fails the configure script runs from an unexpected directory. Fix: Change to 'cd ${PTEST_UNIT_BUILD} || exit 1' to abort the task if the directory cannot be entered, preventing a misleading configure error from a wrong directory.
Show 1 style finding
warning oelint
oelint.tabs.notabs meta/recipes-support/curl/curl_8.23.0.bb:166163164DEPENDS:append:class-target = "${@bb.utils.contains('PTEST_ENABLED', '1', ' openssl-native', '', d)}"165166RDEPENDS:${PN}-ptest += " \167 locale-base-en-us \168 perl-module-b \169 perl-module-base \
Model review (bodnuti-qwen3.8-27b-48k-text): 0 findings
Found by a model, not checked by a person; not counted in the result.
Took 9 min 7 s; 21746 tokens read, 100 written; confidence high; prompt v5
No findings.
patchtest: 10 pass, 0 fail, 5 skip