| |
---|
| | Test driver to exercise the \fCtconfpy\fP Python module. |
---|
| | |
---|
| | |
---|
| | .SH SYNOPSIS |
---|
| | test-tc.py [symtbl] [nonewvars] [templates] [temponly] [limitns] [litvars] [debug] cfgfile, cfgfile, ... |
---|
| | test-tc.py [symtbl] [nonewvars] [templates] [temponly] [limitns] [litvars] [nopredefs] [debug] cfgfile, ... |
---|
| | |
---|
| | .SH OPTIONS |
---|
| | |
---|
| | .TP |
---|
| | .B symtbl |
---|
| | |
---|
| | This option causes the test driver to include a symbol table with some |
---|
| | predefined test variables in it. These are useful for experimenting |
---|
| | with variable dereferencing, substitution, and type/value enforcement. |
---|
| | |
---|
| |
---|
| | well as any variables created with this option, if present. |
---|
| | |
---|
| | .TP |
---|
| | .B nonewvars |
---|
| | |
---|
| | This option disables the creation of new variables in the |
---|
| | configuration file (via the \fCAllowNewVars\fP API option). The user |
---|
| | is limited to referencing and modifying only those variables already |
---|
| | present in the symbol table. Typically used when passing an initial |
---|
| |
---|
| | The default is to permit new variable creation. |
---|
| | |
---|
| | .TP |
---|
| | .B templates |
---|
| | |
---|
| | This option creates a default set of variable templates for use in |
---|
| | the configuration file. These are passed to the \fCtconfpy\fP parser |
---|
| | via the \fCTemplates={}\fP API option. |
---|
| | |
---|
| |
---|
| | |
---|
| | |
---|
| | .TP |
---|
| | .B temponly |
---|
| | |
---|
| | This option will only permit new variable creation if a template for |
---|
| | that variable exists (via the \fCTemplatesOnly=True\fP parser API |
---|
| | option). This is used in conjunction with the \fCtemplates\fP option |
---|
| | above. |
---|
| |
---|
| | of \fC.literal\fP blocks in a configuration file. If this option |
---|
| | is present, the test driver tells \fCtconfpy\fP to replace any variable |
---|
| | references present in a \fC.literal\fP block. See the \fCtconfpy\fP |
---|
| | documentation for a more complete description. |
---|
| | |
---|
| | .TP |
---|
| | .B nopredefs |
---|
| | This option tells the parser (via the \fCReturnPredefs=False\fP API option) |
---|
| | to |
---|
| | .B not |
---|
| | include any of its own predefined variables in the symbol table it |
---|
| | returns. |
---|
| | |
---|
| | .TP |
---|
| | .B debug |
---|
| | |
---|
| |
---|
| | |