Commit cd59f6d7 authored by Tim Peters's avatar Tim Peters

Testing from a checkout is different than testing from a

distribution now.  Explain the differences.  Removed the
business about fiddling PYTHONPATH, because it shouldn't
be needed (and isn't for me ;-)).
parent a8aff0d5
...@@ -93,12 +93,14 @@ script:: ...@@ -93,12 +93,14 @@ script::
This should now make all of ZODB accessible to your Python programs. This should now make all of ZODB accessible to your Python programs.
Testing Testing for Developers
------- ----------------------
When working from a ZODB checkout, do an in-place build instead::
ZODB comes with a large test suite that can be run from the source % python setup.py build_ext -i
directory before ZODB is installed. The simplest way to run the tests
is:: followed by::
% python test.py -v % python test.py -v
...@@ -121,16 +123,6 @@ Running all the tests takes much longer.:: ...@@ -121,16 +123,6 @@ Running all the tests takes much longer.::
OK OK
To test the build, first build the externals and add the src dir to
your PYTHONPATH,
% python setup.py build_ext -i
% export PYTHONPATH=`pwd`/src:$PYTHONPATH
Then run the test script::
% python test.py
History History
------- -------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment