You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by mc...@apache.org on 2013/09/30 22:25:09 UTC

svn commit: r1527765 - in /qpid/trunk/qpid/extras/dispatch: README.md config.sh

Author: mcpierce
Date: Mon Sep 30 20:25:09 2013
New Revision: 1527765

URL: http://svn.apache.org/r1527765
Log:
QPID-5189: Moved the Dispatch Python path to before any default path.

Also added a note in the README.me file explaining how to use config.sh.

Modified:
    qpid/trunk/qpid/extras/dispatch/README.md
    qpid/trunk/qpid/extras/dispatch/config.sh

Modified: qpid/trunk/qpid/extras/dispatch/README.md
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/extras/dispatch/README.md?rev=1527765&r1=1527764&r2=1527765&view=diff
==============================================================================
--- qpid/trunk/qpid/extras/dispatch/README.md (original)
+++ qpid/trunk/qpid/extras/dispatch/README.md Mon Sep 30 20:25:09 2013
@@ -13,8 +13,18 @@ $ mkdir build
 $ cd build
 $ cmake ..
 $ make
-$ make test
+$ make test # see below
 
 Note:  Your PYTHONPATH _must_ include <dispatch>/python in its list of paths in order
 to test and run Dispatch.
 
+Running The Tests
+=================
+
+Prior to running the unit tests, you should source the file config.sh which is
+found in the root directory.
+
+$ . config.sh
+
+The file sets up the environment so that the tests can find the Python
+libraries, etc.

Modified: qpid/trunk/qpid/extras/dispatch/config.sh
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/extras/dispatch/config.sh?rev=1527765&r1=1527764&r2=1527765&view=diff
==============================================================================
--- qpid/trunk/qpid/extras/dispatch/config.sh (original)
+++ qpid/trunk/qpid/extras/dispatch/config.sh Mon Sep 30 20:25:09 2013
@@ -22,5 +22,5 @@ cd $(dirname ${BASH_SOURCE[0]}) > /dev/n
 export QPID_DISPATCH_HOME=$(pwd)
 cd - > /dev/null
 
-export PYTHONPATH=$PYTHONPATH:$QPID_DISPATCH_HOME/python
+export PYTHONPATH=$QPID_DISPATCH_HOME/python:$PYTHONPATH
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org