diff options
author | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2009-09-24 20:18:07 +0530 |
---|---|---|
committer | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2009-09-24 20:27:06 +0530 |
commit | e65f11731155dec69701d806ba00c6bd24ffc33c (patch) | |
tree | 58d06a0b0b9d300ce3c6a59fec5ecd01ca8c7582 /crawl-ref/source/ctest.h | |
parent | 383469b3ec04e7343eab5460e948f32b3857943a (diff) | |
download | crawl-ref-e65f11731155dec69701d806ba00c6bd24ffc33c.tar.gz crawl-ref-e65f11731155dec69701d806ba00c6bd24ffc33c.zip |
Set up a basic testing framework for LOS. ./crawl -test with a full debug build will run the test.
Diffstat (limited to 'crawl-ref/source/ctest.h')
-rw-r--r-- | crawl-ref/source/ctest.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/crawl-ref/source/ctest.h b/crawl-ref/source/ctest.h new file mode 100644 index 0000000000..0cc1d1ad55 --- /dev/null +++ b/crawl-ref/source/ctest.h @@ -0,0 +1,15 @@ +#ifndef CTEST_H +#define CTEST_H + +#include "AppHdr.h" + +#ifdef DEBUG_DIAGNOSTICS + +namespace crawl_tests +{ + void run_tests(bool exit_on_complete); +} + +#endif + +#endif |