Masayuki Igawa bafe5357c2
Switch to use stestr directly
This commit makes to use stestr instead of ostestr
directly. ostestr>1.0.0 has started to use stestr instead of
testrepository. So there is no reason to use ostestr anymore.

Change-Id: I6327d50c9f6dd19f1de24b9b51532104fb3e916e
2017-12-27 16:18:49 +09:00

17 lines
439 B
Bash
Executable File

#!/bin/bash
# This is a script that runs ostestr with the openrc OS_ variables sourced.
# Do not run this script unless you know what you're doing.
# For more information refer to:
# https://docs.openstack.org/python-openstackclient/latest/
# Source environment variables to kick things off
if [ -f ~stack/devstack/openrc ] ; then
source ~stack/devstack/openrc admin admin
fi
echo 'Running tests with:'
env | grep OS
stestr run $*