gtpregress

gtpregress - Runs GTP regression tests.

Synopsis

gtpregress [-config file] [-output directory] program test.tst ...

gtpregress [-help]

gtpregress [-version]

Description

Runs a regression test for a Go program supporting the Go Text Protocol and formats the output as HTML. The regression tests are GTP files using the special comment #? as used for the GNU Go regression tests (see section Regression testing of the GNU Go documentation. The main output file is index.html. For each test file test.tst additional files with name test.html and test.out.html are generated. An additional special comment #> file can be used to add the output of the last command to file prepended by the ID of the last test and 0/1 if the last test passed/failed. This is useful if there are extension commands for printing statistics. If the statistics commands output a single line, the resulting file can be processed as a table. If no filename is given to #> the file test.dat will be used.

Options

-config file

Read command line options and arguments from file.

-help

Display help and exit.

-output directory

Write output files to directory.

-version

Print version and exit.