[pypy-commit] pypy jit-simplify-backendintf: Fix test

arigo noreply at buildbot.pypy.org
Mon Dec 12 15:34:34 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: jit-simplify-backendintf
Changeset: r50425:cc11be2ea8a9
Date: 2011-12-12 15:01 +0100
http://bitbucket.org/pypy/pypy/changeset/cc11be2ea8a9/

Log:	Fix test

diff --git a/pypy/jit/tool/jitoutput.py b/pypy/jit/tool/jitoutput.py
--- a/pypy/jit/tool/jitoutput.py
+++ b/pypy/jit/tool/jitoutput.py
@@ -10,9 +10,6 @@
 REGEXES = [
     (('tracing_no', 'tracing_time'), '^Tracing:\s+([\d.]+)\s+([\d.]+)$'),
     (('backend_no', 'backend_time'), '^Backend:\s+([\d.]+)\s+([\d.]+)$'),
-    (('asm_no',), '^Running asm:\s+([\d.]+)$'),
-    (('blackhole_no',),
-         '^Blackhole:\s+([\d.]+)$'),
     (None, '^TOTAL.*$'),
     (('ops.total',), '^ops:\s+(\d+)$'),
     (('recorded_ops.total',), '^recorded ops:\s+(\d+)$'),
diff --git a/pypy/jit/tool/test/test_jitoutput.py b/pypy/jit/tool/test/test_jitoutput.py
--- a/pypy/jit/tool/test/test_jitoutput.py
+++ b/pypy/jit/tool/test/test_jitoutput.py
@@ -34,8 +34,6 @@
     # assert did not crash
     # asserts below are a bit delicate, possibly they might be deleted
     assert info.tracing_no == 1
-    assert info.asm_no == 1
-    assert info.blackhole_no == 1
     assert info.backend_no == 1
     assert info.ops.total == 2
     assert info.recorded_ops.total == 2
@@ -47,8 +45,6 @@
 
 DATA = '''Tracing:         1       0.006992
 Backend:        1       0.000525
-Running asm:            1
-Blackhole:              1
 TOTAL:                  0.025532
 ops:                    2
 recorded ops:           6
@@ -75,8 +71,6 @@
     info = parse_prof(DATA)
     assert info.tracing_no == 1
     assert info.tracing_time == 0.006992
-    assert info.asm_no == 1
-    assert info.blackhole_no == 1
     assert info.backend_no == 1
     assert info.backend_time == 0.000525
     assert info.ops.total == 2


More information about the pypy-commit mailing list