From: Eric S. Raymond Date: Mon, 20 Feb 2012 20:08:18 +0000 (-0500) Subject: Add a 'check' production to integrate test machinery. X-Git-Tag: 2.2~101 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=0e91d76d5d2dd36b5c650e25ccd4fa806de3a55b;p=super-star-trek.git Add a 'check' production to integrate test machinery. --- diff --git a/Makefile b/Makefile index 61855c9..f85b337 100644 --- a/Makefile +++ b/Makefile @@ -29,6 +29,9 @@ sst-$(VERS).tar.gz: $(SOURCES) sst.6 dist: sst-$(VERS).tar.gz +check: #pylint + cd test; make --quiet + pychecker: @-pychecker --quiet --only --limit 50 sst.py diff --git a/doc/HACKING b/doc/HACKING index 32bccdc..93c0df6 100644 --- a/doc/HACKING +++ b/doc/HACKING @@ -216,21 +216,8 @@ This code has been designed to be tested. A simple shellscript included in the distribution, 'replay', automatically reruns the last game you played. -Here are some interesting seeds for debugging and regression testing -For each one, I list the seed, the options, and the last svn revision -for which it is known to have given the described behavior. +See the "test" directory for regression-test logs and checkfiles. -1160647745 regular short good fancy (r769) - -Starts you in a quadrant with the Super-Commander in it. Slamming three -torps at him will kill him. You can use this to regression-test both -torpedo tracks and the Deep Space Probe. Known bug: "probe aut 2 8" -triggers manual navigation. - -1160707235 regular short good fancy (r769) - -Do sr/mov aut 5 4/sr/sensors/orbit/transport; you'll get a transporter -failure. NOTES ON THE PYTHON TRANSLATION: