Enno Rehling
4056f08afa
Switching to VS2017 compiler has found a bug in pofile.c
2018-10-21 19:10:31 +02:00
Enno Rehling
e62b5c580d
update tests to reflect new lighthouse rules
2018-07-19 04:57:33 +02:00
Enno Rehling
fee9b6d0a8
separate database logic from order_data.
...
laying groundwork for different database backends.
2017-11-09 19:55:28 +01:00
Enno Rehling
b255af52e2
add a failing integration test for the parser bug
2017-10-07 13:56:14 +02:00
Enno Rehling
58d9aa58a0
BUG 2326: Untote Helden fehlen in der Kampfübersicht
...
https://bugs.eressea.de/view.php?id=2326
2017-05-21 11:14:16 +02:00
Enno Rehling
8d2687ab90
print version number at end of tests.
2017-03-29 04:30:54 +02:00
Enno Rehling
8cfcffc4aa
remove data_turn and gamename from global settings.
...
make run-turn.sh work without valgrind
2017-03-13 09:19:37 +01:00
Enno Rehling
2b4d2db112
VS 15 not yet supported.
2017-03-11 16:23:33 +01:00
Enno Rehling
77abd703bd
backfill test that demonstrates bug 2305.
2017-03-08 20:16:01 +01:00
Enno Rehling
dbe5980577
CR is missing saplings?
2017-03-05 18:47:49 +01:00
Enno Rehling
614978a343
add a breaking test for the CR.
...
trees and peasants are not reported correctly.
2017-03-05 10:26:39 +01:00
Enno Rehling
ae83448e4a
Deveron is now just E3 with a different name.
...
remove a lot of duplication.
add a -c option to specify a path for eressea.ini
2017-02-02 10:10:21 +01:00
Enno Rehling
404ac546fa
BUG 2273: runtests.bat fails when config is auto-loaded.
...
run rules tests with the correct configuration, ignore .ini file
setting.
still not enabling auto-load again, use custom.lua instead.
2017-01-24 10:36:27 +01:00
Enno Rehling
23d1355fa1
FACTION and PARTEI should both start orders.
2017-01-23 09:22:29 +01:00
Enno Rehling
3a07d43321
specify a game id, because there is one in the data
2017-01-22 21:02:15 +01:00
Enno Rehling
1fb061c6f0
syntax error (bash functions are hard).
2016-09-17 20:35:41 +02:00
Enno Rehling
d3d9b097bc
add some lighthouse checks to integration tests.
2016-09-17 20:34:06 +02:00
Enno Rehling
a425a78f7c
add a lighthouse to the sample data.
2016-09-17 20:01:49 +02:00
Enno Rehling
cb85eb4b9f
delete more files created by test runs
2016-09-11 21:18:50 +02:00
Enno Rehling
8fd812ecb4
travis must not check for leaks as long as they exist as they do
2016-09-11 17:25:50 +02:00
Enno Rehling
95481211e5
expect remove and unlink to set errno when file doesn't exist, reduce misleading spam.
2016-09-11 17:19:27 +02:00
Enno Rehling
cb381123ff
fix some calendar-related leaks and issues
2016-09-09 18:39:38 +02:00
Enno Rehling
98656d1108
do not check for leaks, or tests will never pass
2016-09-09 17:45:26 +02:00
Enno Rehling
a62a14956f
quickly fix summary test when there is no calendar defined
2016-09-09 17:29:17 +02: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
9e901b47b6
I'm getting reports of leaks for umlaut.c based structures and configuration?
...
This is not actually solving those, though.
clean up report directory, fix .bat file.
2016-08-18 20:07:16 +02:00
Enno Rehling
39a284b423
quick and dirty .bat file to run drmemory on the server.
2016-08-18 19:46:29 +02:00
Enno Rehling
e6f3dc8b85
Merge branch 'master' into develop
...
Conflicts:
scripts/run-turn.lua
src/buildno.h
src/kernel/group.c
src/kernel/save.c
src/kernel/save.test.c
src/kernel/version.h
src/util/password.c
src/util/password.test.c
tests/run-turn.sh
2016-02-23 10:47:33 +01:00
Enno Rehling
7807e9e710
fix integration test data file
2016-02-22 21:35:37 +01:00
Enno Rehling
77ed6f3722
add missing file
2016-02-22 20:48:24 +01:00
Enno Rehling
4f7e1cb80f
integration test update.
...
- have a faction that quits,
- try to reload the datafile we just wrote.
2016-02-22 20:47:06 +01:00
Enno Rehling
7fe07439f5
fix write_faction_reference, check for f->alive in other places
...
TODO:
1. I added some new TODOs
2. What happens to morale when region owners die?
3. Needs tests
2016-02-22 20:47:06 +01:00
Enno Rehling
88f3a46142
generate htpasswd files, understand apr1 hashes in confirmation script
2016-02-10 14:12:38 +01:00
Enno Rehling
91ca77bc48
passwd is no longer written
2016-02-09 18:34:36 +01:00
Enno Rehling
50f22d7c2f
debug output
2016-02-09 18:20:01 +01:00
Enno Rehling
ca6448ec23
re-enable failing valgrind check with more flags
2016-02-09 17:18:09 +01:00
Enno Rehling
7b4b879cc1
quick addition to a_removeall
...
additional testing for attributes
2016-02-06 10:56:08 +01:00
Enno Rehling
8a3bb35987
eliminate global log_flags, revert the mode arguments for fopen.
...
turns out that text is default, and windows hates it if I open a binary file without 'b'
standardize on using join_path to create filenames
(use backslash on windows, even though fopen doesn't seem to care).
2016-02-05 23:10:05 +01:00
Enno Rehling
c16beeef08
TODO: find out which test left those files behind.
2015-12-05 18:47:11 +01:00
Enno Rehling
d780988862
valgrind the unit tests for good measure
2015-11-07 18:04:11 +01:00
Enno Rehling
936c201d0b
Merge pull request #312 from eressea/master
...
pull latest changes from master into develop
2015-10-11 16:47:29 +02:00
Enno Rehling
a3c843f90d
clean up after tests
...
update runtests.bat script for windows development in VS2015
2015-10-11 14:57:35 +02:00
Enno Rehling
71c4cb53c0
add missing guard.h include everywhere, remove duplicate prototypes from config.h
2015-09-12 23:41:37 +02:00
Enno Rehling
dd9420fc38
move at_guard into guard module as well
2015-09-12 23:38:31 +02:00
Enno Rehling
8fa3234159
Merge branch 'master' into develop
...
Conflicts:
tests/runtests.bat
2015-09-12 21:00:28 +02:00
Enno Rehling
a027139057
remove global variable verbosity
in favor of static in main.c (use log_* functions everywhere)
2015-09-12 20:58:09 +02:00
Enno Rehling
42f1030251
separate test script for E4:
...
even though it has mostly the same rules, it does not have xmastrees, and loads a different config
remove dead `inactivefaction` function, we have no use for the file it creates.
2015-09-12 14:10:08 +02:00
Enno Rehling
c731edbfed
remove prefixes.xml from E4, too
2015-09-12 13:38:31 +02:00
Enno Rehling
3003b7fc61
remove prefixes from E3
...
move prefix test to common.lua
2015-09-12 13:37:43 +02:00
Enno Rehling
1a9dd531c5
use boolean values in E2 config.
...
add a runtests.bat file for windows developers.
make some tests clean up after themselves (os.remove on files they create).
2015-09-11 09:34:38 +02:00