[Zope-dev] Re: "make test" fails on 2.9.0-b1?

Paul Winkler pw_lists at slinkp.com
Mon Dec 12 12:52:24 EST 2005


On Mon, Dec 12, 2005 at 12:43:35PM -0500, Paul Winkler wrote:
> Looks to me like it's a simple PYTHONPATH problem:
(snip)

OK, is Makefile.in the right place to fix that? 
This patch seems to work:

pw at kermit Zope-2.9-branch $ svn diff inst/Makefile.in 
Index: inst/Makefile.in
===================================================================
--- inst/Makefile.in    (revision 40735)
+++ inst/Makefile.in    (working copy)
@@ -80,7 +80,7 @@
 
 # test:        Do an inplace build and run the Zope test suite.
 test: inplace
-       ${PYTHON} "${BASE_DIR}/test.py" ${TESTOPTS}
+       PYTHONPATH=${PYTHONPATH}:${BASE_DIR}/lib/python ${PYTHON}
"${BASE_DIR}/test.py" ${TESTOPTS}
 
 # clean:       Delete the build files and any binaries/bytecode files
 # in
 #              the source directory for good measure.




But I do get some odd output - what's this about BDBStorage
at the end?


pw at kermit Zope-2.9-branch $ make test
"/usr/bin/python" "/home/pw/Downloads/Apps/Net/Zope-2.9-branch/setup.py"
\
            build_ext -i
running build_ext
running build_headers
PYTHONPATH=/usr/lib/portage/pym:/usr/local/lib/python:/usr/local/lib/python/piddle:/home/pw/bin/python:/home/pw/Downloads/Apps/Net/Zope-2.9-branch/lib/python
"/usr/bin/python" "/home/pw/Downloads/Apps/Net/Zope-2.9-branch/test.py"
-v
Running tests at level 1

(snip)
    ................................
  Ran 1432 tests with 0 failures and 0 errors in 283.344 seconds.

Test-modules with import problems:
  BDBStorage.tests.testall
make: *** [test] Error 1


-- 

Paul Winkler
http://www.slinkp.com


More information about the Zope-Dev mailing list