Beispiel #1
0
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"
        )
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")
    if "package_rpm" != oeRuntimeTest.tc.d.getVar("PACKAGE_CLASSES", True).split()[0]:
        skipModule("Rpm is not the primary package manager")
Beispiel #3
0
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")
    if "package_rpm" != oeRuntimeTest.tc.d.getVar("PACKAGE_CLASSES", True).split()[0]:
        skipModule("Rpm is not the primary package manager")
Beispiel #4
0
def setUpModule():
    if not oeSDKTest.hasPackage("gtk\+"):
        skipModule("Image doesn't have gtk+ in manifest")
Beispiel #5
0
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").split()[0]:
            skipModule("rpm module skipped: target doesn't have rpm as primary package manager")
Beispiel #6
0
def setUpModule():
    if not oeRuntimeTest.hasFeature("x11-base"):
            skipModule("target doesn't have x11 in IMAGE_FEATURES")
Beispiel #7
0
def setUpModule():
    multilibs = oeRuntimeTest.tc.d.getVar("MULTILIBS", True) or ""
    if "multilib:lib32" not in multilibs:
        skipModule("this isn't a multilib:lib32 image")
Beispiel #8
0
def setUpModule():
    if not oeRuntimeTest.hasPackage("connman"):
        skipModule("No connman package in image")
def setUpModule():
    if not oeRuntimeTest.hasPackage("service"):
        skipModule("No service package in image")
Beispiel #10
0
def setUpModule():
    if not (oeRuntimeTest.hasPackage("busybox-syslog")
            or oeRuntimeTest.hasPackage("sysklogd")):
        skipModule("No syslog package in image")
Beispiel #11
0
def setUpModule():
    if not oeRuntimeTest.hasFeature('smack'):
        skipModule("smack module skipped: "
                   "target doesn't have smack in DISTRO_FEATURES")
def setUpModule():
    if not (oeRuntimeTest.hasPackage("busybox-syslog") or oeRuntimeTest.hasPackage("sysklogd")):
        skipModule("No syslog package in image")
Beispiel #13
0
def setUpModule():
    #check if DEFAULTTUNE is set and it's value is: x86-64-x32
    defaulttune = oeRuntimeTest.tc.d.getVar("DEFAULTTUNE")
    if "x86-64-x32" not in defaulttune:
        skipModule("DEFAULTTUNE is not set to x86-64-x32")
def setUpModule():
    if not oeRuntimeTest.hasPackage("pax-utils"):
        skipModule("pax-utils package not installed")
def setUpModule():
    if not oeRuntimeTest.hasPackage('security-manager'):
        skipModule(
            "security-manager module skipped: "
            "target doesn't have security-manager installed")
Beispiel #16
0
def setUpModule():
    if not oeSDKTest.hasHostPackage("nativesdk-python"):
        skipModule("No python package in the SDK")
Beispiel #17
0
def setUpModule():
    if not oeRuntimeTest.hasPackage("perl"):
        skipModule("No perl package in the image")
Beispiel #18
0
def setUpModule():
    if not (oeSDKTest.hasPackage("gtk+3")
            or oeSDKTest.hasPackage("libgtk-3.0")):
        skipModule("Image doesn't have gtk+3 in manifest")
Beispiel #19
0
def setUpModule():
    if not oeRuntimeTest.hasFeature("tools-sdk"):
        skipModule("Image doesn't have tools-sdk in IMAGE_FEATURES")
Beispiel #20
0
def setUpModule():
    if not oeSDKTest.hasHostPackage("nativesdk-python"):
        skipModule("No python package in the SDK")
Beispiel #21
0
def setUpModule():
    if not oeRuntimeTest.hasFeature("tools-sdk"):
        skipModule("Image doesn't have tools-sdk in IMAGE_FEATURES")
Beispiel #22
0
def setUpModule():
    if not oeRuntimeTest.hasPackage("syslog"):
        skipModule("No syslog package in image")
Beispiel #23
0
def setUpModule():
    if not oeRuntimeTest.hasPackage("perl"):
        skipModule("No perl package in the image")
Beispiel #24
0
def setUpModule():
    machine = oeSDKTest.tc.d.getVar("MACHINE", True)
    if not oeSDKTest.hasHostPackage("packagegroup-cross-canadian-" + machine):
        skipModule("SDK doesn't contain a cross-canadian toolchain")
Beispiel #25
0
def setUpModule():
    if not oeRuntimeTest.hasPackage("python-core"):
        skipModule("No python package in the image")
Beispiel #26
0
def setUpModule():
    if not (oeRuntimeTest.hasPackage("dropbear") or oeRuntimeTest.hasPackage("openssh-sshd")):
        skipModule("No ssh package in image")
Beispiel #27
0
def setUpModule():
    if not oeRuntimeTest.hasPackage("logrotate"):
        skipModule("No logrotate package in image")
Beispiel #28
0
def setUpModule():
    if not (oeSDKTest.hasPackage("gtk+3") or oeSDKTest.hasPackage("libgtk-3.0")):
        skipModule("Image doesn't have gtk+3 in manifest")
Beispiel #29
0
def setUpModule():
    if not oeRuntimeTest.hasPackage("connman"):
        skipModule("No connman package in image")
def setUpModule():
    multilibs = oeRuntimeTest.tc.d.getVar("MULTILIBS", True) or ""
    if "multilib:lib32" not in multilibs:
        skipModule("this isn't a multilib:lib32 image")
Beispiel #31
0
def setUpModule():
    if not oeRuntimeTest.hasPackage("service"):
        skipModule("No service package in image")
Beispiel #32
0
def setUpModule():
    if not oeRuntimeTest.hasFeature("pam"):
        skipModule("target doesn't have 'pam' in DISTRO_FEATURES")
Beispiel #33
0
def setUpModule():
    if not oeRuntimeTest.hasFeature("pam"):
        skipModule("target doesn't have 'pam' in DISTRO_FEATURES")
Beispiel #34
0
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")
Beispiel #35
0
def setUpModule():
    if not oeRuntimeTest.hasPackage("python"):
        skipModule("No python package in the image")
Beispiel #36
0
def setUpModule():
    if not oeRuntimeTest.hasFeature("x11-base"):
        skipModule("target doesn't have x11 in IMAGE_FEATURES")
Beispiel #37
0
def setUpModule():
    if not oeRuntimeTest.hasFeature('smack'):
        skipModule(
            "smack module skipped: "
            "target doesn't have smack in DISTRO_FEATURES")
Beispiel #38
0
def setUpModule():
    if not oeRuntimeTest.hasPackage("pax-utils"):
        skipModule("pax-utils package not installed")
Beispiel #39
0
def setUpModule():
    if not oeRuntimeTest.hasFeature('flatpak'):
        skipModule("flatpak not enabled, tests skipped")
Beispiel #40
0
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"):
        skipModule("systemd is not the init manager for this image")
Beispiel #41
0
def setUpModule():
    if not oeRuntimeTest.hasPackage('security-manager'):
        skipModule("security-manager module skipped: "
                   "target doesn't have security-manager installed")
def setUpModule():
    if not oeRuntimeTest.hasPackage("syslog"):
        skipModule("No syslog package in image")
Beispiel #43
0
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"):
            skipModule("systemd is not the init manager for this image")
Beispiel #44
0
def setUpModule():
    if not oeSDKTest.hasPackage("gtk+"):
        skipModule("Image doesn't have gtk+ in manifest")