kumquat-buildroot/support/testing/tests
Romain Naour bff1c6ada5 support/testing: test_luvi: make luvi test reproducible
As explained by Jörg [1], iteration with pairs() does not result in the
same order since luajit 2.1.

From [2]
"Table iteration with pairs() does not result in the same order?

The order of table iteration is explicitly undefined by the Lua
language standard. Different Lua implementations or versions may use
different orders for otherwise identical tables. Different ways of
constructing a table may result in different orders, too. Due to
improved VM security, LuaJIT 2.1 may even use a different order on
separate VM invocations or when string keys are newly interned.

If your program relies on a deterministic order, it has a bug.
Rewrite it, so it doesn't rely on the key order.
Or sort the table keys, if you must."

Note: The "luvi -v" return 255 even on success.

[1] http://lists.busybox.net/pipermail/buildroot/2021-November/627938.html
[2] https://luajit.org/faq.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Francois Perrad <francois.perrad@gadz.org>
Cc: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-11-12 23:26:17 +01:00
..
boot support/testing: test_atf: bump the custom version to v2.5 2021-08-28 14:24:25 +02:00
core support: fix flake8 error E741 ambiguous variable name 2021-10-18 22:31:11 +02:00
download support/download: change format of archives generated from git 2021-01-10 22:06:58 +01:00
fs support/testing: test_jffs2.py: update logical eraseblock size for qemu >= 2.9 2021-11-05 22:30:36 +01:00
init support/testing: test_openrc: switch to ARM arm toolchain and builtin kernel 2021-09-21 22:21:00 +02:00
package support/testing: test_luvi: make luvi test reproducible 2021-11-12 23:26:17 +01:00
toolchain support: fix flake8 error E741 ambiguous variable name 2021-10-18 22:31:11 +02:00
utils support/testing: switch to Python 3 only 2019-10-28 22:14:07 +01:00
__init__.py