[pypy-svn] r36440 - pypy/dist/pypy/translator/js/test

fijal at codespeak.net fijal at codespeak.net
Wed Jan 10 22:23:48 CET 2007


Author: fijal
Date: Wed Jan 10 22:23:43 2007
New Revision: 36440

Modified:
   pypy/dist/pypy/translator/js/test/test_genllvm.py
   pypy/dist/pypy/translator/js/test/test_genllvm1.py
   pypy/dist/pypy/translator/js/test/test_merge_if_blocks.py
Log:
Unskip tests which passes by now.


Modified: pypy/dist/pypy/translator/js/test/test_genllvm.py
==============================================================================
--- pypy/dist/pypy/translator/js/test/test_genllvm.py	(original)
+++ pypy/dist/pypy/translator/js/test/test_genllvm.py	Wed Jan 10 22:23:43 2007
@@ -163,7 +163,6 @@
     assert f() == 4
 
 def test_recursive_call():
-    py.test.skip("Recursion support is very limited")
     def call_ackermann(n, m):
         return ackermann(n, m)
     def ackermann(n, m):
@@ -358,7 +357,6 @@
     assert f() == 4
 
 def test_dict_creation():
-    #py.test.skip("Dict support not implemented")
     d = {'hello' : 23,
          'world' : 21}
     l = ["hello", "world"]
@@ -369,8 +367,6 @@
     assert f(0,1) == createdict(0,1)
 
 def test_closure():
-    #py.test.skip("issue 'null' for Ptr's? or recurse into Ptr.TO?) see: opwriter.py")
-    py.test.skip("closure support")
     class A:
         def set(self, x):
             self.x = x

Modified: pypy/dist/pypy/translator/js/test/test_genllvm1.py
==============================================================================
--- pypy/dist/pypy/translator/js/test/test_genllvm1.py	(original)
+++ pypy/dist/pypy/translator/js/test/test_genllvm1.py	Wed Jan 10 22:23:43 2007
@@ -26,7 +26,6 @@
         assert f(0) == 13
 
     def test_ackermann(self):
-        py.test.skip("Too much recursion")
         f = compile_function(llvmsnippet.ackermann, [int, int])
         for i in range(4):  # (otherwise too much recursion) max 4 in Safari, max 7 in Firefox, IE allows more recursion
             assert f(0, i) == i + 1

Modified: pypy/dist/pypy/translator/js/test/test_merge_if_blocks.py
==============================================================================
--- pypy/dist/pypy/translator/js/test/test_merge_if_blocks.py	(original)
+++ pypy/dist/pypy/translator/js/test/test_merge_if_blocks.py	Wed Jan 10 22:23:43 2007
@@ -26,7 +26,6 @@
         assert basic(i) == merge_if_blocks_basic(i)
 
 def test_merge_if_blocks_chr():
-    #py.test.skip("String support in ootypesystem")
     def merge_if_blocks_chr(i):
         c = chr(i)
         if c == '\x05':
@@ -39,7 +38,6 @@
         assert basic(i) == merge_if_blocks_chr(i)
 
 def test_merge_if_blocks_uni():
-    py.test.skip("Unicode support")
     def merge_if_blocks_uni(i):
         c = unichr(i)
         if c == u'\x05':



More information about the Pypy-commit mailing list