ttm: adjust regexp to include Snapshot
This commit is contained in:
parent
6455aff69a
commit
ace73fecaf
@ -121,7 +121,7 @@ class ToTestBase(object):
|
||||
if not base:
|
||||
base = self.project_base
|
||||
for binary in self.binaries_of_product(project, tree):
|
||||
result = re.match(r'.*-Build([0-9.]+)(?:-Media.*\.iso|\.docker\.tar\.xz)', binary)
|
||||
result = re.match(r'.*-(?:Build|Snapshot)([0-9.]+)(?:-Media.*\.iso|\.docker\.tar\.xz)', binary)
|
||||
if result:
|
||||
return result.group(1)
|
||||
raise NotFoundException("can't find %s iso version" % project)
|
||||
|
Loading…
x
Reference in New Issue
Block a user