[Zope3-checkins] CVS: Zope3 - test.py:1.37

Tres Seaver tseaver@zope.com
Sun, 23 Feb 2003 14:38:47 -0500


Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv7773

Modified Files:
	test.py 
Log Message:


  Put back the implementation of the '--libdir' command line option.
  That last merge was too promiscuous;  it touched *lots* of lines it
  had no business munging.  I don't know whether other stuff still works
  or not, but I can now use the utility to test my "third-party" package
  again.


=== Zope3/test.py 1.36 => 1.37 ===
--- Zope3/test.py:1.36	Wed Feb 19 12:49:14 2003
+++ Zope3/test.py	Sun Feb 23 14:38:46 2003
@@ -530,7 +530,7 @@
 
     try:
         opts, args = getopt.getopt(sys.argv[1:], "a:bBcdDgGhLmptTuv",
-                                   ["all", "help", "libdir"])
+                                   ["all", "help", "libdir="])
     except getopt.error, msg:
         print msg
         print "Try `python %s -h' for more information." % sys.argv[0]
@@ -565,6 +565,8 @@
                 print "-G argument must be DEBUG_ flag, not", repr(v)
                 sys.exit(1)
             gcflags.append(v)
+        elif k == '--libdir':
+            libdir = v
         elif k == "-L":
             LOOP = 1
         elif k == "-m":