bodnuti: [OE-core][PATCH 0/6] add hyperfine recipe, improve ptest-cargo.bbclass base: 2c6f137c23b7 [OE-core][PATCH 1/6] hyperfine: add recipe ERROR oelint oelint.vars.inconspaces meta/recipes-devtools/hyperfine/hyperfine-crates.inc:4 Assignment should be 'VAR += "foo"' not 'VAR += " foo"' 1 | # Autogenerated with 'bitbake -c update_crates hyperfine' 2 | 3 | # from Cargo.lock > 4 | SRC_URI += " \ 5 | crate://crates.io/aho-corasick/1.1.5 \ 6 | crate://crates.io/anstream/1.0.0 \ 7 | crate://crates.io/anstyle/1.0.14 \ [OE-core][PATCH 2/6] hyperfine: add ptest support ERROR patchtest test_patch.test_signed_off_by_presence A patch file has been added without a Signed-off-by tag: '0001-tests-allow-overriding-the-hyperfine-binary-with-HYP.patch' WARNING oelint oelint.file.patchsignedoff meta/recipes-devtools/hyperfine/hyperfine_2.0.0.bb:9 Patch '0001-tests-allow-overriding-the-hyperfine-binary-with-HYP.patch' should contain a Signed-off-by entry 6 | 7 | inherit cargo cargo-update-recipe-crates ptest-cargo 8 | > 9 | SRC_URI = "git://github.com/sharkdp/hyperfine.git;protocol=https;nobranch=1;tag=v${PV} \ 10 | file://0001-tests-allow-overriding-the-hyperfine-binary-with-HYP.patch \ 11 | file://run-ptest \ 12 | " WARNING oelint oelint.task.pythonprefix meta/recipes-devtools/hyperfine/hyperfine_2.0.0.bb:22 Tasks containing python code, should be prefixed with python in function header 19 | 20 | # Point the tests at the target locations at compile time, which also keeps 21 | # build paths (CARGO_BIN_EXE_hyperfine, CARGO_MANIFEST_DIR) out of the test binaries. > 22 | do_compile_ptest_cargo:prepend() { 23 | os.environ["HYPERFINE_BIN"] = d.expand("${bindir}/hyperfine") 24 | os.environ["INSTA_WORKSPACE_ROOT"] = d.getVar("PTEST_PATH") 25 | } INFO oelint oelint.file.inappropriatemsg meta/recipes-devtools/hyperfine/hyperfine_2.0.0.bb:9 Patch '0001-tests-allow-overriding-the-hyperfine-binary-with-HYP.patch' with Upstream-Status Inappropriate has to have a reasoning appended in [], chosen from oe-specific,OE specific,oe-core specific,not author,native,licensing,configuration,enable feature,disable feature,bugfix .*,embedded specific,no upstream,other,upstream ticket .* 6 | 7 | inherit cargo cargo-update-recipe-crates ptest-cargo 8 | > 9 | SRC_URI = "git://github.com/sharkdp/hyperfine.git;protocol=https;nobranch=1;tag=v${PV} \ 10 | file://0001-tests-allow-overriding-the-hyperfine-binary-with-HYP.patch \ 11 | file://run-ptest \ 12 | " style INFO oelint oelint.vars.notneededspace meta/recipes-devtools/hyperfine/hyperfine-crates.inc:4 Space at the beginning of the var is not needed 1 | # Autogenerated with 'bitbake -c update_crates hyperfine' 2 | 3 | # from Cargo.lock > 4 | SRC_URI += " \ 5 | crate://crates.io/aho-corasick/1.1.5 \ 6 | crate://crates.io/anstream/1.0.0 \ 7 | crate://crates.io/anstyle/1.0.14 \ WARNING oelint oelint.tabs.notabs meta/recipes-devtools/hyperfine/hyperfine_2.0.0.bb:27 Don't use tabs use spaces 24 | os.environ["INSTA_WORKSPACE_ROOT"] = d.getVar("PTEST_PATH") 25 | } 26 | > 27 | do_install_ptest() { 28 | cp -r ${S}/tests ${D}${PTEST_PATH}/ 29 | rm ${D}${PTEST_PATH}/tests/*.rs 30 | } INFO oelint oelint.var.suggestedvar.BUGTRACKER meta/recipes-devtools/hyperfine/hyperfine_2.0.0.bb:1 Variable 'BUGTRACKER' should be set > 1 | SUMMARY = "A command-line benchmarking tool" 2 | HOMEPAGE = "https://github.com/sharkdp/hyperfine" 3 | LICENSE = "Apache-2.0 OR MIT" 4 | LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=50c79cd7360537975dfbbd15f8d01a34 \ INFO oelint oelint.var.suggestedvar.CVE_PRODUCT meta/recipes-devtools/hyperfine/hyperfine_2.0.0.bb:1 Variable 'CVE_PRODUCT' should be set > 1 | SUMMARY = "A command-line benchmarking tool" 2 | HOMEPAGE = "https://github.com/sharkdp/hyperfine" 3 | LICENSE = "Apache-2.0 OR MIT" 4 | LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=50c79cd7360537975dfbbd15f8d01a34 \ not checked shellcheck shellcheck could not parse meta/recipes-devtools/hyperfine/hyperfine_2.0.0.bb at line 22: Couldn't parse this brace group. Fix to allow more checks. (SC1073); its shell was not checked patchtest: 62 pass, 1 fail, 27 skip 5 findings: 2 errors, 2 warnings, 1 info (4 style, not counted)