[pypy-svn] r47916 - pypy/dist/pypy/lang/smalltalk/test

lukas at codespeak.net lukas at codespeak.net
Thu Oct 25 14:12:12 CEST 2007


Author: lukas
Date: Thu Oct 25 14:12:12 2007
New Revision: 47916

Modified:
   pypy/dist/pypy/lang/smalltalk/test/test_interpreter.py
Log:
added bytecodes for block copy and value primtives


Modified: pypy/dist/pypy/lang/smalltalk/test/test_interpreter.py
==============================================================================
--- pypy/dist/pypy/lang/smalltalk/test/test_interpreter.py	(original)
+++ pypy/dist/pypy/lang/smalltalk/test/test_interpreter.py	Thu Oct 25 14:12:12 2007
@@ -451,9 +451,9 @@
 
     py.test.skip("waiting for bytecode")
     
-    bc_3_plus_4 = None
-    bc_x_plus_x_plus_1 = None
-    bc_x_plus_y = None
+    bc_3_plus_4 = [ 137, 117, 200, 164, 4, 32, 33, 176, 125, 201, 124]
+    bc_x_plus_x_plus_1 = [ 137, 118, 200, 164, 7, 104, 16, 16, 176, 118, 176, 125, 32, 202, 124 ]
+    bc_x_plus_y = [ 137, 119, 200, 164, 6, 105, 104, 16, 17, 176, 125, 33, 34, 240, 124 ]
     
     for bcode in [ bc_3_plus_4, bc_x_plus_x_plus_1, bc_x_plus_y ]:
         interp = new_interpreter(bcode)



More information about the Pypy-commit mailing list