package/lua-lrexlib-pcre2: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
This commit is contained in:
Francois Perrad
2025-07-16 08:15:14 +02:00
committed by Arnout Vandecappelle
parent 1796c4e405
commit 4149871af1
5 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
from tests.package.test_lua import TestLuaBase
class TestLuaLrexlibPCRE2(TestLuaBase):
config = TestLuaBase.config + \
"""
BR2_PACKAGE_LUA=y
BR2_PACKAGE_LUA_LREXLIB_PCRE2=y
"""
def test_run(self):
self.login()
self.module_test("rex_pcre2")
class TestLuajitLrexlibPCRE2(TestLuaBase):
config = TestLuaBase.config + \
"""
BR2_PACKAGE_LUAJIT=y
BR2_PACKAGE_LUA_LREXLIB_PCRE2=y
"""
def test_run(self):
self.login()
self.module_test("rex_pcre2")