summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/oescripts.py
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-10-14 15:09:56 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-11-04 13:39:04 +0000
commitce0b46650f448bf2d7df00fa297f1565c80021b4 (patch)
treed63c7f93b1d7de6e2ccca67475862a13ba42c145 /meta/lib/oeqa/selftest/cases/oescripts.py
parent56ddcbf25d9fc8b3f8a5e28866f5825a6e27880b (diff)
downloadpoky-ce0b46650f448bf2d7df00fa297f1565c80021b4.tar.gz
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>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/oescripts.py')
-rw-r--r--meta/lib/oeqa/selftest/cases/oescripts.py6
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):
121 if dash is None: 121 if dash is None:
122 self.skipTest("No \"dash\" found on test system.") 122 self.skipTest("No \"dash\" found on test system.")
123 self.run_oegitproxy(custom_shell=dash) 123 self.run_oegitproxy(custom_shell=dash)
124
125class OeRunNativeTest(OESelftestTestCase):
126 def test_oe_run_native(self):
127 bitbake("qemu-helper-native -c addto_recipe_sysroot")
128 result = runCmd("oe-run-native qemu-helper-native tunctl -h")
129 self.assertIn("Delete: tunctl -d device-name [-f tun-clone-device]", result.output)