================
@@ -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["LUA_EXECUTABLE"]) == 0
+ or "NOTFOUND" in os.environ["LUA_EXECUTABLE"]
+ ):
----------------
JDevlieghere wrote:
How about we check if `os.path.exists(os.environ["LUA_EXECUTABLE"])` to cover
both cases?
https://github.com/llvm/llvm-project/pull/164793
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits