Commit graph

434 commits

Author SHA1 Message Date
Eric S. Raymond
e8991f69e9 Simplify and speed up testing. 2023-04-06 16:38:21 -04:00
Eric S. Raymond
3e72486724 Comment typo fix 2023-04-06 12:13:38 -04:00
Eric S. Raymond
fe378b9e13 Improved behavior when magic words are said before they're seen.
Note: there is a tiny risk that this could break savefile
compatibility, as I swiped an unused int member in the game structure
and turned it into a bool. int and bool *should* be the same sixe...
2023-04-05 19:49:38 -04:00
Eric S. Raymond
3c6648882d How to set up prerequisites for oldcompare 2023-04-04 19:14:45 -04:00
Eric S. Raymond
00bdc2133a Improve TAP messages slightly. 2023-04-04 09:53:10 -04:00
Eric S. Raymond
20e1b9d930 Update tapdiffer version. 2023-04-04 09:32:18 -04:00
Eric S. Raymond
1ce4fc2ac3 Improve copyright lines. 2023-04-03 17:05:01 -04:00
Eric S. Raymond
6ebc2bf0e3 Documentation fix. 2023-04-03 11:25:11 -04:00
Eric S. Raymond
25230068fe Partial REUSE cmpliance. 2023-04-03 11:25:11 -04:00
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