#!/bin/bash SRC_DIR=$(python -c "import os; print os.path.dirname(os.path.realpath('$0'))") set -e cd ${SRC_DIR} export TESTS_DIR=${SRC_DIR}/test/functional ostestr --serial --pretty $@ rvalue=$? cd - exit $rvalue