Commit graph

2160 commits

Author SHA1 Message Date
Enno Rehling
93a1fe5059 Merge branch 'develop' of github.com:ennorehling/eressea into develop 2016-09-08 20:10:58 +02:00
Enno Rehling
ab876431de reset turn to 0 before and after each test.
save tests that depend on the global turn variable would fail when being run out of order.
this cause issue #560
2016-09-08 19:48:36 +02:00
Enno Rehling
d5261ab1da fix group.test leaks 2016-09-08 17:40:17 +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
22586aa45f fix seen.test creating a unit without a region 2016-09-08 09:06:02 +02:00
Enno Rehling
8cefc17e3e Merge branch 'develop' of github.com:ennorehling/eressea into develop 2016-09-08 08:55:18 +02:00
Enno Rehling
25e5d1d285 use test_setup to start tests 2016-09-08 08:12:26 +02:00
Enno Rehling
993af3a7f9 memory leak in equipment.skills 2016-09-08 06:56:16 +02:00
Enno Rehling
cb706c2cf2 equipment.test is down to two leaks and one TODO 2016-09-07 21:29:54 +02:00
Enno Rehling
d84ed1f89d move static variable cleanup to kernel_done.
clean up some more.
2016-09-07 21:22:05 +02:00
Enno Rehling
ef5ce04335 remove unused code 2016-09-07 20:50:52 +02:00
Enno Rehling
144fcbef58 Merge branch 'develop' of github.com:ennorehling/eressea into develop 2016-09-07 20:48:16 +02:00
Enno Rehling
dda845e2f4 free configuration data (valgrind calls it still-reachable leaks). 2016-09-07 20:46:41 +02:00
Enno Rehling
c8283060f9 test_setup/cleanup for equipment.test 2016-09-07 19:04:42 +02:00
Enno Rehling
282cc129d7 spellbook_clear crash fix 2016-09-07 19:02:03 +02:00
Enno Rehling
dd2f146e27 fix equipment static memory leak 2016-09-07 17:09:37 +01:00
Enno Rehling
af310d48d6 remove unused function after refactoring 2016-09-07 17:52:12 +02:00
Enno Rehling
4115bff79b eliminate leak from alliance.test 2016-09-07 17:50:51 +02:00
Enno Rehling
9499919387 fix uninitialized member 2016-09-07 17:48:27 +02:00
Enno Rehling
632f25d429 try to eliminate memory leak in command.test 2016-09-07 16:39:54 +01:00
Enno Rehling
1ad2775f51 simplify add_command 2016-09-07 15:43:04 +02:00
Enno Rehling
eed6e1d88d add_command has an unused argument 2016-09-07 15:36:48 +02:00
Enno Rehling
d962dd110a correct type. 2016-09-07 15:29:40 +02:00
Enno Rehling
133bef1041 fix compilation.
eliminate the last order-related memory leak.
2016-09-06 22:21:06 +02:00
Enno Rehling
270c12b6d8 these config tests were leaking orders.
convert them to test_setup use, too.
2016-09-06 21:04:25 +01:00
Enno Rehling
00804344fd fix order-related memory leaks 2016-09-06 21:07:23 +02:00
Enno Rehling
a5ce809f41 fix memory leak in umlaut.c with reference counting (sad). 2016-09-06 19:57:07 +01:00
Enno Rehling
b62fa64d8c closer leak debugging 2016-09-05 20:05:36 +02:00
Enno Rehling
c525553c49 unused variable 2016-09-05 17:48:54 +01:00
Enno Rehling
fa6a3e377d relocate the addtoken leak "test" to umlaut.test.c 2016-09-05 18:46:02 +02:00
Enno Rehling
7b5383dfff disable all direction tests instead of the minimal leak proof 2016-09-05 17:57:59 +02:00
Enno Rehling
530a6d067f Merge branch 'develop' of github.com:ennorehling/eressea into develop 2016-09-04 22:52:13 +02:00
Enno Rehling
b2b9b9eae4 test having more than one name per direction.
use test_setup.
2016-09-04 21:52:09 +01:00
Enno Rehling
19d490ce71 test_create_locale leaks memory.
adding a simple test that shows this (under valgrind).
2016-09-04 22:07:52 +02:00
Enno Rehling
a5b3fad67a skeleton of a language test, try to find init_direction memory leak. 2016-09-04 20:27:36 +01:00
Enno Rehling
a56f51099c use test_setup in seen.test 2016-09-04 21:15:22 +02:00
Enno Rehling
e7b93adb75 rearranging deckchairs on the HMS Random Numbers. 2016-09-04 17:04:41 +01:00
Enno Rehling
388ea174ef disable conversion warning (for mtrand code).
do not know how to do it selectively, so disabling all of it.
2016-09-04 13:09:10 +02:00
Enno Rehling
2ccd2c0c16 Merge branch 'develop' of github.com:ennorehling/eressea into develop 2016-09-04 10:47:40 +02:00
Enno Rehling
00c4c337ff remove crypto submodule, stea mtrand from it 2016-09-04 10:47:21 +02:00
Enno Rehling
b5298f60bf Merge pull request #552 from ennorehling/issue-551-description
issue #551 and some other tests
2016-09-02 15:43:08 +01:00
Enno Rehling
4e323f8120 bugfix #551: do not return a stack buffer that isn't static 2016-09-02 16:18:45 +02:00
Enno Rehling
b725e9676a simple test for basic unit descriptions 2016-09-02 09:29:52 +02:00
Enno Rehling
ed2c4ec56a missing null-check before isparam 2016-09-01 21:57:50 +02:00
Enno Rehling
3a719226a2 Merge branch 'master' into develop
Conflicts:
	src/buildno.h
2016-09-01 21:55:52 +02:00
Enno Rehling
9f7e4effc2 Merge branch 'master' of github.com:eressea/server 2016-09-01 21:51:45 +02:00
Enno Rehling
fed399042d fix piracy order aliasing issue #549
https://bugs.eressea.de/view.php?id=2233
piracy_cmd always works on u->thisorder, does not need an argument.
2016-09-01 20:40:07 +01:00
Enno Rehling
b321918cd1 check and fix destroy_cmd syntax error handling 2016-08-31 20:38:20 +02:00
Enno Rehling
3c1704e691 Merge remote-tracking branch 'upstream/develop' into develop 2016-08-31 18:51:29 +01:00
Enno Rehling
87fed5b7d2 Merge pull request #548 from ennorehling/refactor-volcano
new tests, TODOs removed, remove code duplication
2016-08-31 17:19:29 +01:00