luarocks: add generation of test
PATCH 1/11 luarocks: add generation of test
--- package/luarocks/buildroot.lua | 60 ++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+)
package/luarocks/buildroot.lua +60 -0
@@ -49,6 +49,27 @@ local function wrap (txt, max) return lines end +local function has_c_files (rockspec) + for _, mod in pairs(rockspec.build.modules or {}) do + if type(mod) == 'string' then + if mod:match'%.c$' then + return true + end + elseif type(mod) == 'table' then + local sources = mod.sources + if type(sources) == 'string' and sources:match'%.c$' then + return true + end + for _, src in ipairs(sources or mod) do + if src:match'%.c$' then + return true + end + end + end + end + return false +end + local function get_external_dependencies (rockspec) local t = {} for k in pairs(rockspec.external_dependencies or {}) do
@@ -228,6 +249,42 @@ local function generate_hash (rockspec, lcname, rock_file, licenses, digest) f:close() end +local function generate_test (rockspec, lcname) + local ucname = brname(lcname) + local modname = rockspec.package:gsub('%-', '') + local classname = modname:gsub('%.', '') + classname = classname:sub(1, 1):upper() .. classname:sub(2) + local fname = 'support/testing/tests/package/test_' .. ucname:lower() .. '.py' + local f = assert(io.open(fname, 'w')) + util.printout('write ' .. fname) + f:write('from tests.package.test_lua import TestLuaBase\n') + f:write('\n') + f:write('\n') + f:write('class TestLua' .. classname .. '(TestLuaBase):\n') + f:write(' config = TestLuaBase.config + \\\n') + f:write(' """\n') + f:write(' BR2_PACKAGE_LUA=y\n') + f:write(' BR2_PACKAGE_' .. ucname .. '=y\n') + f:write(' """\n') + f:write('\n') + f:write(' def test_run(self):\n') + f:write(' self.login()\n') + f:write(' self.module_test("' .. modname .. '")\n') + f:write('\n') + f:write('\n') + f:write('class TestLuajit' .. classname .. '(TestLuaBase):\n') + f:write(' config = TestLuaBase.config + \\\n') + f:write(' """\n') + f:write(' BR2_PACKAGE_LUAJIT=y\n') + f:write(' BR2_PACKAGE_' .. ucname .. '=y\n') + f:write(' """\n') + f:write('\n') + f:write(' def test_run(self):\n') + f:write(' self.login()\n') + f:write(' self.module_test("' .. modname .. '")\n') + f:close() +end + --- Driver function for the "buildroot" command. -- @param rockname string: the name of a rock to be fetched and unpacked. -- @param brname string: the name used by Buildroot (optional)
@@ -319,6 +376,9 @@ function buildroot.command(flags, rockname, fsname) generate_config(rockspec, fsname:lower()) generate_mk(rockspec, fsname:lower(), licenses) generate_hash(rockspec, fsname:lower(), rock_file, licenses, digest) + if has_c_files(rockspec) then + generate_test(rockspec, fsname:lower()) + end return true end
Signature · 1 line
2.17.1
PATCH 2/11 support/testing: add lpeg test
--- .gitlab-ci.yml | 2 ++ support/testing/tests/package/test_lpeg.py | 25 ++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 support/testing/tests/package/test_lpeg.py
.gitlab-ci.yml +2 -0
@@ -326,6 +326,8 @@ tests.package.test_docker_compose.TestDockerCompose: { extends: .runtime_test } tests.package.test_dropbear.TestDropbear: { extends: .runtime_test } tests.package.test_ipython.TestIPythonPy2: { extends: .runtime_test } tests.package.test_ipython.TestIPythonPy3: { extends: .runtime_test } +tests.package.test_lpeg.TestLuaLPeg: { extends: .runtime_test } +tests.package.test_lpeg.TestLuajitLPeg: { extends: .runtime_test } tests.package.test_lua.TestLua: { extends: .runtime_test } tests.package.test_lua.TestLuajit: { extends: .runtime_test } tests.package.test_perl.TestPerl: { extends: .runtime_test }
support/testing/tests/package/test_lpeg.py new file +25 -0
@@ -0,0 +1,25 @@ +from tests.package.test_lua import TestLuaBase + + +class TestLuaLPeg(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_LPEG=y + """ + + def test_run(self): + self.login() + self.module_test("lpeg", script="print(require[[lpeg]].version())") + + +class TestLuajitLPeg(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_LPEG=y + """ + + def test_run(self): + self.login() + self.module_test("lpeg", script="print(require[[lpeg]].version())")
Signature · 1 line
2.17.1
PATCH 3/11 support/testing: add lsqlite3 test
In reply to Francois Perrad--- .gitlab-ci.yml | 2 ++ .../testing/tests/package/test_lsqlite3.py | 25 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 support/testing/tests/package/test_lsqlite3.py
.gitlab-ci.yml +2 -0
@@ -328,6 +328,8 @@ tests.package.test_ipython.TestIPythonPy2: { extends: .runtime_test } tests.package.test_ipython.TestIPythonPy3: { extends: .runtime_test } tests.package.test_lpeg.TestLuaLPeg: { extends: .runtime_test } tests.package.test_lpeg.TestLuajitLPeg: { extends: .runtime_test } +tests.package.test_lsqlite3.TestLuaLsqlite3: { extends: .runtime_test } +tests.package.test_lsqlite3.TestLuajitLsqlite3: { extends: .runtime_test } tests.package.test_lua.TestLua: { extends: .runtime_test } tests.package.test_lua.TestLuajit: { extends: .runtime_test } tests.package.test_perl.TestPerl: { extends: .runtime_test }
support/testing/tests/package/test_lsqlite3.py new file +25 -0
@@ -0,0 +1,25 @@ +from tests.package.test_lua import TestLuaBase + + +class TestLuaLsqlite3(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_LSQLITE3=y + """ + + def test_run(self): + self.login() + self.module_test("lsqlite3") + + +class TestLuajitLsqlite3(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_LSQLITE3=y + """ + + def test_run(self): + self.login() + self.module_test("lsqlite3")
Signature · 1 line
2.17.1
PATCH 4/11 support/testing: add lua-curl test
In reply to Francois Perrad--- .gitlab-ci.yml | 2 ++ .../testing/tests/package/test_lua_curl.py | 25 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 support/testing/tests/package/test_lua_curl.py
.gitlab-ci.yml +2 -0
@@ -332,6 +332,8 @@ tests.package.test_lsqlite3.TestLuaLsqlite3: { extends: .runtime_test } tests.package.test_lsqlite3.TestLuajitLsqlite3: { extends: .runtime_test } tests.package.test_lua.TestLua: { extends: .runtime_test } tests.package.test_lua.TestLuajit: { extends: .runtime_test } +tests.package.test_lua_curl.TestLuaLuacURL: { extends: .runtime_test } +tests.package.test_lua_curl.TestLuajitLuacURL: { extends: .runtime_test } tests.package.test_perl.TestPerl: { extends: .runtime_test } tests.package.test_perl_class_load.TestPerlClassLoad: { extends: .runtime_test } tests.package.test_perl_dbd_mysql.TestPerlDBDmysql: { extends: .runtime_test }
support/testing/tests/package/test_lua_curl.py new file +25 -0
@@ -0,0 +1,25 @@ +from tests.package.test_lua import TestLuaBase + + +class TestLuaLuacURL(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_LUA_CURL=y + """ + + def test_run(self): + self.login() + self.module_test("cURL") + + +class TestLuajitLuacURL(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_LUA_CURL=y + """ + + def test_run(self): + self.login() + self.module_test("cURL")
Signature · 1 line
2.17.1
PATCH 5/11 support/testing: add lua-utf8 test
In reply to Francois Perrad--- .gitlab-ci.yml | 2 ++ .../testing/tests/package/test_lua_utf8.py | 25 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 support/testing/tests/package/test_lua_utf8.py
.gitlab-ci.yml +2 -0
@@ -334,6 +334,8 @@ tests.package.test_lua.TestLua: { extends: .runtime_test } tests.package.test_lua.TestLuajit: { extends: .runtime_test } tests.package.test_lua_curl.TestLuaLuacURL: { extends: .runtime_test } tests.package.test_lua_curl.TestLuajitLuacURL: { extends: .runtime_test } +tests.package.test_lua_utf8.TestLuaUtf8: { extends: .runtime_test } +tests.package.test_lua_utf8.TestLuajitUtf8: { extends: .runtime_test } tests.package.test_perl.TestPerl: { extends: .runtime_test } tests.package.test_perl_class_load.TestPerlClassLoad: { extends: .runtime_test } tests.package.test_perl_dbd_mysql.TestPerlDBDmysql: { extends: .runtime_test }
support/testing/tests/package/test_lua_utf8.py new file +25 -0
@@ -0,0 +1,25 @@ +from tests.package.test_lua import TestLuaBase + + +class TestLuaUtf8(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_LUA_UTF8=y + """ + + def test_run(self): + self.login() + self.module_test("utf8") + + +class TestLuajitUtf8(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_LUA_UTF8=y + """ + + def test_run(self): + self.login() + self.module_test("utf8")
Signature · 1 line
2.17.1
PATCH 6/11 support/testing: add luaexpat test
In reply to Francois Perrad--- .gitlab-ci.yml | 2 ++ .../testing/tests/package/test_luaexpat.py | 25 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 support/testing/tests/package/test_luaexpat.py
.gitlab-ci.yml +2 -0
@@ -336,6 +336,8 @@ tests.package.test_lua_curl.TestLuaLuacURL: { extends: .runtime_test } tests.package.test_lua_curl.TestLuajitLuacURL: { extends: .runtime_test } tests.package.test_lua_utf8.TestLuaUtf8: { extends: .runtime_test } tests.package.test_lua_utf8.TestLuajitUtf8: { extends: .runtime_test } +tests.package.test_luaexpat.TestLuaLuaExpat: { extends: .runtime_test } +tests.package.test_luaexpat.TestLuajitLuaExpat: { extends: .runtime_test } tests.package.test_perl.TestPerl: { extends: .runtime_test } tests.package.test_perl_class_load.TestPerlClassLoad: { extends: .runtime_test } tests.package.test_perl_dbd_mysql.TestPerlDBDmysql: { extends: .runtime_test }
support/testing/tests/package/test_luaexpat.py new file +25 -0
@@ -0,0 +1,25 @@ +from tests.package.test_lua import TestLuaBase + + +class TestLuaLuaExpat(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_LUAEXPAT=y + """ + + def test_run(self): + self.login() + self.module_test("lxp") + + +class TestLuajitLuaExpat(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_LUAEXPAT=y + """ + + def test_run(self): + self.login() + self.module_test("lxp")
Signature · 1 line
2.17.1
PATCH 7/11 support/testing: add luafilesystem test
In reply to Francois Perrad--- .gitlab-ci.yml | 2 ++ .../tests/package/test_luafilesystem.py | 25 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 support/testing/tests/package/test_luafilesystem.py
.gitlab-ci.yml +2 -0
@@ -338,6 +338,8 @@ tests.package.test_lua_utf8.TestLuaUtf8: { extends: .runtime_test } tests.package.test_lua_utf8.TestLuajitUtf8: { extends: .runtime_test } tests.package.test_luaexpat.TestLuaLuaExpat: { extends: .runtime_test } tests.package.test_luaexpat.TestLuajitLuaExpat: { extends: .runtime_test } +tests.package.test_luafilesystem.TestLuaLuaFileSystem: { extends: .runtime_test } +tests.package.test_luafilesystem.TestLuajitLuaFileSystem: { extends: .runtime_test } tests.package.test_perl.TestPerl: { extends: .runtime_test } tests.package.test_perl_class_load.TestPerlClassLoad: { extends: .runtime_test } tests.package.test_perl_dbd_mysql.TestPerlDBDmysql: { extends: .runtime_test }
support/testing/tests/package/test_luafilesystem.py new file +25 -0
@@ -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")
Signature · 1 line
2.17.1
PATCH 8/11 support/testing: add luaossl test
In reply to Francois Perrad--- .gitlab-ci.yml | 2 ++ support/testing/tests/package/test_luaossl.py | 25 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 support/testing/tests/package/test_luaossl.py
.gitlab-ci.yml +2 -0
@@ -340,6 +340,8 @@ tests.package.test_luaexpat.TestLuaLuaExpat: { extends: .runtime_test } tests.package.test_luaexpat.TestLuajitLuaExpat: { extends: .runtime_test } tests.package.test_luafilesystem.TestLuaLuaFileSystem: { extends: .runtime_test } tests.package.test_luafilesystem.TestLuajitLuaFileSystem: { extends: .runtime_test } +tests.package.test_luaossl.TestLuaLuaossl: { extends: .runtime_test } +tests.package.test_luaosll.TestLuajitLuaossl: { extends: .runtime_test } tests.package.test_perl.TestPerl: { extends: .runtime_test } tests.package.test_perl_class_load.TestPerlClassLoad: { extends: .runtime_test } tests.package.test_perl_dbd_mysql.TestPerlDBDmysql: { extends: .runtime_test }
support/testing/tests/package/test_luaossl.py new file +25 -0
@@ -0,0 +1,25 @@ +from tests.package.test_lua import TestLuaBase + + +class TestLuaLuaossl(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_LUAOSSL=y + """ + + def test_run(self): + self.login() + self.module_test("openssl") + + +class TestLuajitLuaossl(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_LUAOSSL=y + """ + + def test_run(self): + self.login() + self.module_test("openssl")
Signature · 1 line
2.17.1
PATCH 9/11 support/testing: add luasec test
In reply to Francois Perrad--- .gitlab-ci.yml | 2 ++ support/testing/tests/package/test_luasec.py | 25 ++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 support/testing/tests/package/test_luasec.py
.gitlab-ci.yml +2 -0
@@ -342,6 +342,8 @@ tests.package.test_luafilesystem.TestLuaLuaFileSystem: { extends: .runtime_test tests.package.test_luafilesystem.TestLuajitLuaFileSystem: { extends: .runtime_test } tests.package.test_luaossl.TestLuaLuaossl: { extends: .runtime_test } tests.package.test_luaosll.TestLuajitLuaossl: { extends: .runtime_test } +tests.package.test_luasec.TestLuaLuaSec: { extends: .runtime_test } +tests.package.test_luasec.TestLuajitLuaSec: { extends: .runtime_test } tests.package.test_perl.TestPerl: { extends: .runtime_test } tests.package.test_perl_class_load.TestPerlClassLoad: { extends: .runtime_test } tests.package.test_perl_dbd_mysql.TestPerlDBDmysql: { extends: .runtime_test }
support/testing/tests/package/test_luasec.py new file +25 -0
@@ -0,0 +1,25 @@ +from tests.package.test_lua import TestLuaBase + + +class TestLuaLuaSec(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_LUASEC=y + """ + + def test_run(self): + self.login() + self.module_test("ssl") + + +class TestLuajitLuaSec(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_LUASEC=y + """ + + def test_run(self): + self.login() + self.module_test("ssl")
Signature · 1 line
2.17.1
PATCH 10/11 support/testing: add luasocket test
In reply to Francois Perrad--- .gitlab-ci.yml | 2 ++ .../testing/tests/package/test_luasocket.py | 25 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 support/testing/tests/package/test_luasocket.py
.gitlab-ci.yml +2 -0
@@ -344,6 +344,8 @@ tests.package.test_luaossl.TestLuaLuaossl: { extends: .runtime_test } tests.package.test_luaosll.TestLuajitLuaossl: { extends: .runtime_test } tests.package.test_luasec.TestLuaLuaSec: { extends: .runtime_test } tests.package.test_luasec.TestLuajitLuaSec: { extends: .runtime_test } +tests.package.test_luasocket.TestLuaLuaSocket: { extends: .runtime_test } +tests.package.test_luasocket.TestLuajitLuaSocket: { extends: .runtime_test } tests.package.test_perl.TestPerl: { extends: .runtime_test } tests.package.test_perl_class_load.TestPerlClassLoad: { extends: .runtime_test } tests.package.test_perl_dbd_mysql.TestPerlDBDmysql: { extends: .runtime_test }
support/testing/tests/package/test_luasocket.py new file +25 -0
@@ -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")
Signature · 1 line
2.17.1
PATCH 11/11 support/testing: add rings test
In reply to Francois Perrad--- .gitlab-ci.yml | 2 ++ support/testing/tests/package/test_rings.py | 25 +++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 support/testing/tests/package/test_rings.py
.gitlab-ci.yml +2 -0
@@ -403,6 +403,8 @@ tests.package.test_python_txtorcon.TestPythonPy2Txtorcon: { extends: .runtime_te tests.package.test_python_txtorcon.TestPythonPy3Txtorcon: { extends: .runtime_test } tests.package.test_python_ubjson.TestPythonPy2Ubjson: { extends: .runtime_test } tests.package.test_python_ubjson.TestPythonPy3Ubjson: { extends: .runtime_test } +tests.package.test_rings.TestLuaRings: { extends: .runtime_test } +tests.package.test_rings.TestLuajitRings: { extends: .runtime_test } tests.package.test_rust.TestRust: { extends: .runtime_test } tests.package.test_rust.TestRustBin: { extends: .runtime_test } tests.package.test_syslog_ng.TestSyslogNg: { extends: .runtime_test }
support/testing/tests/package/test_rings.py new file +25 -0
@@ -0,0 +1,25 @@ +from tests.package.test_lua import TestLuaBase + + +class TestLuaRings(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_RINGS=y + """ + + def test_run(self): + self.login() + self.module_test("rings") + + +class TestLuajitRings(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_RINGS=y + """ + + def test_run(self): + self.login() + self.module_test("rings")
Signature · 1 line
2.17.1
Thomas Petazzoni
AppliedPATCH 1/11 luarocks: add generation of test
In reply to Francois PerradHello Fran?ois,
Quoted 4 lines · On Tue, 19 Feb 2019 16:43:01 +0100 Francois Perrad <[email protected]> wrote:
Signed-off-by Francois Perrad <[email protected]>--- package/luarocks/buildroot.lua | 60 ++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+)
I have applied this entire series, thanks! It's going in the good direction, but I found some odd things.
The lpeg test looks like this:
+ self.module_test("lpeg", script="print(require[[lpeg]].version())")
which clearly cannot have been generated by the Luarocks "buildroot" script, which does only:
+ f:write(' self.module_test("' .. modname .. '")\n')
Also, I've used "lpeg-upgrade" and "rings-upgrade" as tests, and noticed some differences:
- self.module_test("lpeg", script="print(require[[lpeg]].version())")
+ self.module_test("LPeg")
So we have the difference I explained above + a difference in the casing of the module.
We have the same casing difference with rings:
- self.module_test("rings")
+ self.module_test("Rings")
Is this expected ?
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/11 luarocks: add generation of test
Le jeu. 28 mars 2019 ? 17:22, Thomas Petazzoni <[email protected]> a ?crit :
Quoted 38 lines
Hello Fran?ois,
Quoted 4 lines · On Tue, 19 Feb 2019 16:43:01 +0100 Francois Perrad <[email protected]> wrote:
Signed-off-by Francois Perrad <[email protected]>--- package/luarocks/buildroot.lua | 60 ++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+)I have applied this entire series, thanks! It's going in the good direction, but I found some odd things.
The lpeg test looks like this:
+ self.module_test("lpeg",
script="print(require[[lpeg]].version())")which clearly cannot have been generated by the Luarocks "buildroot" script, which does only:
+ f:write(' self.module_test("' .. modname .. '")\n')
Also, I've used "lpeg-upgrade" and "rings-upgrade" as tests, and noticed some differences:
- self.module_test("lpeg",
script="print(require[[lpeg]].version())")
+self.module_test("LPeg")So we have the difference I explained above + a difference in the casing of the module.
We have the same casing difference with rings:
(quoted diff) +1
-1- self.module_test("rings") + self.module_test("Rings")
Quoted 2 lines
Is this expected ?
Yes, more or less.
The lua ecosystem has no common policy about naming, etc... So, a generated stuff sometime needs a manual editing.
Fran?ois
Quoted 12 lines
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190328/6dcc32fc/attachment.html>
PATCH 1/11 luarocks: add generation of test
Quoted 7 lines · On Thu, 28 Mar 2019 18:13:05 +0100 Fran?ois Perrad <[email protected]>…
Quoted 2 lines
Is this expected ?
Yes, more or less.
The lua ecosystem has no common policy about naming, etc... So, a generated stuff sometime needs a manual editing.
So for lpeg you really a special .module_test() call ?
Why is the "rings" test case not matching the output of "make rings-upgrade" ?
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com