| |
---|
| | # test-tc.py - A Test Driver For The 'tconfpy' Configuration File Parser |
---|
| | # Copyright (c) 2003-2004 TundraWare Inc. All Rights Reserved. |
---|
| | |
---|
| | PROGNAME = "tconfpy Test Driver" |
---|
| | RCSID = "$Id: test-tc.py,v 1.129 2004/04/07 08:32:50 tundra Exp $" |
---|
| | RCSID = "$Id: test-tc.py,v 1.130 2004/04/08 17:15:41 tundra Exp $" |
---|
| | VERSION = RCSID.split()[2] |
---|
| | |
---|
| | # Copyright Information |
---|
| | |
---|
| |
---|
| | |
---|
| | # Everything else presumed to be a configuration file |
---|
| | else: |
---|
| | |
---|
| | retval = ParseConfig(fn, st, AllowNewVars=ALLOWVAR, AllowNewNamespaces=ALLOWNS, Debug=DEBUG, LiteralVars=LITVARS) |
---|
| | retval = ParseConfig(fn, InitialSymTable=st, |
---|
| | AllowNewVars=ALLOWVAR, |
---|
| | AllowNewNamespaces=ALLOWNS, |
---|
| | Debug=DEBUG, |
---|
| | LiteralVars=LITVARS |
---|
| | ) |
---|
| | |
---|
| | if retval.Errors: |
---|
| | print "Errors Were Found In '%s'!" % fn |
---|
| | else: |
---|
| |
---|
| | |