summaryrefslogtreecommitdiffstats
path: root/odl-pipeline/lib/test_environment.sh
diff options
context:
space:
mode:
Diffstat (limited to 'odl-pipeline/lib/test_environment.sh')
-rwxr-xr-xodl-pipeline/lib/test_environment.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/odl-pipeline/lib/test_environment.sh b/odl-pipeline/lib/test_environment.sh
new file mode 100755
index 0000000..56601f4
--- /dev/null
+++ b/odl-pipeline/lib/test_environment.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
+set -e
+export PYTHONPATH=$PYTHONPATH:$DIR
+mkdir -p $DIR/tmp
+python $DIR/test_environment/test_environment.py $@