Commit graph

401 commits

Author SHA1 Message Date
Eric S. Raymond
cbb5572b21 Clean up some tests, adding newlines at EOF where they're missing.
The advent430 command interpreter accidentally accepted input lines with no
trailing newline. Thus, these files produced spurious mismatches.
2023-03-29 10:55:56 -04:00
Eric S. Raymond
a5eeb0b2bc Add a useful warning to the tests makefile 2023-03-29 09:36:58 -04:00
Eric S. Raymond
4eccfa127c Document a bugfix and isolate it in a test. 2023-03-29 09:24:12 -04:00
Eric S. Raymond
dc8b19bcdc Implement NOCOMPARE magic. 2023-03-23 14:58:06 -04:00
Eric S. Raymond
2070db3a2a Test simplification - we don't care about the difference in processing blank lines. 2023-03-22 21:20:24 -04:00
Eric S. Raymond
e3fbac804b Reconciliation with advent430. 2023-03-22 20:39:36 -04:00
Eric S. Raymond
5f7ce87040 Change prompt generation to be more compatible with the advent430 branch. 2023-03-22 17:09:14 -04:00
Eric S. Raymond
1ffb81b70b YAML markup fix. 2023-03-22 14:48:49 -04:00
Eric S. Raymond
fefd2a19fb Remove redundant test. 2023-03-22 14:48:49 -04:00
Eric S. Raymond
4fa3d4d758 Test cleanup and reconvilation with advent430. 2023-03-22 14:48:49 -04:00
Eric S. Raymond
07a0f066ba Quoting fixes in the YAML. 2023-03-22 00:05:58 -04:00
Eric S. Raymond
a006bdd272 TAPify the ancient-diffs report. 2023-03-22 00:05:58 -04:00
Eric S. Raymond
327efd3678 Test cleanup. 2023-03-22 00:05:58 -04:00
Eric S. Raymond
b044e9ab42 Move in the direction of being able to do ancient regression tests. 2023-03-21 17:27:30 -04:00
Eric S. Raymond
8fd3eb8b92 Testing simplification. 2023-03-16 10:18:56 -04:00
Eric S. Raymond
9758883ea2 More TAPification. 2023-03-16 09:48:16 -04:00
Eric S. Raymond
9b89dd2829 Experimental test production. 2023-03-14 14:58:26 -04:00
Eric S. Raymond
5929a68b88 Real test coverage dor SAVE_TAMPERING. 2023-03-12 17:37:58 -04:00
Eric S. Raymond
43af075fa9 Cleann up scratchfile after tesrs. 2023-03-12 17:21:15 -04:00
Eric S. Raymond
7723f3fc1a Add coverage exception now that SAVE_TAMPERING is back. 2023-03-12 10:11:52 -04:00
Eric S. Raymond
0ffb297801 Relax the savefile validity check a little.
There was a very old bug, probably predating the OpenAdventure port,
that would poke a stashed value of -1 into the snake object if you did
a save in endgame, and then fail the savefile validation on resume.
This was masked for a long time by a bug in put() just fixed a couple
of revisions ago.
2023-03-12 10:03:43 -04:00
Eric S. Raymond
04df0ce64c Add message and bailout on invalid save.
Note: save/resume still fails at saveresume.4
at this revision.
2023-03-12 06:39:57 -04:00
Eric S. Raymond
71f05c4567 Bugfix: bird starts caged in endgame.
Turns out the code of put() had been modified ibcorrectly, but
the bug was masked in all but a few cases, noe of which would be
encountered in normal gameplay.

A test to ensure this bug does noit recur has been added.
2023-03-11 09:35:26 -05:00
Eric S. Raymond
b125fe7b2a Fix interrupted-magic-words cosmetic bug.
C patch by Torbjörn Andersson.
2023-03-10 16:43:27 -05:00
Eric S. Raymond
8f527fb433 Fix whitespace glitch. 2023-03-09 10:19:53 -05:00
Eric S. Raymond
643eab4e9c Use $(advent) rather than advent where needed. 2023-03-09 08:54:20 -05:00
Eric S. Raymond
f53476f826 Complete fix of GitLab issue #64: Coverage summary looks wrong 2023-03-08 22:55:12 -05:00
Eric S. Raymond
83c32598be Partially address Gitlsb issue #64: Coverage summary looks wrong 2023-03-08 21:54:45 -05:00
Eric S. Raymond
1efd1027f7 Add test for interspersed non-motion command amidst magic words. 2023-03-04 20:26:13 -05:00
Eric S. Raymond
a01c08385c Prevent a spurious coverage error. 2023-03-04 19:58:57 -05:00
Eric S. Raymond
1f644a1d7d Don't crap out on failed diff. 2023-03-01 14:01:44 -05:00
Eric S. Raymond
3f34adad3b Move pylint suppressions inline. 2023-02-28 19:46:50 -05:00
Eric S. Raymond
9a1b4d021e Improve message emission when player wins. 2023-02-28 15:10:54 -05:00
Eric S. Raymond
ff2dd31209 Update our tapview copy. 2023-02-28 15:04:42 -05:00
Eric S. Raymond
23e9931645 Prevent spurious error return. 2023-02-28 14:48:33 -05:00
Eric S. Raymond
aa32e8f4d6 Add Ryan Sarson's 430-point win to the test suite. 2023-02-27 23:03:38 -05:00
Eric S. Raymond
60d7070506 Cleanup for current pylint. 2023-02-17 13:45:50 -05:00
Eric S. Raymond
86e2e21ef8 Drop vase on pillow in well house and confirm that you get points for it. 2022-04-18 12:40:09 -04:00
Eric S. Raymond
dee8809e30 pylint cleanup. 2022-04-14 13:54:45 -04:00
Eric S. Raymond
44017d64bb Reorganize and clean up test machinery. 2022-04-14 12:27:15 -04:00
Eric S. Raymond
dd7b664e32 Revert Makefile changes that broke coverage testing for cheat.c 2022-04-14 12:05:03 -04:00
Eric S. Raymond
0f5fd82b77 Add a test of resurrection logic. 2022-04-13 04:38:41 -04:00
Eric S. Raymond
834f6e753c Add test that dropping vase in tghe soft room does not break it. 2022-04-13 04:23:28 -04:00
Eric S. Raymond
af7ce31dd9 Simplify the test machinery. 2022-04-13 03:59:57 -04:00
Eric S. Raymond
337377ab57 savecheck only needs to be run for makiung coverage reports. 2022-04-13 03:45:59 -04:00
Eric S. Raymond
d235313e97 Switch normal regression testing to TAP output. 2022-04-13 03:13:53 -04:00
Eric S. Raymond
129136b51e Integrate multifile test into TAP sequence. 2022-04-13 02:58:02 -04:00
Eric S. Raymond
7b3b5d32c0 More steps towards TAP. 2022-04-13 02:42:25 -04:00
Eric S. Raymond
c78845e05a Update maxhinert for tap from reposurgeon...
...but it doesn't work yet.
2022-04-12 23:23:48 -04:00
Eric S. Raymond
74dc0d168a Take test coverage back to 100% 2022-04-12 22:47:41 -04:00