Skip to contentSkip to conversation

support/testing: test_lua_utf8: fix test after bump to lua-utf8 0.1.2

RFC PATCH New Romain Naour 2 participants 2 messages Apr 26, 2020 – Apr 27, 2020

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 support/testing: test_lua_utf8: fix test after bump to lua-utf8 0.1.2

The commit 0f0649140f73645f4cd00c9c0d27c50e9fa1caf9 introduced a change in the module name: utf8 -> lua-utf8.

The packages-file-list.txt show the change in the files intalled on the rootfs:

[lua-utf8 0.1.2-2 latest version] lua-utf8,./usr/lib/luarocks/rocks-5.1/luautf8/0.1.2-2/doc/LICENSE lua-utf8,./usr/lib/luarocks/rocks-5.1/luautf8/0.1.2-2/doc/README.md lua-utf8,./usr/lib/luarocks/rocks-5.1/luautf8/0.1.2-2/luautf8-0.1.2-2.rockspec lua-utf8,./usr/lib/luarocks/rocks-5.1/luautf8/0.1.2-2/rock_manifest lua-utf8,./usr/lib/lua/5.1/lua-utf8.so

[lua-utf8 1.2-0 previous version] lua-utf8,./usr/lib/luarocks/rocks-5.1/utf8/1.2-0/doc/README.md lua-utf8,./usr/lib/luarocks/rocks-5.1/utf8/1.2-0/utf8-1.2-0.rockspec lua-utf8,./usr/lib/luarocks/rocks-5.1/utf8/1.2-0/rock_manifest lua-utf8,./usr/lib/lua/5.1/utf8.so

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/526036036

Cc Francois Perrad <[email protected]>

---
I'm really not sure if it's the correct fixes.

---
 support/testing/tests/package/test_lua_utf8.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
support/testing/tests/package/test_lua_utf8.py +1 -1
index 3eab19dd4d..3757bf283c 100644
@@ -22,4 +22,4 @@ class TestLuajitUtf8(TestLuaBase):
 
     def test_run(self):
         self.login()
-        self.module_test("utf8")
+        self.module_test("lua-utf8")
Signature · 1 line
2.25.3
#1 lore raw

RFC PATCH 1/1 support/testing: test_lua_utf8: fix test after bump to lua-utf8 0.1.2

Le lun. 27 avr. 2020 ? 01:01, Romain Naour <[email protected]> a ?crit :

Quoted 20 lines

The commit 0f0649140f73645f4cd00c9c0d27c50e9fa1caf9 introduced a change in the module name: utf8 -> lua-utf8.

The packages-file-list.txt show the change in the files intalled on the rootfs:

[lua-utf8 0.1.2-2 latest version] lua-utf8,./usr/lib/luarocks/rocks-5.1/luautf8/0.1.2-2/doc/LICENSE lua-utf8,./usr/lib/luarocks/rocks-5.1/luautf8/0.1.2-2/doc/README.md

lua-utf8,./usr/lib/luarocks/rocks-5.1/luautf8/0.1.2-2/luautf8-0.1.2-2.rockspec lua-utf8,./usr/lib/luarocks/rocks-5.1/luautf8/0.1.2-2/rock_manifest lua-utf8,./usr/lib/lua/5.1/lua-utf8.so

[lua-utf8 1.2-0 previous version] lua-utf8,./usr/lib/luarocks/rocks-5.1/utf8/1.2-0/doc/README.md lua-utf8,./usr/lib/luarocks/rocks-5.1/utf8/1.2-0/utf8-1.2-0.rockspec lua-utf8,./usr/lib/luarocks/rocks-5.1/utf8/1.2-0/rock_manifest lua-utf8,./usr/lib/lua/5.1/utf8.so

Quoted 6 lines

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/526036036

Cc Francois Perrad <[email protected]>

The 2 variants (Lua & LuaJIT) must have the same fix.

Fran?ois

Quoted 18 lines

---
I'm really not sure if it's the correct fixes.

---
 support/testing/tests/package/test_lua_utf8.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
support/testing/tests/package/test_lua_utf8.py +1 -2
index 3eab19dd4d..3757bf283c 100644
@@ -22,4 +22,4 @@ class TestLuajitUtf8(TestLuaBase):
 
     def test_run(self):
         self.login()
-        self.module_test("utf8")
+        self.module_test("lua-utf8")
--
Quoted 3 lines

2.25.3

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200427/01592b7f/attachment.html>