diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-02 22:52:32 -0800 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-02 22:52:32 -0800 |
commit | 27c812572cca68a61a9d0450dabcfb209e3bae7c (patch) | |
tree | e15b4ff9ae30173415d6463a9615c50f71e8ae1b /crawl-ref/source/ctest.h | |
parent | 218e102a067374b201c1e0da32d1d8179f59047a (diff) | |
download | crawl-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.h | 2 |
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 { |