aboutsummaryrefslogtreecommitdiff
path: root/support/testing/tests/package/test_lua_lyaml.py
diff options
context:
space:
mode:
authorGravatar Francois Perrad <fperrad@gmail.com>2020-03-11 08:09:31 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-03-20 23:00:30 +0100
commit6500cb3cc6e8a03cd151827a98eeb84567abec99 (patch)
tree16dcde743179dbe55b8e1bcc0ddc9de2a594813a /support/testing/tests/package/test_lua_lyaml.py
parenta30e00da893f1f9c01b89ea0085a1d580f53ff4b (diff)
downloadbuildroot-6500cb3cc6e8a03cd151827a98eeb84567abec99.tar.gz
buildroot-6500cb3cc6e8a03cd151827a98eeb84567abec99.tar.bz2
package/lua-lyaml: new package
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
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")