Improved usage of args in .functests
If we're calling the script with any arguments, --pretty will not be passed to ostestr. Also redirected cd commands' output to /dev/null in .functests. Change-Id: I6e7e391c7e1659b86ab12eae4362b565218917b2
This commit is contained in:
1 changed files with 4 additions and 3 deletions
@@ -5,10 +5,11 @@
SRC_DIR=$(python -c "import os; print os.path.dirname(os.path.realpath('0ドル'))")
cd ${SRC_DIR}
cd ${SRC_DIR} > /dev/null
export TESTS_DIR=${SRC_DIR}/test/functional
ostestr --serial --pretty $@
ARGS="--serial ${@:-"--pretty"}"
ostestr $ARGS
rvalue=$?
cd -
cd - > /dev/null
exit $rvalue
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.