Changed to only produce debug and litvar output reports if those
options were specified on the command line.
1 parent 187e709 commit eef1d9a7e8fbb702449a90f86256ed425af44f88
@tundra tundra authored on 1 Apr 2004
Showing 1 changed file
View
24
test-tc.py
# 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.123 2004/04/01 20:38:57 tundra Exp $"
RCSID = "$Id: test-tc.py,v 1.124 2004/04/01 21:15:01 tundra Exp $"
VERSION = RCSID.split()[2]
 
# Copyright Information
 
 
dumpreturn("SYMBOL TABLE", retval.SymTable, isdict=True)
dumpreturn("ERRORS", retval.Errors)
dumpreturn("WARNINGS", retval.Warnings)
dumpreturn("DEBUG", retval.Debug)
dumpreturn("LITERAL LINES", retval.Literals)
 
 
 
 
if DEBUG:
dumpreturn("DEBUG", retval.Debug)
 
if LITVARS:
dumpreturn("LITERAL LINES", retval.Literals)