Revert "Remove unit tests"

This reverts commit 69e27bb76ff78af47d2c1b4b8faf91d8b5f9b128.
This commit is contained in:
Cyberboss
2018-01-19 11:52:46 -05:00
parent 852d22223c
commit d615b56be4
7 changed files with 113 additions and 0 deletions

View File

@@ -121,6 +121,12 @@ GLOBAL_VAR_INIT(total_runtimes_skipped, 0)
for(var/line in desclines)
SEND_TEXT(world.log, line)
#ifdef UNIT_TESTS
if(GLOB.current_test)
//good day, sir
GLOB.current_test.Fail("[main_line]\n[desclines.Join("\n")]")
#endif
/* This logs the runtime in the old format */
E.name = "\n\[[time2text(world.timeofday,"hh:mm:ss")]\][E.name]"