econfig: New key running_test_suite, for use by tests

For now, it just logs "Configured for testing" on startup, and prints
a scary warning on player login.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2014-01-13 19:29:18 +01:00
parent 558b4078ff
commit f7ac7532b2
4 changed files with 14 additions and 4 deletions

View file

@ -28,7 +28,7 @@
*
* Known contributors to this file:
* Marc Olzheim, 2004
* Markus Armbruster, 2004-2013
* Markus Armbruster, 2004-2014
*/
/*
@ -395,6 +395,8 @@ EMPCFBOTH("news_keep_days", news_keep_days, int, NSC_INT, KM_INTERNAL,
"How long until news expire")
EMPCFBOTH("lost_keep_hours", lost_keep_hours, int, NSC_INT, KM_INTERNAL,
"How long until lost items expire")
EMPCFBOTH("running_test_suite", running_test_suite, int, NSC_INT, KM_INTERNAL,
"Are we running the test suite? Must be 0 for games!")
/* Sentinel */
EMPCFONLYC(NULL, emp_config_dummy, NULL, NSC_NOTYPE, 0, NULL)