ubuntu-buildroot/support/testing/tests/package/test_lua_lyaml.py

28 lines
591 B
Python
Raw Permalink Normal View History

2024-04-01 15:19:46 +00:00
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")