mirror of
https://github.com/chocolate-doom/statcheck.git
synced 2024-11-21 04:01:10 +00:00
Vanilla Doom statdump regression testing
0fbe718e3a
This has no real effect on SDL since we run with the `dummy` driver that just does everything offscreen. However, Chocolate Doom by default pauses for a second on startup if running fullscreen, so that the display has time to settle if the monitor changes modes. Since statcheck runs through hundreds of fairly short demos, this equates to a useless pause that makes the whole run take much longer. |
||
---|---|---|
.github/workflows | ||
demos | ||
expected | ||
extract | ||
iwads | ||
output | ||
pwads | ||
.gitignore | ||
COPYING.GPL2.md | ||
COPYING.md | ||
demos.txt | ||
GNUmakefile | ||
makerules | ||
README.md |
This is a Doom source port regression testing system that uses the thousands of demos in the Compet-N archive to test demo playback. It was developed for Chocolate Doom but it may be useful for other source ports as well.
The demos have been played back in vanilla Doom running in statdump.exe to save statistics about the levels that were completed. The output from statdump.exe (in the form of .txt files) gives a useful set of expected outputs. A source port able to output the same statistics data can then be tested by playing back the same demos and comparing against this expected data set.
See the Chocolate Doom website for details about how to run the test suite.