diff options
| author | Darryl L. Pierce <mcpierce@apache.org> | 2013-09-30 20:25:09 +0000 |
|---|---|---|
| committer | Darryl L. Pierce <mcpierce@apache.org> | 2013-09-30 20:25:09 +0000 |
| commit | 1a231b61a54be40f49a3ab91d1bbfdff7b427090 (patch) | |
| tree | ff6aa1ac43cc80f4c72d61d430f2aef7141d4c19 /qpid/extras | |
| parent | 15ed1db3d69ba1f892f4df4b60d2b7e9add377ce (diff) | |
| download | qpid-python-1a231b61a54be40f49a3ab91d1bbfdff7b427090.tar.gz | |
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.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1527765 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/extras')
| -rw-r--r-- | qpid/extras/dispatch/README.md | 12 | ||||
| -rw-r--r-- | qpid/extras/dispatch/config.sh | 2 |
2 files changed, 12 insertions, 2 deletions
diff --git a/qpid/extras/dispatch/README.md b/qpid/extras/dispatch/README.md index 22e1a68570..1a4438fdf9 100644 --- a/qpid/extras/dispatch/README.md +++ b/qpid/extras/dispatch/README.md @@ -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. diff --git a/qpid/extras/dispatch/config.sh b/qpid/extras/dispatch/config.sh index 0f5f77e549..f398830ee6 100644 --- a/qpid/extras/dispatch/config.sh +++ b/qpid/extras/dispatch/config.sh @@ -22,5 +22,5 @@ cd $(dirname ${BASH_SOURCE[0]}) > /dev/null export QPID_DISPATCH_HOME=$(pwd) cd - > /dev/null -export PYTHONPATH=$PYTHONPATH:$QPID_DISPATCH_HOME/python +export PYTHONPATH=$QPID_DISPATCH_HOME/python:$PYTHONPATH |
