summaryrefslogtreecommitdiff
path: root/server/src/resumeparser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/resumeparser.cc')
-rw-r--r--server/src/resumeparser.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/server/src/resumeparser.cc b/server/src/resumeparser.cc
index c80c2f0..1c5335a 100644
--- a/server/src/resumeparser.cc
+++ b/server/src/resumeparser.cc
@@ -64,3 +64,18 @@ std::string resume_parser(Macro &macro, Commit &commit)
return luaresume.run(code);
}
+
+#ifdef TEST_RESUMEPARSER
+//deps: luaresume.cc configuration.cc 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_RESUMEPARSER*/