summaryrefslogtreecommitdiff
path: root/server/src/luaresume.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/luaresume.cc')
-rw-r--r--server/src/luaresume.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/server/src/luaresume.cc b/server/src/luaresume.cc
index a74f1f5..9202c27 100644
--- a/server/src/luaresume.cc
+++ b/server/src/luaresume.cc
@@ -140,3 +140,18 @@ void LUAResume::error(std::string message)
{
ERR(luaresume, "LUA ERROR: %s\n", message.c_str());
}
+
+#ifdef TEST_LUARESUME
+//deps: debug.cc log.cc luautil.cc
+//cflags: -I.. $(LUA_CFLAGS)
+//libs: $(LUA_LIBS)
+#include <test.h>
+
+TEST_BEGIN;
+
+// TODO: Put some testcode here (see test.h for usable macros).
+TEST_TRUE(false, "No tests yet!");
+
+TEST_END;
+
+#endif/*TEST_LUARESUME*/