summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/state.h
diff options
context:
space:
mode:
authorDarshan Shaligram <dshaligram@users.sourceforge.net>2009-10-18 18:09:22 +0530
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2009-10-18 18:17:47 +0530
commit20499e4d29a0af3143ca2aaa163390d97c04c258 (patch)
tree4506fe40fa455e02bc8ba0dbcf1175e675e5a374 /crawl-ref/source/state.h
parentebf9ea59c9613529a05e9e8a1b74a5d2d388195b (diff)
downloadcrawl-ref-20499e4d29a0af3143ca2aaa163390d97c04c258.tar.gz
crawl-ref-20499e4d29a0af3143ca2aaa163390d97c04c258.zip
Add test for monster placement.
Adds test/monplace.lua to test placing monsters using the Lua direct monster creation binding (does not exercise all the map code). Allow choosing what tests to run with "crawl -test test1,test2".
Diffstat (limited to 'crawl-ref/source/state.h')
-rw-r--r--crawl-ref/source/state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/state.h b/crawl-ref/source/state.h
index 00332582fb..e1d887f966 100644
--- a/crawl-ref/source/state.h
+++ b/crawl-ref/source/state.h
@@ -58,6 +58,7 @@ struct game_state
// suspended.
bool test; // Set if we want to run self-tests and exit.
+ std::vector<std::string> tests_selected; // Tests to be run.
bool unicode_ok; // Is unicode support available?