summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ctest.h
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.h
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.h')
-rw-r--r--crawl-ref/source/ctest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/ctest.h b/crawl-ref/source/ctest.h
index 6caa3cf00c..2987104c11 100644
--- a/crawl-ref/source/ctest.h
+++ b/crawl-ref/source/ctest.h
@@ -1,7 +1,7 @@
#ifndef CTEST_H
#define CTEST_H
-#ifdef DEBUG_DIAGNOSTICS
+#if DEBUG_DIAGNOSTICS || DEBUG_TESTS
namespace crawl_tests
{