[Zope3-checkins] CVS: Zope3 - test.py:1.33.2.1 stupid_build.py:NONE stupid_clean:NONE

Jim Fulton jim@zope.com
Mon, 23 Dec 2002 14:39:28 -0500


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

Modified Files:
      Tag: NameGeddon-branch
	test.py 
Removed Files:
      Tag: NameGeddon-branch
	stupid_build.py stupid_clean 
Log Message:
Removed the stupid scripts.

Modified test to look in src.


=== Zope3/test.py 1.33 => 1.33.2.1 ===
--- Zope3/test.py:1.33	Fri Dec 20 17:20:43 2002
+++ Zope3/test.py	Mon Dec 23 14:39:27 2002
@@ -267,7 +267,7 @@
         # Calculate which directories we're going to add to sys.path, and cd
         # to the appropriate working directory
         if self.inplace:
-            self.libdir = os.path.join('lib', 'python')
+            self.libdir = 'src'
         else:
             self.libdir = 'lib.%s' % PLAT_SPEC
             os.chdir('build')
@@ -307,10 +307,11 @@
             __import__(pkg)
         # We specifically do not want to catch ImportError since that's useful
         # information to know when running the tests.
-        except RuntimeError, e:
+        except Exception, e:
             if VERBOSE:
                 print 'skipping', pkg, 'because:', e
             return
+
         for file in files:
             if file.startswith('test') and os.path.splitext(file)[-1] == '.py':
                 path = os.path.join(dir, file)

=== Removed File Zope3/stupid_build.py ===

=== Removed File Zope3/stupid_clean ===