diff options
author | Francois Perrad <fperrad@gmail.com> | 2019-02-19 16:43:07 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2019-03-28 17:20:00 +0100 |
commit | 3a3a661303c0518226ce2000ed73055efc10ac7f (patch) | |
tree | c219b63f67b4a342d00e88d030d5720ccfcc115f /support | |
parent | 596465e61a049e21cc879a833db0258f7c970d65 (diff) |
support/testing: add luafilesystem 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_luafilesystem.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/support/testing/tests/package/test_luafilesystem.py b/support/testing/tests/package/test_luafilesystem.py new file mode 100644 index 0000000000..a84c1f300c --- /dev/null +++ b/support/testing/tests/package/test_luafilesystem.py @@ -0,0 +1,25 @@ +from tests.package.test_lua import TestLuaBase + + +class TestLuaLuaFileSystem(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_LUAFILESYSTEM=y + """ + + def test_run(self): + self.login() + self.module_test("lfs") + + +class TestLuajitLuaFileSystem(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_LUAFILESYSTEM=y + """ + + def test_run(self): + self.login() + self.module_test("lfs") |