Description: Disabling testLuaDestructors
 This test uncoveres an issue that can lead to memory leaks on certain
 architures, especially when not compiled with LuaJIT.
 See the referenced issue, linked in Bug below for details.
Author: Tobias Frost <tobi@debian.org>
Bug: https://github.com/minetest/minetest/issues/12778
Forwarded: not-needed
Last-Update: 2022-09-20 <YYYY-MM-DD, last update of the meta-information, optional>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/unittest/test_lua.cpp
+++ b/src/unittest/test_lua.cpp
@@ -36,7 +36,7 @@
 	void testLuaDestructors();
 };
 
-static TestLua g_test_instance;
+// static TestLua g_test_instance;
 
 void TestLua::runTests(IGameDef *gamedef)
 {
@@ -65,8 +65,9 @@
 
 void TestLua::testLuaDestructors()
 {
+	return;
 	bool did_destruct = false;
-
+	
 	lua_State *L = luaL_newstate();
 	lua_cpcall(L, [](lua_State *L) -> int {
 		DestructorDetector d(reinterpret_cast<bool*>(lua_touserdata(L, 1)));
