Home
last modified time | relevance | path

Searched refs:ptest (Results 1 – 25 of 623) sorted by relevance

12345678910>>...25

/openbmc/openbmc/meta-openembedded/meta-python/recipes-core/packagegroups/
H A Dpackagegroup-meta-python.bb1 SUMMARY = "Meta-python ptest packagegroups"
475 RDEPENDS:packagegroup-meta-python3-ptest = "\
476 python3-ansicolors-ptest \
477 python3-appdirs-ptest \
478 python3-betamax-ptest \
479 python3-blinker-ptest \
480 python3-cachetools-ptest \
481 python3-cbor2-ptest \
482 python3-click-ptest \
483 python3-dnspython-ptest \
[all …]
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dptest.bbclass7 SUMMARY:${PN}-ptest ?= "${SUMMARY} - Package test files"
8 DESCRIPTION:${PN}-ptest ?= "${DESCRIPTION} \
11 PTEST_PATH ?= "${libdir}/${BPN}/ptest"
16 EXTRA_OEMAKE:prepend:task-compile-ptest-base = "${PTEST_PARALLEL_MAKE} "
17 EXTRA_OEMAKE:prepend:task-install-ptest-base = "${PTEST_PARALLEL_MAKEINST} "
19 FILES:${PN}-ptest += "${PTEST_PATH}"
20 SECTION:${PN}-ptest = "devel"
21 ALLOW_EMPTY:${PN}-ptest = "1"
22 PTEST_ENABLED = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '1', '0', d)}"
26 RDEPENDS:${PN}-ptest += "${PN}"
[all …]
H A Dptest-perl.bbclass7 inherit ptest
11 SRC_URI += "file://ptest-perl/run-ptest"
15 if [ ! -f ${D}${PTEST_PATH}/run-ptest ]; then
16 install -m 0755 ${UNPACKDIR}/ptest-perl/run-ptest ${D}${PTEST_PATH}
22 FILES:${PN}-ptest:prepend = "${PTEST_PATH}/t/* ${PTEST_PATH}/run-ptest "
24 RDEPENDS:${PN}-ptest:prepend = "perl "
32 # Remove all '*ptest_perl' tasks when ptest is not enabled
H A Dptest-python-pytest.bbclass7 inherit ptest
14 # Check if the recipe provides its own version of run-ptest
20 # custom script (run-ptest) in the source file list
21 if [ ! -f "${UNPACKDIR}/run-ptest" ]; then
22 cat > ${D}${PTEST_PATH}/run-ptest << EOF
27 chmod 755 ${D}${PTEST_PATH}/run-ptest
35 FILES:${PN}-ptest:prepend = "${PTEST_PATH}/*"
37 RDEPENDS:${PN}-ptest:prepend = "python3-pytest python3-unittest-automake-output "
H A Dgo-ptest.bbclass7 inherit go ptest
24 cat >${D}${PTEST_PATH}/run-ptest <<EOF
46 echo "run_test $testdir $testprog || RC=1" >> ${D}${PTEST_PATH}/run-ptest
50 echo "exit \$RC" >> ${D}${PTEST_PATH}/run-ptest
51 chmod +x ${D}${PTEST_PATH}/run-ptest
59 INSANE_SKIP:${PN}-ptest += "ldflags"
/openbmc/openbmc/poky/meta/recipes-support/ptest-runner/
H A Dptest-runner_2.4.5.1.bb2 DESCRIPTION = "The ptest-runner2 package installs a ptest-runner \
3 program which loops through all installed ptest test suites and \
5 HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/about/"
12 SRC_URI = "git://git.yoctoproject.org/ptest-runner2;branch=master;protocol=https \
17 FILES:${PN} = "${bindir}/ptest-runner ${bindir}/ptest-runner-collect-system-data"
26 install -D -m 0755 ${S}/ptest-runner ${D}${bindir}/ptest-runner
27 …install -D -m 0755 ${S}/ptest-runner-collect-system-data ${D}${bindir}/ptest-runner-collect-system…
32 # pstree is called by ptest-runner-collect-system-data
38 USERADD_PARAM:${PN} = "--system --no-create-home --home / --user-group ptest"
/openbmc/openbmc/poky/documentation/test-manual/
H A Dptest.rst4 Testing Packages With ptest
7 A Package Test (ptest) runs tests against packages built by the
8 OpenEmbedded build system on the target machine. A ptest contains at
9 least two items: the actual test, and a shell script (``run-ptest``)
23 For a list of Yocto Project recipes that are already enabled with ptest,
28 A recipe is "ptest-enabled" if it inherits the :ref:`ref-classes-ptest`
31 Adding ptest to Your Build
38 DISTRO_FEATURES:append = " ptest"
39 EXTRA_IMAGE_FEATURES += "ptest-pkgs"
41 Once your build is complete, the ptest files are installed into the
[all …]
/openbmc/openbmc/meta-security/recipes-core/packagegroup/
H A Dpackagegroup-core-security.bb16 …${@bb.utils.contains("DISTRO_FEATURES", "ptest", "packagegroup-meta-security-ptest-packages", "", …
26 …${@bb.utils.contains("DISTRO_FEATURES", "ptest", "packagegroup-meta-security-ptest-packages", "", …
104 RDEPENDS:packagegroup-meta-security-ptest-packages = "\
105 ptest-runner \
106 samhain-standalone-ptest \
107 ${@bb.utils.contains("BBLAYERS", "meta-rust", "suricata-ptest","", d)} \
108 ${@bb.utils.contains("DISTRO_FEATURES", "smack", "smack-ptest", "",d)} \
111 RDEPENDS:packagegroup-security-ptest-packages:remove:powerpc = "suricata-ptest"
112 RDEPENDS:packagegroup-security-ptest-packages:remove:powerpc64le = "suricata-ptest"
113 RDEPENDS:packagegroup-security-ptest-packages:remove:powerpc64 = "suricata-ptest"
[all …]
/openbmc/openbmc/meta-openembedded/meta-perl/recipes-core/packagegroups/
H A Dpackagegroup-meta-perl.bb9 …${@bb.utils.contains("DISTRO_FEATURES", "ptest", "packagegroup-meta-perl-ptest-packages", "", d)} \
89 RDEPENDS:packagegroup-meta-perl-ptest-packages = "\
90 libmime-types-perl-ptest \
91 libio-socket-ssl-perl-ptest \
92 libdata-hexdump-perl-ptest \
93 libauthen-sasl-perl-ptest \
94 libnet-dns-perl-ptest \
95 libnet-dns-sec-perl-ptest \
96 libnet-ssleay-perl-ptest \
97 libtest-harness-perl-ptest \
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/python/
H A Dpython3-packaging_24.2.bb8 SRC_URI += "file://run-ptest.in"
10 inherit pypi python_flit_core ptest
30 sed -e 's|IGNOREDTESTS|${SKIPLIST}|' ${UNPACKDIR}/run-ptest.in > ${D}${PTEST_PATH}/run-ptest
31 chmod 0755 ${D}${PTEST_PATH}/run-ptest
34 RDEPENDS:${PN}-ptest = "\
41 # The ptest package contains prebuilt test binaries
43 INSANE_SKIP:${PN}-ptest = "arch"
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-core/images/
H A Dmeta-networking-image-ptest.bb2 REQUIRED_DISTRO_FEATURES = "ptest"
5 require conf/include/ptest-packagelists-meta-networking.inc
7 SUMMARY = "meta-networking ptest test image"
9 DESCRIPTION += "Also including the ${MCNAME} ptest package."
14 IMAGE_INSTALL:append = " ${MCNAME}-ptest openssh"
23 # If a particular ptest needs more space, it can be customized:
28 # If a particular ptest needs more memroy, it can be customized:
32 TEST_SUITES = "ping ssh parselogs ptest"
H A Dmeta-networking-image-ptest-all.bb1 DESCRIPTION = "Recipe to trigger execution of all meta-networking ptest images."
7 REQUIRED_DISTRO_FEATURES = "ptest"
9 require conf/include/ptest-packagelists-meta-networking.inc
15 do_testimage[depends] = "${@' '.join(['meta-networking-image-ptest-'+x+':do_testimage' for x in d.g…
17 do_build[depends] = "${@' '.join(['meta-networking-image-ptest-'+x+':do_build' for x in d.getVar('P…
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/images/
H A Dmeta-oe-image-ptest.bb2 REQUIRED_DISTRO_FEATURES = "ptest"
5 require conf/include/ptest-packagelists-meta-oe.inc
7 SUMMARY = "meta-oe ptest test image"
9 DESCRIPTION += "Also including the ${MCNAME} ptest package."
14 IMAGE_INSTALL:append = " ${MCNAME}-ptest openssh"
23 # If a particular ptest needs more space, it can be customized:
29 # If a particular ptest needs more memroy, it can be customized:
32 TEST_SUITES = "ping ssh parselogs ptest"
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/images/
H A Dmeta-multimedia-image-ptest.bb2 REQUIRED_DISTRO_FEATURES = "ptest"
5 require conf/include/ptest-packagelists-meta-multimedia.inc
7 SUMMARY = "meta-multimedia ptest test image"
9 DESCRIPTION += "Also including the ${MCNAME} ptest package."
14 IMAGE_INSTALL:append = " ${MCNAME}-ptest openssh"
23 # If a particular ptest needs more space, it can be customized:
28 # If a particular ptest needs more memroy, it can be customized:
31 TEST_SUITES = "ping ssh parselogs ptest"
/openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-filesystems/images/
H A Dmeta-filesystems-image-ptest.bb2 REQUIRED_DISTRO_FEATURES = "ptest"
5 require conf/include/ptest-packagelists-meta-filesystems.inc
7 SUMMARY = "meta-filesystems ptest test image"
9 DESCRIPTION += "Also including the ${MCNAME} ptest package."
14 IMAGE_INSTALL:append = " ${MCNAME}-ptest openssh"
23 # If a particular ptest needs more space, it can be customized:
28 # If a particular ptest needs more memroy, it can be customized:
31 TEST_SUITES = "ping ssh parselogs ptest"
H A Dmeta-filesystems-image-ptest-all.bb1 DESCRIPTION = "Recipe to trigger execution of all meta-filesystems ptest images."
7 REQUIRED_DISTRO_FEATURES = "ptest"
9 require conf/include/ptest-packagelists-meta-filesystems.inc
15 do_testimage[depends] = "${@' '.join(['meta-filesystems-image-ptest-'+x+':do_testimage' for x in d.…
17 do_build[depends] = "${@' '.join(['meta-filesystems-image-ptest-'+x+':do_build' for x in d.getVar('…
/openbmc/openbmc/meta-openembedded/meta-perl/recipes-core/images/
H A Dmeta-perl-image-ptest.bb2 REQUIRED_DISTRO_FEATURES += "ptest"
4 SUMMARY = "meta-perl build ptest image"
7 require conf/include/ptest-packagelists-meta-perl.inc
9 DESCRIPTION += "Also including the ${MCNAME} ptest package."
14 IMAGE_INSTALL:append = " ${MCNAME}-ptest openssh"
23 # If a particular ptest needs more space, it can be customized:
28 # If a particular ptest needs more memory, it can be customized:
31 TEST_SUITES = "ping ssh parselogs ptest"
/openbmc/openbmc/poky/meta/recipes-core/images/
H A Dcore-image-ptest.bb2 REQUIRED_DISTRO_FEATURES = "ptest"
5 require conf/distro/include/ptest-packagelists.inc
7 DESCRIPTION += "Also including the ${MCNAME} ptest package."
8 SUMMARY ?= "${MCNAME} ptest image."
13 IMAGE_INSTALL:append = " ${MCNAME}-ptest openssh"
20 # strace-ptest in particular needs more than 500MB
27 # tar-ptest in particular needs more space
37 TEST_SUITES = "ping ssh parselogs ptest"
H A Dcore-image-ptest-all.bb1 SUMMARY = "Recipe to trigger execution of all ptest images."
7 REQUIRED_DISTRO_FEATURES = "ptest"
9 require conf/distro/include/ptest-packagelists.inc
15 do_testimage[depends] = "${@' '.join(['core-image-ptest-'+x+':do_testimage' for x in d.getVar('PTES…
17 do_build[depends] = "${@' '.join(['core-image-ptest-'+x+':do_build' for x in d.getVar('PTESTS').spl…
/openbmc/openbmc/poky/meta/recipes-extended/cpio/
H A Dcpio_2.15.bb10 file://run-ptest \
16 inherit autotools gettext texinfo ptest
58 # ptest.bbclass currently chowns the ptest directory explicitly, so we need to
59 # change permission after that has happened so the ptest user can write a
62 chgrp -R ptest ${D}${PTEST_PATH}/
66 # The tests need to run as a non-root user, so pull in the ptest user
67 DEPENDS:append:class-target = "${@bb.utils.contains('PTEST_ENABLED', '1', ' ptest-runner', '', d)}"
68 PACKAGE_WRITE_DEPS += "ptest-runner"
70 RDEPENDS:${PN}-ptest += "ptest-runner"
/openbmc/openbmc/meta-openembedded/meta-python/recipes-core/images/
H A Dmeta-python-image-ptest.bb2 REQUIRED_DISTRO_FEATURES = "ptest"
5 require conf/include/ptest-packagelists-meta-python.inc
7 SUMMARY = "meta-python ptest test image"
9 DESCRIPTION += "Also including the ${MCNAME} ptest package."
14 IMAGE_INSTALL:append = " ${MCNAME}-ptest openssh"
23 # If a particular ptest needs more space, it can be customized:
28 # If a particular ptest needs more memory, it can be customized:
36 TEST_SUITES = "ping ssh parselogs ptest"
H A Dmeta-python-image-ptest-all.bb1 DESCRIPTION = "Recipe to trigger execution of all meta-python ptest images."
7 REQUIRED_DISTRO_FEATURES = "ptest"
9 require conf/include/ptest-packagelists-meta-python.inc
15 do_testimage[depends] = "${@' '.join(['meta-python-image-ptest-'+x+':do_testimage' for x in d.getVa…
17 do_build[depends] = "${@' '.join(['meta-python-image-ptest-'+x+':do_build' for x in d.getVar('PTEST…
/openbmc/openbmc/poky/meta/recipes-core/glibc/
H A Dglibc-y2038-tests_2.40.bb4 inherit ptest features_check
5 REQUIRED_DISTRO_FEATURES = "ptest"
8 file://run-ptest \
11 SUMMARY = "glibc tests using time32/time64 interfaces to be run with ptest for the purpose of check…
16 d.setVar("PACKAGES", "${PN} ${PN}-dbg ${PN}-ptest")
18 d.setVar("PROVIDES", "${PN} ${PN}-ptest")
31 RDEPENDS:${PN}-ptest = "${PN}"
71 install -d ${D}${PTEST_PATH}/tests/glibc-ptest/
75 cp -r ${f} ${D}${PTEST_PATH}/tests/glibc-ptest/
79 cp ${UNPACKDIR}/run-ptest ${D}${PTEST_PATH}/
/openbmc/openbmc/poky/meta/recipes-devtools/quilt/
H A Dquilt.inc11 file://run-ptest \
20 inherit autotools-brokensep ptest
62 # The tests need to run as a non-root user, so pull in the ptest user
63 DEPENDS:append:class-target = "${@bb.utils.contains('PTEST_ENABLED', '1', ' ptest-runner', '', d)}"
64 PACKAGE_WRITE_DEPS += "${@bb.utils.contains('PTEST_ENABLED', '1', 'ptest-runner', '', d)}"
74 # ptest.bbclass currently chowns the ptest directory explicitly, so we need to
75 # change permission after that has happened so the ptest user can write a
78 chgrp ptest ${D}${PTEST_PATH}/test
93 RDEPENDS:${PN}-ptest += "file sed gawk diffutils findutils ed perl \
97 bash util-linux-getopt ptest-runner coreutils \
/openbmc/openbmc/poky/scripts/lib/resulttool/
H A Dlog.py10 def show_ptest(result, ptest, logger): argument
11 logdata = resultutils.ptestresult_get_log(result, ptest)
16 print("ptest '%s' log not found" % ptest)
38 for name, ptest in r[sectname].items():
74 for ptest in args.ptest:
75 if not show_ptest(r, ptest, logger):

12345678910>>...25