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.
:(
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. CinderApiTestCa se).)*'
will *include* all of the nova.tests. unit.volume. test_cinder. CinderApiTestCa se tests.
Whereas:
testr list-tests '^((?!nova. tests.unit. volume. test_cinder. CinderApiTestCa se).)*$ '
will exclude the nova.tests. unit.volume. test_cinder. CinderApiTestCa se tests.
:(