Commit graph

77 commits

Author SHA1 Message Date
NHOrus
562569f33c Putting cleanup in the right place, too 2017-07-01 15:39:37 +03:00
NHOrus
b0705ba0bb Fix make debug check 2017-07-01 15:39:37 +03:00
Aaron Traas
a434192373 Fixed automated testing 2017-06-29 10:16:41 -04:00
Eric S. Raymond
d5942e1732 More test repairing. 2017-06-28 13:21:31 -04:00
Eric S. Raymond
783e2e5e2d Repair test breakage from previous commit. 2017-06-28 13:18:07 -04:00
Aaron Traas
eb89cd5b4e Cleaned up tests/Makefile - added save generation to its own target 2017-06-28 10:57:28 -04:00
Aaron Traas
6152e35afd Test coverage: command-line options for advent 2017-06-28 10:57:28 -04:00
Aaron Traas
3b780dd57e Test coverage -- 100% cheat for real this time 2017-06-28 10:57:28 -04:00
Aaron Traas
7b1eb1ec58 buildregress now generates save files correctly. 2017-06-27 16:13:49 -04:00
Aaron Traas
2781413fa9 100% coverage of cheat.c 2017-06-27 16:13:49 -04:00
Aaron Traas
0a30176a8c Allow cheat to generate save files with bogus numbers.
Also remove pre-built save file for resumefail.log
2017-06-27 16:13:49 -04:00
Aaron Traas
7392603b7d "cheat" now has command-line arguments for generating cheat files
-d number of deaths. Signed integer value
-s number of saves. Signed integer value
-o file name of save game to write
2017-06-27 16:13:49 -04:00
Eric S. Raymond
d6cb6f0d8d Create a cheater to test strange save/resume cases.
Patch due to Aaron Traas, but needed modification because of code
drift since submission.
2017-06-26 15:07:09 -04:00
Eric S. Raymond
73f3831294 Add -l to coverage testing. 2017-06-20 08:34:01 -04:00
Eric S. Raymond
d250b51030 Get usage message into coverage tests. 2017-06-18 23:31:59 -04:00
Eric S. Raymond
d7bb3f61eb Test coverage of -s and -l options. 2017-06-16 09:54:10 -04:00
Peje Nilsson
b6db1731ed Run the rm in the same subshell 2017-06-14 08:32:06 -04:00
Jason S. Ninneman
0f65f14b36 Remove .adv files with make clean. 2017-06-08 00:15:03 -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
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
Jason S. Ninneman
900f8d9df5 Do code coverage analysis, and publish the results to GitLab Pages. 2017-06-02 15:52:52 -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
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
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
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