kumquat-buildroot/support/testing/tests/package/test_lua_lyaml.py
Francois Perrad 6500cb3cc6 package/lua-lyaml: new package
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-03-20 23:00:30 +01:00

28 lines
591 B
Python

from tests.package.test_lua import TestLuaBase
class TestLuaLuaLyaml(TestLuaBase):
config = TestLuaBase.config + \
"""
BR2_PACKAGE_LUA=y
BR2_PACKAGE_LUA_LYAML=y
"""
def test_run(self):
self.login()
self.module_test("yaml")
self.module_test("lyaml")
class TestLuajitLuaLyaml(TestLuaBase):
config = TestLuaBase.config + \
"""
BR2_PACKAGE_LUAJIT=y
BR2_PACKAGE_LUA_LYAML=y
"""
def test_run(self):
self.login()
self.module_test("yaml")
self.module_test("lyaml")