From d32e062f1cc709893ed5893ebae736a54c36eef9 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Wed, 26 Jan 2022 15:55:03 +0100 Subject: [PATCH] package/lua: use Lua 5.4 as default lua-sdl2 is not available on Lua 5.4, so update its test to use Lua 5.3 instead. Signed-off-by: Francois Perrad Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/lua/Config.in | 2 +- support/testing/tests/package/test_lua.py | 4 ++-- support/testing/tests/package/test_lua_sdl2.py | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package/lua/Config.in b/package/lua/Config.in index 5d4cee5d5b..309dd6eec2 100644 --- a/package/lua/Config.in +++ b/package/lua/Config.in @@ -14,7 +14,7 @@ config BR2_PACKAGE_PROVIDES_LUAINTERPRETER choice prompt "Lua Version" - default BR2_PACKAGE_LUA_5_3 + default BR2_PACKAGE_LUA_5_4 help Select the version of Lua API/ABI you wish to use. diff --git a/support/testing/tests/package/test_lua.py b/support/testing/tests/package/test_lua.py index 573ae01005..9703dffbd4 100644 --- a/support/testing/tests/package/test_lua.py +++ b/support/testing/tests/package/test_lua.py @@ -42,8 +42,8 @@ class TestLua(TestLuaBase): def test_run(self): self.login() - self.version_test('Lua 5.3') - self.g_version_test('Lua 5.3') + self.version_test('Lua 5.4') + self.g_version_test('Lua 5.4') class TestLuajit(TestLuaBase): diff --git a/support/testing/tests/package/test_lua_sdl2.py b/support/testing/tests/package/test_lua_sdl2.py index 22c4087f5d..b9aad15f45 100644 --- a/support/testing/tests/package/test_lua_sdl2.py +++ b/support/testing/tests/package/test_lua_sdl2.py @@ -5,6 +5,7 @@ class TestLuaLuaSDL2(TestLuaBase): config = TestLuaBase.config + \ """ BR2_PACKAGE_LUA=y + BR2_PACKAGE_LUA_5_3=y BR2_PACKAGE_LUA_SDL2=y BR2_PACKAGE_SDL2_IMAGE=y BR2_PACKAGE_SDL2_MIXER=y