Regression-test machinery is now documented.
This commit is contained in:
parent
894724d1c8
commit
53074fb1ea
3 changed files with 20 additions and 5 deletions
2
README
2
README
|
@ -15,3 +15,5 @@ original 6-character name on the PDP-10 has been reverted to for the
|
||||||
executable in order to avoid a collision with the BSD games port of
|
executable in order to avoid a collision with the BSD games port of
|
||||||
the ancestral 1977 version.
|
the ancestral 1977 version.
|
||||||
|
|
||||||
|
You can run a regression test on the code with 'make check'.
|
||||||
|
|
||||||
|
|
7
TODO
7
TODO
|
@ -1,11 +1,8 @@
|
||||||
= Open Adventure TODO =
|
= Open Adventure TODO =
|
||||||
|
|
||||||
* Update the command parser to accept a PRNG seed value.
|
* Find the extra 5 treasures.
|
||||||
|
|
||||||
* Add command log replay. Note that the replay log needs to begin
|
* Make more regression tests from walkthroughs.
|
||||||
with the random-number seed.
|
|
||||||
|
|
||||||
* Use that feature to make regression tests from walkthroughs.
|
|
||||||
|
|
||||||
* Translate the FORTRANish mess to actual C.
|
* Translate the FORTRANish mess to actual C.
|
||||||
|
|
||||||
|
|
16
tests/README
Normal file
16
tests/README
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
= Notes on the test machinery =
|
||||||
|
|
||||||
|
A .tst extension means it's a game log
|
||||||
|
A .chk extension means it's expected output from a test
|
||||||
|
|
||||||
|
In general, a file named foo.chk is the expected output from theb game log
|
||||||
|
foo.log. To add new tests, just drop log files in this directory.
|
||||||
|
|
||||||
|
To see summary lines from all tests, 'make testlist'.
|
||||||
|
|
||||||
|
To run the tests, "make regress".
|
||||||
|
|
||||||
|
To remake the check files, "make buildregress".
|
||||||
|
|
||||||
|
// end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue