message: Fix mechanism to filter tests wrt CPU
diff: @@ -125,9 +125,6 @@ class TargetConfig(object):
  else:
  self.cpu = "unspec"
  - def cpu_specified(self):
  - return self.cpu != "unspec"
  -
  # set arch/target
  def set_target(self):
  if self.target == 'neon':
  @@ -282,7 +279,7 @@ def check_test(filename, host, target):
  prev_os = True
  done_os = prev_os
  cpu = re.match('.* cpu=.*', run.group())
  - if cpu != None and target.cpu_specified():
  + if cpu != None:
  if re.search(' cpu='+target.cpu, cpu.group()) != None:
  prev_cpu = True
  done_cpu = prev_cpu
  @@ -292,7 +289,7 @@ def check_test(filename, host, target):
  done = False
  if re.search(' arch=' + target.arch + ' ', skip.group())!=None:
  done = False
  - if re.search(' OS=' + oss, skip.group())!=None and target.cpu_specified():
  + if re.search(' OS=' + oss, skip.group())!=None:
  done = False
  if re.search(' cpu=' + target.cpu, skip.group())!=None:
  done = False
  