Did I find the right examples for you? yes no

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

src/o/e/oe-core-HEAD/meta/lib/oeqa/runtime/smart.py   oe-core(Download)
def setUpModule():
    if not oeRuntimeTest.hasFeature("package-management"):
        skipModule("Image doesn't have package management feature")
    if not oeRuntimeTest.hasPackage("smart"):
        skipModule("Image doesn't have smart installed")

src/o/e/oe-core-HEAD/meta/lib/oeqa/runtime/connman.py   oe-core(Download)
    def service_status(self, service):
        if oeRuntimeTest.hasFeature("systemd"):
            (status, output) = self.target.run('systemctl status -l %s' % service)
            return output
        else:

src/o/e/oe-core-HEAD/meta/lib/oeqa/runtime/pam.py   oe-core(Download)
def setUpModule():
    if not oeRuntimeTest.hasFeature("pam"):
        skipModule("target doesn't have 'pam' in DISTRO_FEATURES")
 
 

src/o/e/oe-core-HEAD/meta/lib/oeqa/runtime/gcc.py   oe-core(Download)
def setUpModule():
    if not oeRuntimeTest.hasFeature("tools-sdk"):
        skipModule("Image doesn't have tools-sdk in IMAGE_FEATURES")
 
 

src/o/e/oe-core-HEAD/meta/lib/oeqa/runtime/buildiptables.py   oe-core(Download)
def setUpModule():
    if not oeRuntimeTest.hasFeature("tools-sdk"):
        skipModule("Image doesn't have tools-sdk in IMAGE_FEATURES")
 
class BuildIptablesTest(oeRuntimeTest):

src/o/e/oe-core-HEAD/meta/lib/oeqa/runtime/buildcvs.py   oe-core(Download)
def setUpModule():
    if not oeRuntimeTest.hasFeature("tools-sdk"):
        skipModule("Image doesn't have tools-sdk in IMAGE_FEATURES")
 
class BuildCvsTest(oeRuntimeTest):

src/o/e/oe-core-HEAD/meta/lib/oeqa/runtime/rpm.py   oe-core(Download)
def setUpModule():
    if not oeRuntimeTest.hasFeature("package-management"):
            skipModule("rpm module skipped: target doesn't have package-management in IMAGE_FEATURES")
    if "package_rpm" != oeRuntimeTest.tc.d.getVar("PACKAGE_CLASSES", True).split()[0]:
            skipModule("rpm module skipped: target doesn't have rpm as primary package manager")

src/o/e/oe-core-HEAD/meta/lib/oeqa/runtime/xorg.py   oe-core(Download)
def setUpModule():
    if not oeRuntimeTest.hasFeature("x11-base"):
            skipModule("target doesn't have x11 in IMAGE_FEATURES")
 
 

src/o/e/oe-core-HEAD/meta/lib/oeqa/runtime/ldd.py   oe-core(Download)
def setUpModule():
    if not oeRuntimeTest.hasFeature("tools-sdk"):
        skipModule("Image doesn't have tools-sdk in IMAGE_FEATURES")
 
class LddTest(oeRuntimeTest):

src/o/e/oe-core-HEAD/meta/lib/oeqa/runtime/buildsudoku.py   oe-core(Download)
def setUpModule():
    if not oeRuntimeTest.hasFeature("tools-sdk"):
        skipModule("Image doesn't have tools-sdk in IMAGE_FEATURES")
 
class SudokuTest(oeRuntimeTest):

  1 | 2  Next