[OE-core] [PATCH 14/20] OEQA: move manual bash test to runtime

Mittal, Anuj anuj.mittal at intel.com
Wed Nov 13 01:33:14 UTC 2019


On Mon, 2019-11-11 at 20:33 -0800, Armin Kuster wrote:
> +
> +class Bsp(OESelftestTestCase):
> +    def test_bash_installed(self):
> +        """
> +        Summary:        The purpose of this test case is to verify
> that bash 
> +                        in exists in the image. Test came from
> manual.
> +        Expected:       Bash is found.
> +        """
> +
> +        features = 'IMAGE_INSTALL_append = " bash"\n'
> +        self.write_config(features)
> +        bitbake('core-image-minimal')
> +
> +        with runqemu('core-image-minimal') as qemu:
> +            result = runCmd("which bash" , shell=True)
> +            self.assertEqual(0, result.status, "Couldn't find bash")
> -- 

We have IncompatibleLicensePerImageTests that tests for presence of
bash when different LICENSE values are set.

Perhaps we don't need this and can consider this case covered by that
test?

Thanks,

Anuj


More information about the Openembedded-core mailing list