disable random study in test to make it not intermittent

This commit is contained in:
Enno Rehling 2015-08-06 20:48:14 +02:00
parent c0a760a645
commit 04db291c8b
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@
#include "study.h" #include "study.h"
#include <kernel/config.h>
#include <kernel/unit.h> #include <kernel/unit.h>
#include <kernel/faction.h> #include <kernel/faction.h>
#include <kernel/order.h> #include <kernel/order.h>
@ -26,6 +27,7 @@ static void setup_study(study_fixture *fix, skill_t sk) {
assert(fix); assert(fix);
test_cleanup(); test_cleanup();
set_param(&global.parameters, "study.random_progress", "0");
test_create_world(); test_create_world();
r = test_create_region(0, 0, 0); r = test_create_region(0, 0, 0);
f = test_create_faction(0); f = test_create_faction(0);