diff options
author | Francois Perrad <fperrad@gmail.com> | 2019-02-19 16:43:10 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2019-03-28 17:20:00 +0100 |
commit | 7ad1a47f9f67924ad724c7ebbc92a4fc07718296 (patch) | |
tree | 52abe02e75fa8de05e60d49faea02ef408bdd766 /support | |
parent | 97032e2f4fbd7f087c52461552031789e99e938e (diff) |
support/testing: add luasocket test
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'support')
-rw-r--r-- | support/testing/tests/package/test_luasocket.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/support/testing/tests/package/test_luasocket.py b/support/testing/tests/package/test_luasocket.py new file mode 100644 index 0000000000..c2d19d78c9 --- /dev/null +++ b/support/testing/tests/package/test_luasocket.py @@ -0,0 +1,25 @@ +from tests.package.test_lua import TestLuaBase + + +class TestLuaLuaSocket(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_LUASOCKET=y + """ + + def test_run(self): + self.login() + self.module_test("socket") + + +class TestLuajitLuaSocket(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_LUASOCKET=y + """ + + def test_run(self): + self.login() + self.module_test("socket") |