Commit Graph

33 Commits

Author SHA1 Message Date
Simon Howard d9e4a1ff47 Add Github CI test
For a limited set of PWAD demos since we can't test with the commercial
IWADs.
2024-09-04 21:43:24 -04:00
Simon Howard 6204aa00fb Catch the case where source port not found in PATH. 2024-09-04 21:24:39 -04:00
Simon Howard 56b45289b9 Generate rules instead of dependencies.
This allows the testrunner script to be eliminated, and on one of my
lower-spec machines this makes a significant difference because Python
startup can be slow, and it's now not necessary to invoke it for every
run.
2024-09-04 18:40:55 -04:00
Simon Howard 6744277d9b Fix demo playback for some plutonia demos.
Some of these were recorded with Doom 1.9 instead of the Final Doom
binaries, for some reason. Adding overrides fixes them.
2024-09-03 20:37:27 -04:00
Simon Howard fa83ecd230 Convert expected text files to Unix format.
The OpenBSD version of diff doesn't support the `--strip-trailing-cr`
option.
2024-09-03 20:28:40 -04:00
Simon Howard b161a16d80 Add README 2024-09-01 20:26:15 -04:00
Simon Howard fcdff9cc69 Add copyright headers 2024-09-01 20:23:34 -04:00
Simon Howard cf13c8ac19 Add copyright details. 2024-09-01 20:21:25 -04:00
Simon Howard 10ebb82329 Add generate dependency on IWAD file
Rather than asserting at dependency build time, this allows some (PWAD)
demos to be run without having any of the commercial IWAD files.
2024-09-01 00:52:26 -04:00
Simon Howard 4a101e2f3d Use miniwad.wad for running [doom2] PWAD tests. 2024-09-01 00:32:52 -04:00
Simon Howard c32e69b438 Add iwads/ subdirectory for placing IWAD files. 2024-09-01 00:10:58 -04:00
Simon Howard 5a0c33a256 Suppress source port output, just show command. 2024-09-01 00:00:13 -04:00
Simon Howard 7d0a36dca1 Specify demos explicitly
As well as being more deliberate, this also eliminates the need to do
a complete scan of the directory tree just to figure out what files to
run.
2024-08-31 23:50:57 -04:00
Simon Howard fb93f51d87 Add missing demo files
These all play back successfully.
2024-08-31 23:36:20 -04:00
Simon Howard 9702ec6c4d Add demos that actually play back correctly
For some reason the old statcheck wasn't actually running these tests
and had empty expectation files for them. These are copied from the
generated output, not from dosbox.
2024-08-31 20:05:02 -04:00
Simon Howard a22157f19d Ignore trailing CR in statdump files.
The generated files are in DOS file format.
2024-08-31 19:26:19 -04:00
Simon Howard 91b75eb7d6 Add game version overrides for specific files
Imported from exceptions.cfg in the old statcheck.
2024-08-31 19:25:14 -04:00
Simon Howard e2f6b23a48 Reset WAD file date after extract from ZIP. 2024-08-31 18:42:59 -04:00
Simon Howard 0d08412a87 Fix capitalization to match expected/ 2024-08-31 18:37:17 -04:00
Simon Howard d0b751abd4 Generate dependencies
This ensures that the appropriate WAD files are extracted for each
demo.
2024-08-31 17:39:22 -04:00
Simon Howard eda0c337b6 Add missing, fix broken .lmps
It looks like the libarchive version of unzip can't extract all the
files that the Info-ZIP version can.
2024-08-31 17:34:26 -04:00
Simon Howard 4cdadc9b94 Split config read function out to separate file. 2024-08-31 16:28:47 -04:00
Simon Howard 3243cc4968 Set path to source port binary in Makefile 2024-08-31 16:27:01 -04:00
Simon Howard 71fbd71195 Move command line options to Makefile 2024-08-31 02:09:35 -04:00
Simon Howard 807b1ff29d Config files for IWAD demos 2024-08-31 02:05:09 -04:00
Simon Howard 93cc45308e Initial test runner script 2024-08-31 02:01:55 -04:00
Simon Howard fa2d68af0b Lower case to match expected .txt files 2024-08-31 01:16:45 -04:00
Simon Howard 44250bcfbc Initial rules for generating outputs 2024-08-31 01:00:30 -04:00
Simon Howard 7c8b59b5c6 Initial makefile; PWAD zip extract 2024-08-31 00:33:02 -04:00
Simon Howard f85c209ece Add .zips of PWAD files 2024-08-31 00:32:22 -04:00
Simon Howard 29e7c0135e Add expected statdump output 2024-08-30 23:49:19 -04:00
Simon Howard 1ff5cb609b Move .lmps to subdirectory. 2024-08-30 23:47:01 -04:00
Simon Howard fd13d9569f Add .lmp demo files extracted from archive .zips. 2024-08-30 23:44:41 -04:00