diff --git a/test-tc.py b/test-tc.py index 046dda6..8e4afe1 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.135 2004/04/27 02:36:58 tundra Exp $" +RCSID = "$Id: test-tc.py,v 1.136 2004/04/27 22:21:11 tundra Exp $" VERSION = RCSID.split()[2] # Copyright Information @@ -205,7 +205,7 @@ if len(sys.argv) < 2: print BANNER - print "Usage: test-tc.py [symtbl] [nonewvars] [templates] [temponly] [limitns] [litvars] [debug] file file ..." + print "Usage: test-tc.py [symtbl] [nonewvars] [templates] [temponly] [limitns] [litvars] [nopredefs] [debug] file file ..." sys.exit(1) # Process all the requested configuration files, @@ -217,6 +217,7 @@ TEMPONLY = False LIMITNS = False LITVARS = False +PREDEFS = True DEBUG = False @@ -243,6 +244,9 @@ elif fn == "litvars": LITVARS = True + elif fn == "nopredefs": + PREDEFS = False + elif fn == "debug": DEBUG = True @@ -298,6 +302,7 @@ Templates=tl, TemplatesOnly=TEMPONLY, LiteralVars=LITVARS, + ReturnPredefs=PREDEFS, Debug=DEBUG )