Create the meta-zephyr layer with empty SRC_URI

Initial commit: original work by Randy Witt and Richard Purdie.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
This commit is contained in:
Randy Witt
2016-12-27 15:35:35 -08:00
committed by Juro Bystricky
commit 7a8d7eb97e
21 changed files with 546 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
# Enable other layers to have modules in the same named directory
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)

View File

@@ -0,0 +1,16 @@
import unittest
from oeqa.oetest import oeRuntimeTest
class ZephyrTest(oeRuntimeTest):
def test_boot_tiny(self):
success = False
logfile = self.target.wait_for_serial(300, 30)
with open(logfile) as f:
for line in f:
if "PROJECT EXECUTION SUCCESSFUL" in line:
success = True
break
self.assertTrue(success, msg='"PROJECT EXECUTION SUCCESSFUL" not in %s' % logfile)