summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ctest.cc
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-11-02 22:52:32 -0800
committerMatthew Cline <zelgadis@sourceforge.net>2009-11-02 22:52:32 -0800
commit27c812572cca68a61a9d0450dabcfb209e3bae7c (patch)
treee15b4ff9ae30173415d6463a9615c50f71e8ae1b /crawl-ref/source/ctest.cc
parent218e102a067374b201c1e0da32d1d8179f59047a (diff)
downloadcrawl-ref-27c812572cca68a61a9d0450dabcfb209e3bae7c.tar.gz
crawl-ref-27c812572cca68a61a9d0450dabcfb209e3bae7c.zip
Allow running tests with DEBUG_TESTS
Automatic/unit tests can now be run if you define the macro DEBUG_TESTS, rather than only having the option of having to define DEBUG_DIAGNOSTICS.
Diffstat (limited to 'crawl-ref/source/ctest.cc')
-rw-r--r--crawl-ref/source/ctest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/ctest.cc b/crawl-ref/source/ctest.cc
index a15b973f56..fee7a41003 100644
--- a/crawl-ref/source/ctest.cc
+++ b/crawl-ref/source/ctest.cc
@@ -14,7 +14,7 @@
#include "AppHdr.h"
-#if DEBUG_DIAGNOSTICS
+#if DEBUG_DIAGNOSTICS || DEBUG_TESTS
#include "clua.h"
#include "dlua.h"