Browse Source

package/lua-periphery: add test

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Julien Olivain <ju.o@free.fr>
Francois Perrad 6 months ago
parent
commit
21f57ed4ed
1 changed files with 25 additions and 0 deletions
  1. 25 0
      support/testing/tests/package/test_lua_periphery.py

+ 25 - 0
support/testing/tests/package/test_lua_periphery.py

@@ -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")