From fad1150a4ee17cbd61ced0c735f9566486ca4ee0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Mon, 31 Oct 2011 14:44:18 +0000 Subject: [PATCH] s/tracedump/apitrace dump/ --- driver.py | 4 ++-- test.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/driver.py b/driver.py index 48b04ec..9c0b622 100755 --- a/driver.py +++ b/driver.py @@ -130,7 +130,7 @@ class TestCase: 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 @@ -158,7 +158,7 @@ class TestCase: 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) diff --git a/test.py b/test.py index b3d2ed9..b215128 100755 --- a/test.py +++ b/test.py @@ -244,7 +244,7 @@ class TestCase: 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 @@ -263,7 +263,7 @@ class TestCase: 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')] -- 2.43.0