Enno Rehling
dd7b0e4db3
re-enable disabled test.
2018-12-02 05:10:39 +01:00
Enno Rehling
da9d3d3573
Merge branch 'master' into develop
2018-10-29 20:10:51 +01:00
Enno Rehling
dce5f7857b
unused variable
2018-10-28 21:31:58 +01:00
Enno Rehling
be84c13a72
remove test_inject_messagetypes(), make that the default behavior in tests.
2018-10-28 21:28:05 +01:00
Enno Rehling
a7b9f6dc3e
Do not use 0 to mean NULL pointers.
2018-10-14 11:49:48 +02:00
Enno Rehling
b3b19e7c83
suppress those null-reference bugs in another way, maybe?
2018-05-19 21:01:10 +02:00
Enno Rehling
dfa0ff09d1
Suppress some false positive coverity results.
...
It apparently does not understand CuTest code well?
Add a check for Lua eff_skill binding.
2018-05-19 20:53:51 +02:00
Enno Rehling
6b0f75339f
message parsing from exparse is working, but allocates too much.
2018-05-18 20:42:22 +02:00
Enno Rehling
19b3b5b35a
change how message types are created (more prep work for expat)
2018-05-18 19:58:49 +02:00
Enno Rehling
120b03d2f5
Passing NULL after the last typed argument to a variadic function leads to undefined behaviour.
2018-02-25 18:14:48 +01:00
Enno Rehling
787abc90cf
provide more missing messages in test setups.
2018-01-14 11:58:22 +01:00
Enno Rehling
cff4e12fbd
celan up tests, rename test_cleanup -> test_teardown.
2017-12-27 19:58:39 +01:00
Enno Rehling
5c63d20ff7
fix remaining bugs
2017-09-30 19:35:40 +02:00
Enno Rehling
54fdda85cd
smallify order
2017-09-30 19:22:24 +02:00
Enno Rehling
868f4e6cef
also apply noerror rules to msg_feedback.
2017-03-25 11:36:29 +01:00
Enno Rehling
b44c5e54bf
Neuer Befehlespräfix: ! zur Unterdrückung von Fehlern.
2017-03-25 11:18:48 +01:00
Enno Rehling
4e5f1d05ce
Be very strict about C standards.
...
Compile with -std=c89 in gcc.
remove all // comments (they are nice, but unnecessary).
variables only declared at start of block.
various pedantery.
backwards compatible va_copy for pre-C99 gcc.
2017-02-18 21:15:14 +01:00
Enno Rehling
7d874f1606
fix clang builds
2016-11-18 13:24:50 +01:00
Enno Rehling
5018bbb0c0
correctly release messages created in test_merge_split
2015-10-14 20:21:38 +02:00
Enno Rehling
2abdba9e8a
refactor free_messagelist, fix leak in test_merge_split
2015-10-14 14:08:50 +02:00
Enno Rehling
457465b4a2
memory leak: free message_list objects
2015-10-13 22:37:45 +02:00
Enno Rehling
7e64f3177d
refactoring: rewrite tests to use test_find_messagetype instead of assert_messages.
...
tests: add cleanup of message_types to reduce global state.
2015-08-17 19:36:28 +02:00
Enno Rehling
27b5588e8f
Merge region messages and individual messages before writing them into the report.
...
This fixes https://bugs.eressea.de/view.php?id=2073
2015-08-16 11:30:44 +02:00
Enno Rehling
abca25d1d5
fix indentation in every file
...
fix copyright date
remove vi ts=2 code
remove a couple of superfluous extern declarations
2015-01-30 20:37:14 +01:00
Enno Rehling
490782e750
add some simple tests for messages, prior to any refactorings.
2015-01-15 16:40:19 +01:00