diff options
author | Vu Cong Tuan <tuanvc@vn.fujitsu.com> | 2018-07-12 14:27:07 +0700 |
---|---|---|
committer | Vu Cong Tuan <tuanvc@vn.fujitsu.com> | 2018-07-13 10:18:54 +0700 |
commit | 944fe4b6c11abc06386eec670f10784277455b49 (patch) | |
tree | 6c252e8cdbb4cd34a81dc4cc59d03ae3121f4383 /tools | |
parent | dff11337f55b7a9a28d7c30658df51b7b0b443eb (diff) | |
download | oslo-db-944fe4b6c11abc06386eec670f10784277455b49.tar.gz |
Switch to stestr
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: Ifd51e726de277d33ff61db47110bf8b5563fcda7
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/pretty_tox.sh | 16 | ||||
-rwxr-xr-x | tools/run-pifpaf-tests.sh | 4 |
2 files changed, 2 insertions, 18 deletions
diff --git a/tools/pretty_tox.sh b/tools/pretty_tox.sh deleted file mode 100755 index 9699a6f..0000000 --- a/tools/pretty_tox.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env bash - -# return nonzero exit status of rightmost command, so that we -# get nonzero exit on test failure without halting subunit-trace -set -o pipefail - - -TESTRARGS=$1 - -python setup.py testr --testr-args="--subunit $TESTRARGS" | subunit-trace -f -retval=$? -# NOTE(mtreinish) The pipe above would eat the slowest display from pbr's testr -# wrapper so just manually print the slowest tests -echo -e "\nSlowest Tests:\n" -testr slowest -exit $retval diff --git a/tools/run-pifpaf-tests.sh b/tools/run-pifpaf-tests.sh index 687b6bb..ee21c69 100755 --- a/tools/run-pifpaf-tests.sh +++ b/tools/run-pifpaf-tests.sh @@ -3,5 +3,5 @@ set -e # Replace mysql:// by mysql+pymysql:// and add sqlite export OS_TEST_DBAPI_ADMIN_CONNECTION="${OS_TEST_DBAPI_ADMIN_CONNECTION/#mysql:/mysql+pymysql:};sqlite://" echo $OS_TEST_DBAPI_ADMIN_CONNECTION -tools/pretty_tox.sh $* -TEST_EVENTLET=1 tools/pretty_tox.sh $* +stestr run $* +TEST_EVENTLET=1 stestr run $* |