[pypy-commit] pypy jit-targets: fix test

hakanardo noreply at buildbot.pypy.org
Thu Nov 24 22:04:17 CET 2011


Author: Hakan Ardo <hakan at debian.org>
Branch: jit-targets
Changeset: r49758:f4b8fb7dad06
Date: 2011-11-24 20:38 +0100
http://bitbucket.org/pypy/pypy/changeset/f4b8fb7dad06/

Log:	fix test

diff --git a/pypy/rlib/rsre/test/test_zjit.py b/pypy/rlib/rsre/test/test_zjit.py
--- a/pypy/rlib/rsre/test/test_zjit.py
+++ b/pypy/rlib/rsre/test/test_zjit.py
@@ -70,7 +70,8 @@
     def test_simple_match_repeated(self):
         res = self.meta_interp_match(r"abcdef", "abcdef", repeat=10)
         assert res == 6
-        self.check_tree_loop_count(1)
+        self.check_trace_count(1)
+        self.check_jitcell_token_count(1)
 
     def test_match_minrepeat_1(self):
         res = self.meta_interp_match(r".*?abc", "xxxxxxxxxxxxxxabc")


More information about the pypy-commit mailing list