[pypy-commit] pypy default: fix the test

fijal noreply at buildbot.pypy.org
Thu Aug 9 22:43:52 CEST 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r56667:c5bf753ea9c2
Date: 2012-08-09 22:43 +0200
http://bitbucket.org/pypy/pypy/changeset/c5bf753ea9c2/

Log:	fix the test

diff --git a/pypy/jit/backend/x86/test/test_ztranslation.py b/pypy/jit/backend/x86/test/test_ztranslation.py
--- a/pypy/jit/backend/x86/test/test_ztranslation.py
+++ b/pypy/jit/backend/x86/test/test_ztranslation.py
@@ -187,7 +187,8 @@
             return len(ll_times)
 
         res = self.meta_interp(main, [])
-        assert res == 1
+        assert res == 3
+        # one for loop, one for entry point and one for the prologue
 
 class TestTranslationRemoveTypePtrX86(CCompiledMixin):
     CPUClass = getcpuclass()


More information about the pypy-commit mailing list