diff options
author | Ross Burton <ross.burton@intel.com> | 2019-10-14 15:09:56 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-11-04 13:31:27 +0000 |
commit | 1b577bcc44cbf7a9e94f8770f21841a16ad50c64 (patch) | |
tree | 687274b52a51be565828b81e9c3bbc745981a0fb /meta | |
parent | 05151064eb2c0907ebb815c9ae3481a912835b39 (diff) | |
download | openembedded-core-contrib-1b577bcc44cbf7a9e94f8770f21841a16ad50c64.tar.gz |
oeqa/selftest: add test for oe-run-native
A small test to verify that oe-run-native is correctly working.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/oescripts.py | 6 |
1 files changed, 6 insertions, 0 deletions
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) |