Commit graph

1303 commits

Author SHA1 Message Date
Aaron Traas
9056fa7a2c Eliminated another label 2017-07-10 17:35:24 -04:00
Aaron Traas
18ec2f79b0 Eliminated a label 2017-07-10 17:23:20 -04:00
Aaron Traas
4d7858d333 Cleaned up do_command() a little 2017-07-10 17:21:09 -04:00
Aaron Traas
b29f56f595 Isolate command input processing, got rid of label "Laction" 2017-07-10 16:30:51 -04:00
Aaron Traas
7c610a120d refactored fallback_handler() to use command_t, isolating from side effects 2017-07-10 16:09:18 -04:00
Aaron Traas
21c36003cd Test message corrected 2017-07-10 16:04:48 -04:00
Aaron Traas
39fbd7a56f Revert "Remove 'version' test. Framework plays badly with variable output."
This reverts commit 13f7304081.
2017-07-10 16:04:48 -04:00
Eric S. Raymond
76c6ab4cfa Tweak a coverage exclusion. 2017-07-10 14:57:55 -04:00
Aaron Traas
3bfaff447b Coverage - bird attack snake in endgame 2017-07-10 12:53:13 -04:00
Eric S. Raymond
9a16382b12 Bear can't dies where it can be chained. 2017-07-10 12:49:45 -04:00
Eric S. Raymond
13f7304081 Remove 'version' test. Framework plays badly with variable output.
We'll have to come up with generic solution to this.
2017-07-10 12:18:35 -04:00
NHOrus
0ea7dcf1a0 Version bump in tests 2017-07-10 15:11:19 +03:00
NHOrus
5ae50f1580 Fail getting some more hints by disqualifying conditions 2017-07-10 15:10:46 +03:00
NHOrus
6ae7d0bf16 Two different failures to get hint for ogre 2017-07-10 15:10:46 +03:00
NHOrus
af6ee946ef Fail to feed the snake, find the pirate before he pounces 2017-07-10 15:10:46 +03:00
Eric S. Raymond
b1b0399c66 Ready to release 1.2. 2017-07-10 07:46:26 -04:00
Eric S. Raymond
28ebecc1f1 Add historical details. 2017-07-09 16:48:29 -04:00
Aaron Traas
91c9fa3066 Coverage: LOC_DIFFERENT* and fail to feed bear 2017-07-09 15:32:14 -04:00
Aaron Traas
f43bacfa0f Sort coverage report to make more readable 2017-07-09 15:31:11 -04:00
Eric S. Raymond
034a13595b Clean up test titles. 2017-07-09 14:58:44 -04:00
NHOrus
173b1b1acd Test for failure to deal with ogre by attacking him 2017-07-09 20:39:14 +03:00
NHOrus
9b879b41cb Test for selecting different plants 2017-07-09 20:36:41 +03:00
NHOrus
5cee3cc785 Tests for failing with the golden eggs 2017-07-09 20:35:24 +03:00
NHOrus
7ba34df739 Last unfired test - for getting the jade (better start over!) 2017-07-09 20:28:15 +03:00
NHOrus
2b22871cce Some fuzzing-generated tests, with possible coverage redundancies 2017-07-09 20:25:39 +03:00
NHOrus
53b68161ff Two more lines of coverage; more cleanup for macros 2017-07-09 20:25:28 +03:00
Eric S. Raymond
6a27214470 Documentation improvement. 2017-07-09 07:39:48 -04:00
Eric S. Raymond
859663b14b Documentation polishing. 2017-07-09 07:03:26 -04:00
Aaron Traas
926a806db9 Made YAML coverage test work with variable messages (%s, %d, etc.) 2017-07-08 19:37:51 -04:00
NHOrus
53cb12b4d0 Bound the sizes of strcpy. 2017-07-08 15:16:21 -04:00
NHOrus
a3ffa2455b № and minor syntax correction 2017-07-08 21:00:26 +03:00
NHOrus
c0817b6bb5 Fix dead bear tests 2017-07-08 20:02:30 +03:00
NHOrus
e09ba7244d Minor deduplication 2017-07-08 19:59:50 +03:00
NHOrus
d739c111d7 Restructure quips for invalid movements. 2017-07-08 19:59:50 +03:00
NHOrus
386ca2b8d2 Restructure lightcheck 2017-07-08 19:59:50 +03:00
Eric S. Raymond
7d690e0b95 Set game.newloc when reincarnated. Fixes a bug. 2017-07-08 11:34:09 -04:00
Eric S. Raymond
fcfc7c3b5c Add a code audit production using cppcheck. 2017-07-08 09:51:10 -04:00
Eric S. Raymond
9a6e492ba4 Expand test coverage, partly fixing Gitlab issue #23. 2017-07-08 08:59:28 -04:00
Eric S. Raymond
75094fd658 Comment polishing. 2017-07-08 08:35:44 -04:00
Eric S. Raymond
2935e07bc9 Documentation polishing. 2017-07-08 01:52:19 -04:00
Aaron Traas
4446c61d5f Now YAML coverage test generates a nice HTML template 2017-07-07 22:41:59 -04:00
Eric S. Raymond
6af7db8cd9 Comment polishing. 2017-07-07 16:39:11 -04:00
Aaron Traas
310559ce15 adventure.yaml coverage test script -- not at all polished, but works 2017-07-07 16:28:14 -04:00
NHOrus
5af8fb18f0 Prevent access beyond boundaries of array on fallthrough 2017-07-07 23:15:54 +03:00
NHOrus
9100c14d2c Fuzzed tests for two of untested hint conditions 2017-07-07 22:41:53 +03:00
Eric S. Raymond
100152c21d Comment cleanup. 2017-07-07 15:34:32 -04:00
Eric S. Raymond
1cbc3d827b Eliminate magic numbers from C side of condition handling. 2017-07-07 15:01:25 -04:00
Eric S. Raymond
2bdf9e2803 Purge magic numbers from C side of destination handling. 2017-07-07 11:04:18 -04:00
NHOrus
e619c41048 Don't forget to ask important questions when removing restore of saves 2017-07-07 17:58:42 +03:00
NHOrus
0042d641dc Plugged all memory leaks.
Now all tests pass under ASan or Valgrind.
2017-07-07 12:07:52 +03:00