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:
Gerard Gine
2018年02月13日 17:00:22 -08:00
parent b33941feda
commit 57306181f1

View File

@@ -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
openstack/swift
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.

The note is not visible to the blocked user.