[Lldb-commits] [lldb] [lldb][test] skip Lua tests when the Lua interpreter is not found (PR #164793)

2025-10-24 Thread Vincent Palatin via lldb-commits
https://github.com/vpalatin updated https://github.com/llvm/llvm-project/pull/164793 >From 4e9d7a60d213e49370707708bfa9e9fb4e51537d Mon Sep 17 00:00:00 2001 From: Vincent Palatin Date: Thu, 23 Oct 2025 12:02:19 +0200 Subject: [PATCH] [lldb][test] skip Lua tests when the Lua interpreter is not

[Lldb-commits] [lldb] [lldb][test] skip Lua tests when the Lua interpreter is not found (PR #164793)

2025-10-24 Thread Vincent Palatin via lldb-commits
@@ -158,7 +158,11 @@ def get_tests(self): return tests def test_lua_api(self): -if "LUA_EXECUTABLE" not in os.environ or len(os.environ["LUA_EXECUTABLE"]) == 0: +if ( +"LUA_EXECUTABLE" not in os.environ +or len(os.environ["L

[Lldb-commits] [lldb] [lldb][test] skip Lua tests when the Lua interpreter is not found (PR #164793)

2025-10-23 Thread Vincent Palatin via lldb-commits
https://github.com/vpalatin created https://github.com/llvm/llvm-project/pull/164793 When Swig is installed but not any Lua interpreter, the cmake script in `lldb/cmake/modules/FindLuaAndSwig.cmake` will execute `find_program(LUA_EXECUTABLE, ...)` and this will set the `LUA_EXECUTABLE` variab