Skip to content
Snippets Groups Projects
Commit 2808be66 authored by Craig Tiller's avatar Craig Tiller
Browse files

Fix regex filtering

parent 026754f4
No related branches found
No related tags found
No related merge requests found
......@@ -206,12 +206,6 @@ class CLanguage(object):
return sorted(out)
def make_targets(self):
test_regex = self.args.regex
if self.platform != 'windows' and self.args.regex != '.*':
# use the regex to minimize the number of things to build
return [os.path.basename(target['name'])
for target in get_c_tests(False, self.test_lang)
if re.search(test_regex, '/' + target['name'])]
if self.platform == 'windows':
# don't build tools on windows just yet
return ['buildtests_%s' % self.make_target]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment