os-testr/os_testr
Szymon Datko 96db91056a Fix regex builder
Currently when the blacklist_file and regex string is provided,
the constructed regex looks like '^((?!black1|black2|...).)*$regex'.
This is incorrect, as it will match nothing - some string
is expected after end of the line [denoted as $ in the regex].

The proper construction is like ^(?!black1|black2|...).*(regex).*$
This solves the issue with Tempest, where using blacklist for smoke
tests is not working now, as it leads into the issue described above.

Change-Id: Icdeb3c311f7eb414158aedb4c030494b419211c0
Closes-Bug: #1506215
Closes-Bug: #1595119
Closes-Bug: #1622722
Closes-Bug: #1669455
2017-11-24 16:59:10 +01:00
..
tests Fix regex builder 2017-11-24 16:59:10 +01:00
utils Add colored output feature to subunit-trace 2015-11-25 13:15:22 +09:00
__init__.py Initial Cookiecutter Commit. 2015-03-17 14:58:46 -04:00
generate_subunit.py Add version option for ostestr and subunit-trace 2016-04-12 13:08:32 +09:00
ostestr.py Fix .testr.conf detection: test path follows discover 2017-09-27 17:17:45 +02:00
regex_builder.py Fix regex builder 2017-11-24 16:59:10 +01:00
subunit2html.py Track failures during sorting of test results 2016-11-10 18:24:09 +00:00
subunit_trace.py Make unexpected success as fail 2016-06-17 16:42:21 +09:00
testlist_builder.py Fix typo and change regexp to regex 2016-12-02 17:18:08 +09:00