Commit graph

69 commits

Author SHA1 Message Date
Enno Rehling
c49786d713 fix some memory leaks 2017-03-30 23:13:55 +02:00
Enno Rehling
783bba0467 Merge pull request #672 from ennorehling/lighthouse-speedup
lighthouses speedup
2017-03-11 16:17:37 +01:00
Enno Rehling
3f562e7fc9 Merge branch 'develop' into lighthouse-speedup
Conflicts:
	src/reports.c
	src/reports.test.c
2017-03-11 16:08:14 +01:00
Enno Rehling
cdf13c9fec stop using test_create_world, use test_setup. 2017-03-11 14:22:21 +01:00
Enno Rehling
f54165d4f1 BUG 2309: show true faction to allies.
https://bugs.eressea.de/view.php?id=2309
2017-03-08 20:30:32 +01:00
Enno Rehling
77abd703bd backfill test that demonstrates bug 2305. 2017-03-08 20:16:01 +01:00
Enno Rehling
517da2dff1 breaking test for bug 2309 2017-03-08 18:15:31 +01:00
Enno Rehling
7f03417c37 bug 2286: fix missing addresses.
was using cansee_unit wrong, mixed up traveler (ut) and target (u).
2017-03-01 21:10:50 +01:00
Enno Rehling
98447668ca fix bad tests, upgrade clibs. 2017-03-01 20:37:49 +01:00
Enno Rehling
83a862d557 add a failing test for bug 2286 2017-03-01 19:54:52 +01:00
Enno Rehling
e0085eac0c write a test for get_addresses before modifying it. 2017-03-01 19:52:23 +01:00
Enno Rehling
98be6bb8ae eliminate duplicate password message 2017-01-26 18:06:48 +01:00
Enno Rehling
48ae12b629 emit a password message for newbie factions 2017-01-26 18:06:16 +01:00
Enno Rehling
a4badc0a75 remove quicklist shim, use selist everywhere 2017-01-26 17:41:21 +01:00
Enno Rehling
e52cf75c59 remove autoconf.h from platform.h, fix lots of includes 2016-11-25 20:15:11 +01:00
Enno Rehling
fb470b7af1 re-organize lighthouse reporting. 2016-10-05 20:36:01 +02:00
Enno Rehling
9eb376e0e5 clumsy repair of duplicate regions for range >= 2 (RF_MARK) 2016-09-24 11:20:33 +02:00
Enno Rehling
c755c1d69e for short lighthouse ranges, don't use lists. 2016-09-23 19:51:33 +02:00
Enno Rehling
69b420ae2f separate interval generation from seen-markup a bit more. 2016-09-20 15:53:55 +02:00
Enno Rehling
ec9d8eab1c fix marking seen_neighbour regions.
fix reports-tests that didn't think about them.
2016-09-18 13:27:25 +02:00
Enno Rehling
63a97d6bc0 check that regions are flagged with seen_neighbour where needed. 2016-09-18 13:13:07 +02:00
Enno Rehling
b41f041d52 Merge branch 'develop' into kill-seen-region
Conflicts:
	src/reports.c
	src/reports.test.c
2016-09-17 15:56:32 +02:00
Enno Rehling
c4dbb69681 previous test was bad and did not actually exercise prepare_lighthouse.
made a slighlty better test, which is failing for the right reasons.
2016-09-17 15:29:28 +02:00
Enno Rehling
1ca67a57d2 add a new test for lighthouse capacity.
https://bugs.eressea.de/view.php?id=2237
2016-09-17 14:54:39 +02:00
Enno Rehling
7349ec0aa9 improve lighthouse tests.
you must be inside lighthouse to get a report from it.
2016-09-17 13:20:02 +02:00
Enno Rehling
a2125fbb9a managed to reproduce the travelthru bug in a unit test.
travel from other factions inside the [first, last) interval will poison the report.
2016-09-16 21:26:17 +02:00
Enno Rehling
a86e30d014 re-enable report testing, find out that it fails. 2016-09-16 21:17:54 +02:00
Enno Rehling
007f4d8b0d test that travelthru notifications will make it into the report. 2016-09-16 17:25:40 +02:00
Enno Rehling
42bfc43e4f test lighthouse preparation 2016-09-15 13:01:08 +02:00
Enno Rehling
2b9e5ffff9 check seen_neighbour 2016-09-15 10:02:49 +02:00
Enno Rehling
dfbc520203 add a simple test for prepare_report.
TODO: it is _too_ simple.
2016-09-14 21:46:57 +02:00
Enno Rehling
482e619969 disable reports entirely. 2016-09-13 20:17:59 +02:00
Enno Rehling
4e4b4e482e split off report.test from reports.test
move some tests around
2016-09-13 20:13:26 +02:00
Enno Rehling
648857f52c disable report.c temporarily 2016-09-13 18:52:35 +02:00
Enno Rehling
acfb06392a Everything except report.c compiles.
Not that I'm not claiming that it works.
2016-09-13 17:02:51 +02:00
Enno Rehling
20578da0e9 delete the old seen.* files
remove includes for seen.h
remove unused functions
2016-09-13 16:58:48 +02:00
Enno Rehling
a281ace21b always create test units inside a region (so they can get destroyed in free_gamedata) 2016-09-08 09:11:17 +02:00
Enno Rehling
4bc8817056 remove a TODO that was ill-advised. The reason that "resources" is a list is that it's built incrementally. 2016-08-29 18:15:20 +01:00
Enno Rehling
ef44a4534e add a test for copying resources message arguments.
my plan is to add a new argument type for arrays of resources with fewer allocations.
2016-08-29 17:31:09 +01:00
Enno Rehling
2c5063095d fixed: tests that try to create duplicate spells do not spam stderr. 2016-08-29 14:49:31 +01:00
Enno Rehling
238a0e22f2 Merge branch 'test-alliance' of https://github.com/ennorehling/eressea into ennorehling-test-alliance
Conflicts:
	src/util/CMakeLists.txt
2016-08-08 08:46:09 +02:00
Enno Rehling
257ae38749 fix spellbook leak 2016-08-06 15:15:11 +02:00
Enno Rehling
8d6fba258f kill some obsolete FIXME comments. 2016-04-09 19:10:51 +02:00
Enno Rehling
0f792e038f memory leaks
- must free gamedata after close
- clear spellbook and free it
2016-03-11 09:43:16 +01:00
Enno Rehling
23e57c6bff fix missing translation error messages during tests. 2016-02-01 14:06:56 +01:00
Enno Rehling
9bf1059d8a trying to make tests not throw out so many ERROR log mesages, commenting on some of them. 2016-01-29 17:49:27 +01:00
Enno Rehling
6a20345b53 issue #428, fix writing spell description for break_curse 2015-12-06 16:45:31 +01:00
Enno Rehling
65902ca97f do not call a function test_* that is not a test (I got confused and broke it when trying to make a change) 2015-12-06 12:02:16 +01:00
Enno Rehling
435d801239 fix compiation problems after merge
what is going on with this? why was critbit outdated?
2015-12-05 18:45:03 +01:00
Steffen Mecke
f9c2994de1 fixing memory bug 2015-11-13 15:52:32 +01:00