From e65f11731155dec69701d806ba00c6bd24ffc33c Mon Sep 17 00:00:00 2001 From: Darshan Shaligram Date: Thu, 24 Sep 2009 20:18:07 +0530 Subject: Set up a basic testing framework for LOS. ./crawl -test with a full debug build will run the test. --- crawl-ref/source/ctest.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 crawl-ref/source/ctest.h (limited to 'crawl-ref/source/ctest.h') 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 -- cgit v1.2.3-54-g00ecf