Make setenv consistent for unit, func, and api-samples

Since ostestr switched to running stestr under the covers, we lost the
old magic setting of the environment variables via .testr.conf for
capturing stderr/stdout and the test timeout. This makes the unit,
functional, and api-samples envs consistent with the py27 env that was
already updated to set those variables.

This also updates the pretty_tox3.sh script to run stestr directly.

Change-Id: I27fa9b7e25c1a1dc921653eec84864423f898a85
This commit is contained in:
melanie witt
2017-09-27 20:02:36 +00:00
parent 3174ee13a1
commit 53f244da12
2 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ else
fi
if [ -z "$TESTRARGS" ]; then
ostestr --blacklist_file $blacklist_file
stestr run --blacklist-file $blacklist_file
else
ostestr -r "$TESTRARGS"
stestr run "$TESTRARGS"
fi