diff --git a/test-tc.py b/test-tc.py index 8f567c2..27ffc48 100755 --- a/test-tc.py +++ b/test-tc.py @@ -3,7 +3,7 @@ # 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 @@ -232,8 +232,12 @@ 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)