[pypy-svn] r65711 - pypy/branch/pyjitpl5-experiments/pypy/jit/backend/x86/test
arigo at codespeak.net
arigo at codespeak.net
Wed Jun 10 10:22:33 CEST 2009
Author: arigo
Date: Wed Jun 10 10:22:31 2009
New Revision: 65711
Modified:
pypy/branch/pyjitpl5-experiments/pypy/jit/backend/x86/test/test_zrpy_gc.py
pypy/branch/pyjitpl5-experiments/pypy/jit/backend/x86/test/test_zrpy_slist.py
Log:
Minor fixes for the tests.
Modified: pypy/branch/pyjitpl5-experiments/pypy/jit/backend/x86/test/test_zrpy_gc.py
==============================================================================
--- pypy/branch/pyjitpl5-experiments/pypy/jit/backend/x86/test/test_zrpy_gc.py (original)
+++ pypy/branch/pyjitpl5-experiments/pypy/jit/backend/x86/test/test_zrpy_gc.py Wed Jun 10 10:22:31 2009
@@ -47,6 +47,7 @@
def compile_and_run(f, gc, **kwds):
+ from pypy.annotation.listdef import s_list_of_strings
from pypy.translator.translator import TranslationContext
from pypy.jit.metainterp.warmspot import apply_jit
from pypy.translator.c import genc
@@ -56,7 +57,7 @@
t.config.translation.gcconfig.debugprint = True
for name, value in kwds.items():
setattr(t.config.translation, name, value)
- t.buildannotator().build_types(f, [int])
+ t.buildannotator().build_types(f, [s_list_of_strings])
t.buildrtyper().specialize()
if kwds['jit']:
apply_jit(t, CPUClass=CPU386)
Modified: pypy/branch/pyjitpl5-experiments/pypy/jit/backend/x86/test/test_zrpy_slist.py
==============================================================================
--- pypy/branch/pyjitpl5-experiments/pypy/jit/backend/x86/test/test_zrpy_slist.py (original)
+++ pypy/branch/pyjitpl5-experiments/pypy/jit/backend/x86/test/test_zrpy_slist.py Wed Jun 10 10:22:31 2009
@@ -9,6 +9,6 @@
class TestSList(Jit386Mixin, ListTests):
# for the individual tests see
- # ====> ../../test/test_slist.py
+ # ====> ../../../test/test_slist.py
pass
More information about the Pypy-commit
mailing list