package/lua-periphery: add test

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Francois Perrad
2025-01-24 12:34:27 +01:00
committed by Julien Olivain
parent 903a138895
commit 21f57ed4ed

View File

@@ -0,0 +1,25 @@
from tests.package.test_lua import TestLuaBase
class TestLuaLuaperiphery(TestLuaBase):
config = TestLuaBase.config + \
"""
BR2_PACKAGE_LUA=y
BR2_PACKAGE_LUA_PERIPHERY=y
"""
def test_run(self):
self.login()
self.module_test("periphery")
class TestLuajitLuaperiphery(TestLuaBase):
config = TestLuaBase.config + \
"""
BR2_PACKAGE_LUAJIT=y
BR2_PACKAGE_LUA_PERIPHERY=y
"""
def test_run(self):
self.login()
self.module_test("periphery")