[pypy-svn] r21055 - pypy/dist/pypy/translator/c/test
cfbolz at codespeak.net
cfbolz at codespeak.net
Sun Dec 11 21:27:15 CET 2005
Author: cfbolz
Date: Sun Dec 11 21:27:07 2005
New Revision: 21055
Modified:
pypy/dist/pypy/translator/c/test/test_tasklets.py
Log:
first checkin from a ferry!
skip test 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 Sun Dec 11 21:27:07 2005
@@ -1,3 +1,4 @@
+import py
import os
from pypy.rpython.memory.lladdress import NULL
@@ -6,10 +7,14 @@
# ____________________________________________________________
# For testing
+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")
+
# count of loops in tests (set lower to speed up)
loops = 10
More information about the Pypy-commit
mailing list