aboutsummaryrefslogtreecommitdiff
path: root/libcontextsubscriber
diff options
context:
space:
mode:
Diffstat (limited to 'libcontextsubscriber')
-rw-r--r--libcontextsubscriber/customer-tests/env.sh6
-rwxr-xr-xlibcontextsubscriber/customer-tests/runTests.sh5
2 files changed, 7 insertions, 4 deletions
diff --git a/libcontextsubscriber/customer-tests/env.sh b/libcontextsubscriber/customer-tests/env.sh
new file mode 100644
index 00000000..31a65d57
--- /dev/null
+++ b/libcontextsubscriber/customer-tests/env.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+export PYTHONPATH="`pwd`/common/"
+export CONTEXT_PROVIDERS=.
+export LD_LIBRARY_PATH=../../src/.libs:../../../libcontextprovider/src/.libs
+export PATH=$PATH:../../../python:../../cli:../../reg-cli
diff --git a/libcontextsubscriber/customer-tests/runTests.sh b/libcontextsubscriber/customer-tests/runTests.sh
index 2015357b..c723a495 100755
--- a/libcontextsubscriber/customer-tests/runTests.sh
+++ b/libcontextsubscriber/customer-tests/runTests.sh
@@ -2,13 +2,10 @@
cd $(dirname $0)
DIRS="commander subscription asynchronicity registry pluginchanging"
-export PYTHONPATH="`pwd`/common/"
+. ./env.sh
if pkg-config contextprovider-1.0 || [ -e ../../libcontextprovider/src/.libs/libcontextprovider.so ]
then
- export CONTEXT_PROVIDERS=.
- export LD_LIBRARY_PATH=../../src/.libs:../../../libcontextprovider/src/.libs
- export PATH=$PATH:../../../python:../../cli:../../reg-cli
for dir in $DIRS; do
cd $dir