Commit Graph

2 Commits

Author SHA1 Message Date
junboli 73315f2a89 Switch to use stestr instead of testr
os-testr has moved over to use stestr instead of testr. While this
is usually compatible with existing settings, there is a warning
that is emitted when .stestr.conf is not present. It is usually
able to fall back to parsing the .testr.conf file, but to be more
correct and to prevent future problems we should update the config.

Change-Id: I10446c539aaf9edd8b52b17776e08c12757def31
Depends-On: I98a296d009e64d6afab02a53bd1af878f78c4321
2018-05-07 22:24:34 +08:00
Tom Barron fd63aa41ef tests: use .stestr.conf except for functional tests
In this change [1] os_testr changed under the covers from using
testr to stestr, so that we now get the following warning:

 ostestr.py:120:
 UserWarning: No .stestr.conf file found in the CWD.
 Please create one to to replace the .testr.conf. You can find a
 script to do this in the stestr git repository.

So add .stestr.conf which was generated using a utility script
as documented here [2].  Leave .testr.conf since it is still
used by our functional tests.

[1] Id7cb2a39a8308f1413608dcf19273a1d7f33592e
[2] https://media.readthedocs.org/pdf/stestr/stable/stestr.pdf

TrivialFix

Change-Id: Iff31bd08aa03c5a2ba4e6800e4d57a4585ec51ab
2017-09-14 10:05:19 +00:00