mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 09:32:13 +02:00
oeqa/selftest: add test for oe-run-native
A small test to verify that oe-run-native is correctly working. (From OE-Core rev: 1b577bcc44cbf7a9e94f8770f21841a16ad50c64) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
56ddcbf25d
commit
ce0b46650f
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user