diff options
| -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 |
