[pypy-svn] r21064 - pypy/dist/pypy/translator/c/test

rxe at codespeak.net rxe at codespeak.net
Mon Dec 12 08:40:00 CET 2005


Author: rxe
Date: Mon Dec 12 08:39:59 2005
New Revision: 21064

Modified:
   pypy/dist/pypy/translator/c/test/test_tasklets.py
Log:
Just use default gcpolicy if boehm is not found



Modified: pypy/dist/pypy/translator/c/test/test_tasklets.py
==============================================================================
--- pypy/dist/pypy/translator/c/test/test_tasklets.py	(original)
+++ pypy/dist/pypy/translator/c/test/test_tasklets.py	Mon Dec 12 08:39:59 2005
@@ -9,15 +9,15 @@
 
 from pypy.translator.tool import cbuild
 from pypy.translator.c.gc import BoehmGcPolicy
-gcpolicy = BoehmGcPolicy 
-debug_flag = True
 
-if not cbuild.check_boehm_presence():
-    raise py.test.skip("boehm not found")
+gcpolicy = None
+if cbuild.check_boehm_presence():
+    gcpolicy = BoehmGcPolicy
 
 # count of loops in tests (set lower to speed up)
 loops = 10
     
+debug_flag = False
 def debug(s):
     if debug_flag:
         os.write(2, "%s\n" % s)



More information about the Pypy-commit mailing list