You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-commits@quetz.apache.org by nl...@apache.org on 2005/12/05 21:58:38 UTC

svn commit: r354184 - /httpd/mod_python/trunk/test/README

Author: nlehuen
Date: Mon Dec  5 12:58:34 2005
New Revision: 354184

URL: http://svn.apache.org/viewcvs?rev=354184&view=rev
Log: (empty)

Modified:
    httpd/mod_python/trunk/test/README

Modified: httpd/mod_python/trunk/test/README
URL: http://svn.apache.org/viewcvs/httpd/mod_python/trunk/test/README?rev=354184&r1=354183&r2=354184&view=diff
==============================================================================
--- httpd/mod_python/trunk/test/README (original)
+++ httpd/mod_python/trunk/test/README Mon Dec  5 12:58:34 2005
@@ -1,7 +1,8 @@
 Running the test suite
 ======================
 
-1) Requirements
+1) Setting up Apache
+--------------------
 
 - You must have a valid Apache 2 installation, responding to start and stop
 commands. The test suite will launch an Apache instance with its own
@@ -11,21 +12,45 @@
 - The only trick is that you'll have to stop your Apache server before launching
 the test, as the start/stop command can only apply to one single Apache instance. 
 
-- You must have at least ran the configure script found at the root of the
-mod_python source distribution.
+2) Setting up mod_python source code
+------------------------------------
 
-- If you're under Win32, then running the configure script
-may be too much of a hassle, we advise you to copy testconf.py.in to
-testconf.py and edit this file as described in the comments.
+- The source code is required because the unit test aren't provided in the
+binary distributions.
+
+- Get it from http://www.modpython.org/ or using SVN from :
+    http://svn.apache.org/repos/asf/httpd/mod_python/trunk 
+
+- We'll suppose you've extracted or checked it out in a directory
+named MOD_PYTHON.
+
+- Either you run the MOD_PYTHON/configure script...
+
+- ..or if you're under Win32, then running the configure script
+may be too much of a hassle. We advise you to copy
+MOD_PYTHON/test/testconf.py.in to MOD_PYTHON/test/testconf.py
+and edit this file as described in the comments.
+
+3) Building and/or installing mod_python binaries
+------------------------------------------------- 
+
+- If you're really adventurous, you may want to build mod_python from source.
+Then it's either "./configure; make; make install" on Unix, or running 
+MOD_PYTHON/dist/build_installer.bat on Win32.
 
 - The best way to ensure that the test suite will run is to install the target 
-mod_python binaries on your system. Running your own version of mod_python 
-without installing it is possible and useful if you cannot be root, but 
-you're a bit on your own, sorry. You'll have to make sure testconf.py points to 
-the right version of mod_python.so and tweak Apache user's PYTHONPATH
-environment variable so that mod_python can find its Python modules.
+mod_python binaries on your system. The complete list of binaries (including
+Win32 ones) can be found following the "Other Binaries" link on :
+    http://httpd.apache.org/modules/python-download.cgi
+
+- Running your own version of mod_python without installing it is possible and 
+useful if you cannot be root, but you're a bit on your own, sorry. You'll have 
+to make sure MOD_PYTHON/testconf.py points to the right version of 
+mod_python.so and tweak Apache user's PYTHONPATH environment variable so that
+mod_python can find its Python modules.
 
-2) Running the test
+4) Running the test suite
+-------------------------
 
 In the current directory, just launch the test.py script :
 
@@ -49,7 +74,14 @@
 8<---8<---8<---8<---8<---
 
 Of course the number of tests will vary in the future, but what's important here
-are the two shiny "OK". This means the tests were successful. Now you can report
-your success to python-dev@httpd.apache.org !
+are the two shiny "OK". This means the tests were successful.
+
+5) Report the results
+---------------------
+
+Now you can report your success to python-dev@httpd.apache.org ! Of course if
+it's not successful and you're sure it's not due to a problem in your setup,
+we're also interested. Send us the full output of the test suite, or at least
+the stack trace of the failed tests.
 
-Thanks for your time spent of running those tests !
+Thanks for your time spent of running those tests !
\ No newline at end of file