summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ctest.h
Commit message (Collapse)AuthorAgeFilesLines
* Simplify a #define logic.Adam Borowski2013-11-051-1/+1
|
* Make -test NORETURN and easier to valgrind.Adam Borowski2013-10-281-1/+1
|
* Correct missing #include "foo.h" from foo.ccSamuel Bronson2013-04-061-1/+1
| | | | (Also had to fix a prototype in ctest.h)
* Drop the namespace from ctest.ccAdam Borowski2012-04-091-6/+1
| | | | | | Namespaces private to a file are strictly worse than merely making everything static. They'd be somewhat handy if you want to heavily use identifiers taken globally (not a good idea), and if not, they just muddle things.
* code cleanup: fix #ifdef/#if usage inconsistenciesSteven Noonan2010-02-251-1/+1
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Allow running tests with DEBUG_TESTSMatthew Cline2009-11-021-1/+1
| | | | | | 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.
* headers: remove 'AppHdr.h' include from .h filesSteven Noonan2009-10-101-2/+0
| | | | | | | | This breaks the GCC if you're using precompiled headers, and we don't need this included in these headers anyway. All the .cc files have AppHdr.h included first anyway. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Set up a basic testing framework for LOS. ./crawl -test with a full debug ↵Darshan Shaligram2009-09-241-0/+15
build will run the test.