www.delorie.com/gnu/docs/gnugo/gnugo_212.html   search  
Buy GNU books!

GNU Go Documentation

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

21.1 Regression testing in GNU Go

Regression testing is performed by the files in the `regression/' directory. The tests are specified as GTP commands in files with the suffix `.tst', with corresponding correct results and expected pass/fail status encoded in GTP comments following the test. To run a test suite the shell scripts `test.sh', `eval.sh', and regress.sh can be used. There are also Makefile targets to do this. If you make all_batches most of the tests are run.

Game records used by the regression tests are stored in the directory `regression/games/' and its subdirectories.

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003