summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ctest.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-10-28 10:15:59 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-10-28 10:15:59 +0100
commit3e1346358229822a8d68b1ead015e7b4ed50e6e8 (patch)
treeb2f51f96617dcbfaedfb5f342c25b21d33e83645 /crawl-ref/source/ctest.cc
parente315b49f66d8f9706ca60e65c95ce14b5d41679a (diff)
downloadcrawl-ref-3e1346358229822a8d68b1ead015e7b4ed50e6e8.tar.gz
crawl-ref-3e1346358229822a8d68b1ead015e7b4ed50e6e8.zip
Move some boring test settings aside.
There's no reason to change them whatsoever; a particular test will set them explicitely if it matters.
Diffstat (limited to 'crawl-ref/source/ctest.cc')
-rw-r--r--crawl-ref/source/ctest.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/crawl-ref/source/ctest.cc b/crawl-ref/source/ctest.cc
index 8de95b2256..ca2834bb07 100644
--- a/crawl-ref/source/ctest.cc
+++ b/crawl-ref/source/ctest.cc
@@ -37,9 +37,6 @@
static const string test_dir = "test";
static const string script_dir = "scripts";
-static const string test_player_name = "Superbug99";
-static const species_type test_player_species = SP_HUMAN;
-static const job_type test_player_job = JOB_FIGHTER;
static const char *activity = "test";
static int ntests = 0;
@@ -53,9 +50,9 @@ static void _reset_test_data()
ntests = 0;
nsuccess = 0;
failures.clear();
- you.your_name = test_player_name;
- you.species = test_player_species;
- you.char_class = test_player_job;
+ you.your_name = "Superbug99";
+ you.species = SP_HUMAN;
+ you.char_class = JOB_FIGHTER;
}
static int crawl_begin_test(lua_State *ls)