Eric S. Raymond
2dd1ccc535
Fix for Gitlab issue #65 : revisiting "fee fie foe foo" and "fum".
...
100% coverage, "make oldcompare" passes.
2023-04-03 09:24:21 -04:00
Eric S. Raymond
0a1f5dbb43
Nothing but FOO can start a magic-word sequence,
...
100% coverage ans oldcompare passes.
2023-04-03 07:14:11 -04:00
Eric S. Raymond
20cb8b9ffb
Back out test lines that break compatibility with advent430.
...
Coverage is still 100% even withthese lines commebted out.
2023-04-02 18:28:45 -04:00
Eric S. Raymond
b86d4afd20
Back out the behavior change to magic words outside the Giant's Room.
...
There are twi reasons for this. One is to decompolicate verifying
the fix for issue $85: revisiting "fee fie foe foo" and "fum". The
other is because I'm now convinced that the test should notr be
"Are you in the Giant's Room" but :Have you read the grafitti there?
2023-04-02 17:53:09 -04:00
Eric S. Raymond
d9ddf4d805
Consolidate all magicwords tests into one file. 100% coverage.
2023-04-02 17:45:04 -04:00
Eric S. Raymond
9c6219a27d
The oldcompare production no longer requires savefiles.
2023-04-02 11:54:37 -04:00
Eric S. Raymond
34516ecf39
Test name change,
2023-04-02 10:42:10 -04:00
Eric S. Raymond
7dc3482c5b
Start building a better test load for micwords.
2023-04-02 10:23:07 -04:00
Eric S. Raymond
40a4acb868
Comment typo fixes.
2023-04-02 07:41:49 -04:00
Torbjörn Andersson
54927c33e5
Spelling fixes
2023-04-02 07:32:24 +02:00
Eric S. Raymond
e49fb5f367
Close out oldcompare.
...
At this revision all test logs either pass checkfile comparison
against advent439 or have a NOCOMPARE comment explaining why they don't
pass, turning into a TAP skip. 100% coverage.
2023-04-01 18:37:08 -04:00
Eric S. Raymond
59a5afb72e
Improve advent430 comparisons.
2023-04-01 16:58:52 -04:00
Eric S. Raymond
f95442b310
Test comment typo fixes.
2023-04-01 11:34:46 -04:00
Eric S. Raymond
97a69d8cbd
Merge two NOCOMPARE tests.
2023-04-01 11:01:28 -04:00
Eric S. Raymond
0d2332573b
Tweak a fuzzed test fotr advent430 compability. 100% coverage.
2023-04-01 10:47:49 -04:00
Eric S. Raymond
7af8492169
Add a warning comment.
2023-04-01 08:46:44 -04:00
Eric S. Raymond
3af590e972
Trim the illformed test. Still 100% coverage.
2023-03-30 20:09:10 -04:00
Eric S. Raymond
2c8aa9668c
Add explanatory comments to two tests.
2023-03-30 08:46:35 -04:00
Eric S. Raymond
30a98cc916
Factor out the test of the bare word "seed".
2023-03-30 01:05:32 -04:00
Eric S. Raymond
872b94f927
Factor out most of illformed that doesn't cause advent430 problems.
2023-03-30 00:05:13 -04:00
Eric S. Raymond
74c3158f42
Add more NOCOMPARE exclusions due to version skew.
2023-03-29 22:05:27 -04:00
Eric S. Raymond
ef180a0731
Truncatte bigfail test because the RNG gets confused by resurrection.
2023-03-29 18:25:35 -04:00
Eric S. Raymond
c80162b467
More test cleanup to converge with advent430 branch.
2023-03-29 14:40:38 -04:00
Eric S. Raymond
65f221e03f
Add a more carefully factored test...
...
...so we can exclude the part advent430 won't pass.
2023-03-29 10:59:42 -04:00
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