Commit 842c3b24 authored by Mikołaj Nowicki's avatar Mikołaj Nowicki

visutils.py: Modify --combine regexp.

Accept additional format of machine shards hostname.
Signed-off-by: Mikołaj Nowicki's avatarMikolaj Nowicki <mikolaj.nowicki@intel.com>
parent 6ea5b609
......@@ -128,7 +128,7 @@ def readfiles_parallel(q, files=[], combine='shard'):
for test in j['tests']:
j['tests'][test]['hostname']=host
# need number in the end of hostname
host=re.match("(.*?)?[0-9]{1,3}$", host).group(1)
host=re.match("(.*?)-?[0-9]{1,3}$", host).group(1)
q.put((build, host, j))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment