The selftest parser

Command line

parse_tests.pike [option(s)] dir-to-parse

Options

--help

Show a usage summary.

--modulefile

Set file used for selecting which modules to build. See selective selftests.

--outroot

Set the root of the selftest output.

Selective selftests

The selftest parser can be configured to only build a selftests from a subset of the full module set. This is accomplished by creating a modules file with a listing of modules to include. This file uses a basic syntax with one module per line. The file comments prefixed with # and globs. An empty file means include all modules.

Example file:
# This is a comment
about
doc*    # Include modules with a doc-prefix.
pi            

The location of this file can be specified by the --modulefile option, if this is not entered the parser will look for this file at modules/selftest/selftest.modules.

Parser output

To be written...