Commit graph

450 commits

Author SHA1 Message Date
Eric S. Raymond
cbf027c28b Further increase test coverage. 2017-06-13 09:26:54 -04:00
Eric S. Raymond
7018354e22 Improve regression-test coverage. 2017-06-13 09:18:24 -04:00
Eric S. Raymond
6a6d9ca14e Address GitLab issue #10: Spurious '>' characters appearing in console output
The prompt logic has become unpleasantly complicated.
2017-06-13 08:03:27 -04:00
Jason S. Ninneman
4ae8585802 Massive whitespace update to the test output.
(With one minor exception: the 'pillow' problem.)
2017-06-11 15:43:38 -07:00
Jason S. Ninneman
5ed0cc0fe9 Change 'drop pillow' to 'drop pillo' to make the test pass while we sort out a minor bug. 2017-06-11 15:42:25 -07:00
Eric S. Raymond
d6c707f6ac Test for the "break" verb. 2017-06-11 18:24:35 -04:00
Eric S. Raymond
b9eccc7aa2 Increase test coverage. 2017-06-11 17:41:29 -04:00
Eric S. Raymond
5a33ce3937 More test coverage. 2017-06-11 16:50:55 -04:00
Eric S. Raymond
1a4bf3abcd Improved test coverage. 2017-06-11 16:18:03 -04:00
Jason S. Ninneman
2039192f05 Update the save/resume tests for linenoise. 2017-06-08 00:15:03 -07:00
Jason S. Ninneman
0f65f14b36 Remove .adv files with make clean. 2017-06-08 00:15:03 -07:00
Eric S. Raymond
0105b04ac2 More test coverage improvements. 2017-06-06 06:59:39 -04:00
Eric S. Raymond
54eb0ac2cb Another test coverage extension. 2017-06-06 06:00:08 -04:00
Eric S. Raymond
456aa3d7b6 Should have been committee along with last change to illformed.log. 2017-06-06 05:44:35 -04:00
Eric S. Raymond
98a67dd50b Further extend test coverage. 2017-06-06 05:36:39 -04:00
Eric S. Raymond
7130265578 In tests, exercise the "go back" code. 2017-06-06 00:54:56 -04:00
Eric S. Raymond
7118f25d5a Add a small tool for making logs from checkfiles.
Useful because the context in checkfiles makes them easier to edit
than plain logfiles are.
2017-06-06 00:52:04 -04:00
Jason S. Ninneman
78f5cc9e6a Update the tests README. 2017-06-05 19:33:35 -07:00
Jason S. Ninneman
b2c774afeb Alphabetically sort the test file list.
This ensures that appropriately-named tests run in sequence. E.g., test.1.log, test.2.log, etc.
2017-06-05 19:21:08 -07:00
Jason S. Ninneman
990be32ac6 Add simple tests of save and resume. 2017-06-05 19:20:39 -07:00
Eric S. Raymond
fbe3f90ad9 Fix dropped stitch in last commit. 2017-06-04 16:08:19 -04:00
Eric S. Raymond
5b28397739 Make it possible to pass options to advent from within regression-test loads. 2017-06-04 16:06:21 -04:00
Eric S. Raymond
fa63a56f18 Test coverage improvement. 2017-06-04 07:30:21 -04:00
Eric S. Raymond
3e82eeda27 Documentation polishing. 2017-06-03 13:04:46 -04:00
Eric S. Raymond
6f17b31b85 Test for more unusual cases. 2017-06-03 11:27:24 -04:00
Eric S. Raymond
4874fce5c7 Add some tests that increase test coverage to add cases.
Proof of concept. More could be added in illformed.log.
2017-06-03 06:28:00 -04:00
Jason S. Ninneman
900f8d9df5 Do code coverage analysis, and publish the results to GitLab Pages. 2017-06-02 15:52:52 -07:00
Eric S. Raymond
67d8c99e53 Added 428-point walkthrough to regression tests. 2017-06-02 06:38:59 -04:00
Eric S. Raymond
dbe02a31a2 Add a walkthrough that foes nearly to endgame. 2017-06-01 14:36:16 -04:00
Jason S. Ninneman
2483a23690 Test to ensure that the turn count penalties occur. 2017-05-31 13:36:36 -07:00
Eric S. Raymond
b2c0107fed Metadata update. 2017-05-31 14:34:32 -04:00
Eric S. Raymond
77d2a1e5dd Add another test. 2017-05-31 06:37:56 -04:00
Eric S. Raymond
6a6670e3ca Fix things so seed doesn't cost clock time. 2017-05-30 20:08:55 -04:00
Eric S. Raymond
6b6cfa37f1 Remove inventory commands from the pirare log - more hope of completing it. 2017-05-30 19:59:38 -04:00
Eric S. Raymond
edc11a1f04 Replace 161-point partial walktgrough with 219-point (same base). 2017-05-30 18:27:25 -04:00
Jason S. Ninneman
b3d6df3a8d Update reservoir test to reflect the magic word fix. 2017-05-29 14:41:15 -07:00
Jason S. Ninneman
f0528b0ded Move database compilation out into its own tool (for now). 2017-05-28 21:46:54 -07:00
Eric S. Raymond
e0f160d313 Remove debris from the Makefile. 2017-05-28 13:55:41 -04:00
Eric S. Raymond
113a2a3e94 Add regression test that gets to reservoir.
This allows reproduction of the magic-word bug.
2017-05-28 13:53:59 -04:00
Jason S. Ninneman
1ea2c86641 Restory working seed value for dwarf.log. 2017-05-27 09:23:52 -07:00
Eric S. Raymond
c15a470a56 Restore regression tests. 2017-05-27 10:51:43 -04:00
Eric S. Raymond
4ab32f98a6 More Makefile simplification. 2017-05-27 10:32:11 -04:00
Eric S. Raymond
708d728bb5 Simplify the test makefile. 2017-05-27 10:31:16 -04:00
Jason S. Ninneman
f9eca41f3a Ensure the ZZZZ magic word is reproducible.
This happens by making the SEED command also regenerate the magic word.
2017-05-26 16:34:16 -07:00
Eric S. Raymond
e4f6bfc109 Death by dwarf test. 2017-05-26 06:16:16 -04:00
Eric S. Raymond
d2643712dd Fix bug that led to comments bnot being ignored. 2017-05-26 05:14:18 -04:00
NHOrus
df23b58032 Different, correct fix of tests
Now without caching .data and extended cleanup
2017-05-26 09:41:54 +03:00
Eric S. Raymond
196a9e1a49 Document test comment format. 2017-05-26 00:40:35 -04:00
Eric S. Raymond
53074fb1ea Regression-test machinery is now documented. 2017-05-26 00:37:24 -04:00
Eric S. Raymond
894724d1c8 First version of regression tests.
Only one test so far but the framework for more is in place.
2017-05-26 00:22:51 -04:00