From: Ross Burton Date: Mon, 14 Oct 2019 14:09:56 +0000 (+0100) Subject: oeqa/selftest: add test for oe-run-native X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=55cffa5ed5a100fa89ddb78b94afc75ad29959a0;p=openembedded-core.git oeqa/selftest: add test for oe-run-native Signed-off-by: Ross Burton --- diff --git a/meta/lib/oeqa/selftest/cases/oescripts.py b/meta/lib/oeqa/selftest/cases/oescripts.py index c169885cf3..80d8b2c4cc 100644 --- a/meta/lib/oeqa/selftest/cases/oescripts.py +++ b/meta/lib/oeqa/selftest/cases/oescripts.py @@ -121,3 +121,9 @@ class OEGitproxyTests(OESelftestTestCase): if dash is None: self.skipTest("No \"dash\" found on test system.") self.run_oegitproxy(custom_shell=dash) + +class OeRunNativeTest(OESelftestTestCase): + def test_oe_run_native(self): + bitbake("qemu-helper-native -c addto_recipe_sysroot") + result = runCmd("oe-run-native qemu-helper-native tunctl -h") + self.assertIn("Delete: tunctl -d device-name [-f tun-clone-device]", result.output)