Did I find the right examples for you? yes no

All Samples(7)  |  Call(7)  |  Derive(0)  |  Import(0)

src/o/e/oe-core-HEAD/meta/lib/oeqa/runtime/x32lib.py   oe-core(Download)
def setUpModule():
        #check if DEFAULTTUNE is set and it's value is: x86-64-x32
        defaulttune = oeRuntimeTest.tc.d.getVar("DEFAULTTUNE", True)
        if "x86-64-x32" not in defaulttune:
            skipModule("DEFAULTTUNE is not set to x86-64-x32")

src/o/e/oe-core-HEAD/meta/lib/oeqa/runtime/systemd.py   oe-core(Download)
def setUpModule():
    if not oeRuntimeTest.hasFeature("systemd"):
            skipModule("target doesn't have systemd in DISTRO_FEATURES")
    if "systemd" != oeRuntimeTest.tc.d.getVar("VIRTUAL-RUNTIME_init_manager", True):
            skipModule("systemd is not the init manager for this image")

src/o/e/oe-core-HEAD/meta/lib/oeqa/runtime/smart.py   oe-core(Download)
    def setUpClass(self):
        self.repo_server = HTTPService(oeRuntimeTest.tc.d.getVar('DEPLOY_DIR', True), oeRuntimeTest.tc.target.server_ip)
        self.repo_server.start()
 
    @classmethod

src/o/e/oe-core-HEAD/meta/lib/oeqa/runtime/scp.py   oe-core(Download)
    def test_scp_file(self):
        test_log_dir = oeRuntimeTest.tc.d.getVar("TEST_LOG_DIR", True)
        test_file_path = os.path.join(test_log_dir, 'test_scp_file')
        with open(test_file_path, 'w') as test_scp_file:
            test_scp_file.seek(2 ** 22 - 1)

src/o/e/oe-core-HEAD/meta/lib/oeqa/runtime/rpm.py   oe-core(Download)
    def setUpClass(self):
        pkgarch = oeRuntimeTest.tc.d.getVar('TUNE_PKGARCH', True).replace("-", "_")
        rpmdir = os.path.join(oeRuntimeTest.tc.d.getVar('DEPLOY_DIR', True), "rpm", pkgarch)
        # pick rpm-doc as a test file to get installed, because it's small and it will always be built for standard targets
        for f in fnmatch.filter(os.listdir(rpmdir), "rpm-doc-*.%s.rpm" % pkgarch):

src/o/e/oe-core-HEAD/meta/lib/oeqa/runtime/multilib.py   oe-core(Download)
def setUpModule():
    multilibs = oeRuntimeTest.tc.d.getVar("MULTILIBS", True) or ""
    if "multilib:lib32" not in multilibs:
        skipModule("this isn't a multilib:lib32 image")
 

src/o/e/oe-core-HEAD/meta/lib/oeqa/runtime/syslog.py   oe-core(Download)
    def test_syslog_restart(self):
        if "systemd" != oeRuntimeTest.tc.d.getVar("VIRTUAL-RUNTIME_init_manager"):
            (status,output) = self.target.run('/etc/init.d/syslog restart')
        else:
            (status,output) = self.target.run('systemctl restart syslog.service')