summaryrefslogtreecommitdiffstats
path: root/odl-pipeline/lib/test_environment.sh
blob: ac209c680093fb2a02d94b0cca18bd19e047ad0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
#
# Copyright (c) 2017 All rights reserved
# This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
#
# http://www.apache.org/licenses/LICENSE-2.0
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
set -e
export PYTHONPATH=$PYTHONPATH:$DIR
mkdir -p $DIR/tmp
cd $DIR
python ./test_environment/test_environment.py $@