aboutsummaryrefslogtreecommitdiff
path: root/support/testing/tests/package/test_lua_lyaml.py
diff options
context:
space:
mode:
Diffstat (limited to 'support/testing/tests/package/test_lua_lyaml.py')
-rw-r--r--support/testing/tests/package/test_lua_lyaml.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/support/testing/tests/package/test_lua_lyaml.py b/support/testing/tests/package/test_lua_lyaml.py
new file mode 100644
index 0000000000..ece3c675a2
--- /dev/null
+++ b/support/testing/tests/package/test_lua_lyaml.py
@@ -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")