On Jan 25, 2016, at 17:57, melanie witt <melwi...@gmail.com> wrote: > Thanks!! That's indeed the same problem and removing the '$' from the > exclude_regex worked for me. (ostestr --blacklist_file tests-py3.txt --regex > "nova.tests.unit.network" ran all non-blacklisted network tests)
Argh, I spoke too soon, removing '$' stops it from excluding tests in the blacklist. I had gotten mixed up when I looked at the output of the ostestr --list with the difference in the exclude_regex. For example: testr list-tests '^((?!nova.tests.unit.volume.test_cinder.CinderApiTestCase).)*' will *include* all of the nova.tests.unit.volume.test_cinder.CinderApiTestCase tests. Whereas: testr list-tests '^((?!nova.tests.unit.volume.test_cinder.CinderApiTestCase).)*$' will exclude the nova.tests.unit.volume.test_cinder.CinderApiTestCase tests. :( -melanie
signature.asc
Description: Message signed with OpenPGP using GPGMail
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev