diff options
| author | Anuj Mittal <anuj.mittal@intel.com> | 2023-03-14 11:24:51 +0800 |
|---|---|---|
| committer | Anuj Mittal <anuj.mittal@intel.com> | 2023-03-15 10:46:28 +0800 |
| commit | 48e5fcbf52fa33a12d12d97a045d48ae76e83ded (patch) | |
| tree | 0bff64844dc86e3562f6063d9f1359e02584ef53 | |
| parent | e338dcb73ee7cb11a942332e62edfdfcbd872093 (diff) | |
| download | meta-intel-48e5fcbf52fa33a12d12d97a045d48ae76e83ded.tar.gz | |
jhi: remove recipe and test
This project is no longer maintained.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
| -rw-r--r-- | conf/include/maintainers.inc | 1 | ||||
| -rw-r--r-- | lib/oeqa/runtime/cases/jhi.py | 41 | ||||
| -rw-r--r-- | recipes-support/jhi/jhi_1.41.bb | 72 |
3 files changed, 0 insertions, 114 deletions
diff --git a/conf/include/maintainers.inc b/conf/include/maintainers.inc index b82868ec..3a94b3e7 100644 --- a/conf/include/maintainers.inc +++ b/conf/include/maintainers.inc | |||
| @@ -22,7 +22,6 @@ RECIPE_MAINTAINER:pn-itt = "Naveen Saini <naveen.kumar.saini@intel.com>" | |||
| 22 | RECIPE_MAINTAINER:pn-ixgbe = "Naveen Saini <naveen.kumar.saini@intel.com>" | 22 | RECIPE_MAINTAINER:pn-ixgbe = "Naveen Saini <naveen.kumar.saini@intel.com>" |
| 23 | RECIPE_MAINTAINER:pn-ixgbevf = "Naveen Saini <naveen.kumar.saini@intel.com>" | 23 | RECIPE_MAINTAINER:pn-ixgbevf = "Naveen Saini <naveen.kumar.saini@intel.com>" |
| 24 | RECIPE_MAINTAINER:pn-iucode-tool = "Anuj Mittal <anuj.mittal@intel.com>" | 24 | RECIPE_MAINTAINER:pn-iucode-tool = "Anuj Mittal <anuj.mittal@intel.com>" |
| 25 | RECIPE_MAINTAINER:pn-jhi = "Naveen Saini <naveen.kumar.saini@intel.com>" | ||
| 26 | RECIPE_MAINTAINER:pn-level-zero = "Naveen Saini <naveen.kumar.saini@intel.com>" | 25 | RECIPE_MAINTAINER:pn-level-zero = "Naveen Saini <naveen.kumar.saini@intel.com>" |
| 27 | RECIPE_MAINTAINER:pn-libipt = "Naveen Saini <naveen.kumar.saini@intel.com>" | 26 | RECIPE_MAINTAINER:pn-libipt = "Naveen Saini <naveen.kumar.saini@intel.com>" |
| 28 | RECIPE_MAINTAINER:pn-libva-intel = "Anuj Mittal <anuj.mittal@intel.com>" | 27 | RECIPE_MAINTAINER:pn-libva-intel = "Anuj Mittal <anuj.mittal@intel.com>" |
diff --git a/lib/oeqa/runtime/cases/jhi.py b/lib/oeqa/runtime/cases/jhi.py deleted file mode 100644 index 7a24b6da..00000000 --- a/lib/oeqa/runtime/cases/jhi.py +++ /dev/null | |||
| @@ -1,41 +0,0 @@ | |||
| 1 | import os | ||
| 2 | from oeqa.runtime.decorator.package import OEHasPackage | ||
| 3 | from oeqa.runtime.case import OERuntimeTestCase | ||
| 4 | from oeqa.core.decorator.depends import OETestDepends | ||
| 5 | |||
| 6 | class JhiTest(OERuntimeTestCase): | ||
| 7 | |||
| 8 | @classmethod | ||
| 9 | def tearDownClass(cls): | ||
| 10 | _, output = cls.tc.target.run('pidof jhid') | ||
| 11 | cls.tc.target.run('kill %s' % output) | ||
| 12 | |||
| 13 | @OEHasPackage(['openssh-sshd']) | ||
| 14 | @OEHasPackage(['jhi']) | ||
| 15 | def test_jhi_mei_driver(self): | ||
| 16 | command = 'ls /dev/mei*' | ||
| 17 | (status, output) = self.target.run(command) | ||
| 18 | self.assertEqual(status, 0, msg="Error messages: %s" % output) | ||
| 19 | |||
| 20 | @OETestDepends(['jhi.JhiTest.test_jhi_mei_driver']) | ||
| 21 | def test_jhi_daemon_version(self): | ||
| 22 | command = 'jhid -v' | ||
| 23 | (status, output) = self.target.run(command) | ||
| 24 | self.assertEqual(status, 0, msg="Error messages: %s" % output) | ||
| 25 | |||
| 26 | @OETestDepends(['jhi.JhiTest.test_jhi_mei_driver']) | ||
| 27 | def test_jhi_daemon_can_initialized(self): | ||
| 28 | command = 'jhid -d' | ||
| 29 | (status, output) = self.target.run(command) | ||
| 30 | self.assertEqual(status, 0, msg="Error messages: %s" % output) | ||
| 31 | |||
| 32 | @OEHasPackage(['jhi-test']) | ||
| 33 | @OETestDepends(['jhi.JhiTest.test_jhi_daemon_can_initialized']) | ||
| 34 | def test_jhi_bist(self): | ||
| 35 | (status, output) = self.target.run('uname -m') | ||
| 36 | self.assertEqual(status, 0, msg='status and output: %s and %s' % (status, output)) | ||
| 37 | if 'x86_64' not in output: | ||
| 38 | self.skipTest("Skipped jhi bist test if not x86_64 machine (current machine: %s)." % output) | ||
| 39 | command = 'bist' | ||
| 40 | (status, output) = self.target.run(command) | ||
| 41 | self.assertEqual(status, 0, msg="Error messages: %s" % output) | ||
diff --git a/recipes-support/jhi/jhi_1.41.bb b/recipes-support/jhi/jhi_1.41.bb deleted file mode 100644 index bbb30a6d..00000000 --- a/recipes-support/jhi/jhi_1.41.bb +++ /dev/null | |||
| @@ -1,72 +0,0 @@ | |||
| 1 | SUMMARY = "Intel Dynamic Application Loader (DAL) Host Interface" | ||
| 2 | DESCRIPTION = "A daemon and libraries which allow user space applications \ | ||
| 3 | to install Java applets on DAL FW and communicate with them" | ||
| 4 | LICENSE = "Apache-2.0" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=833126f14614a3276708a4d7c9734645" | ||
| 6 | |||
| 7 | SRC_URI = "git://github.com/intel/dynamic-application-loader-host-interface.git;protocol=https;branch=master" | ||
| 8 | |||
| 9 | inherit cmake useradd systemd pkgconfig update-rc.d | ||
| 10 | |||
| 11 | SRCREV = "4c9ef52bcd55fa03b30ac323e553a05be858d41e" | ||
| 12 | |||
| 13 | S = "${WORKDIR}/git" | ||
| 14 | |||
| 15 | DEPENDS += "util-linux libxml2" | ||
| 16 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" | ||
| 17 | RDEPENDS:${PN} += "bash" | ||
| 18 | |||
| 19 | USERADD_PACKAGES = "${PN}" | ||
| 20 | USERADD_PARAM:${PN} = "--system --no-create-home --shell /bin/false -g mei jhi" | ||
| 21 | |||
| 22 | GROUPADD_PARAM:${PN} = "-g 880 mei" | ||
| 23 | |||
| 24 | COMPATIBLE_HOST:libc-musl = 'null' | ||
| 25 | |||
| 26 | SYSTEMD_SERVICE:${PN} = "jhi.service" | ||
| 27 | |||
| 28 | INITSCRIPT_PACKAGES = "${PN}" | ||
| 29 | INITSCRIPT_NAME:${PN} = "${PN}" | ||
| 30 | INITSCRIPT_PARAMS:${PN} = "defaults" | ||
| 31 | |||
| 32 | # systemd is the default so they are installed when sysvinit is not selected as INIT_SYSTEM | ||
| 33 | EXTRA_OECMAKE = "-DCMAKE_SKIP_RPATH=ON \ | ||
| 34 | -DINIT_SYSTEM=${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'SysVinit', 'systemd', d)} \ | ||
| 35 | -DAPPLETS_DIR=${libdir}/dal/applets \ | ||
| 36 | -DAPP_REPO_DIR=${localstatedir}/cache/dal/applet_repository \ | ||
| 37 | " | ||
| 38 | |||
| 39 | do_install:append () { | ||
| 40 | install -d ${D}${localstatedir}/cache/dal/applet_repository | ||
| 41 | |||
| 42 | chown -R jhi ${D}${localstatedir}/cache/dal/applet_repository | ||
| 43 | chgrp -R mei ${D}${localstatedir}/cache/dal/applet_repository | ||
| 44 | |||
| 45 | install -d ${D}${bindir} | ||
| 46 | install -m 755 ${B}/bin_linux/smoketest ${D}${bindir} | ||
| 47 | install -m 755 ${B}/bin_linux/bist ${D}${bindir} | ||
| 48 | |||
| 49 | install -d ${D}${libdir}/dal/applets | ||
| 50 | cp -r ${S}/test/smoketest/applets/* ${D}${libdir}/dal/applets/ | ||
| 51 | } | ||
| 52 | |||
| 53 | PACKAGES += "${PN}-test" | ||
| 54 | |||
| 55 | FILES:${PN}-dev = "" | ||
| 56 | |||
| 57 | FILES:${PN} = "\ | ||
| 58 | ${sbindir} \ | ||
| 59 | ${sysconfdir} \ | ||
| 60 | ${libdir}/lib*${SOLIBSDEV} \ | ||
| 61 | ${libdir}/dal/applets/SpoolerApplet.dalp \ | ||
| 62 | ${nonarch_libdir}/tmpfiles.d \ | ||
| 63 | ${systemd_system_unitdir} \ | ||
| 64 | ${localstatedir}/cache/dal/applet_repository \ | ||
| 65 | " | ||
| 66 | |||
| 67 | FILES:${PN}-test = "\ | ||
| 68 | ${bindir} \ | ||
| 69 | ${libdir}/dal/applets \ | ||
| 70 | " | ||
| 71 | |||
| 72 | UPSTREAM_CHECK_COMMITS = "1" | ||
