def dump(self):
- cmd = [_get_build_program('tracedump'), '--color=never', self.trace_file]
+ cmd = [_get_build_program('apitrace'), 'dump', '--color=never', self.trace_file]
p = popen(cmd, stdout=subprocess.PIPE)
swapbuffers = 0
ref_line = ref.readline().rstrip()
p.wait()
if p.returncode != 0:
- self.fail('tracedump returned code %i' % p.returncode)
+ self.fail('`apitrace dump` returned code %i' % p.returncode)
if ref_line:
self.fail('missing call %s' % ref_line)
sys.stdout.write('SKIP (no trace)\n')
return
- p = popen([self._get_build_path('tracedump'), trace], stdout=subprocess.PIPE)
+ p = popen([self._get_build_path('apitrace'), 'dump', '--color', trace], stdout=subprocess.PIPE)
call_re = re.compile('^([0-9]+) (\w+)\(')
swapbuffers = 0
flushes = 0
flushes += 1
p.wait()
if p.returncode != 0:
- sys.stdout.write('FAIL (tracedump)\n')
+ sys.stdout.write('FAIL (apitrace dump)\n')
return
args = [self._get_build_path('glretrace')]