package/lua-lyaml: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Francois Perrad
2020-03-11 08:09:31 +01:00
committed by Thomas Petazzoni
parent a30e00da89
commit 6500cb3cc6
6 changed files with 75 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
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")