[pypy-svn] r64115 - in pypy/trunk/pypy: module/thread/test translator/c/gcc/test translator/c/test
afa at codespeak.net
afa at codespeak.net
Wed Apr 15 19:55:36 CEST 2009
Author: afa
Date: Wed Apr 15 19:55:35 2009
New Revision: 64115
Modified:
pypy/trunk/pypy/module/thread/test/test_fork.py
pypy/trunk/pypy/translator/c/gcc/test/test_asmgcroot.py
pypy/trunk/pypy/translator/c/test/test_standalone.py
Log:
Skip some tests on Windows
Modified: pypy/trunk/pypy/module/thread/test/test_fork.py
==============================================================================
--- pypy/trunk/pypy/module/thread/test/test_fork.py (original)
+++ pypy/trunk/pypy/module/thread/test/test_fork.py Wed Apr 15 19:55:35 2009
@@ -1,7 +1,11 @@
+import py, sys
from pypy.conftest import gettestobjspace
class AppTestFork(object):
def setup_class(cls):
+ if sys.platform == 'win32':
+ py.test.skip("No fork on Windows")
+
space = gettestobjspace(usemodules=('thread', 'time'))
cls.space = space
Modified: pypy/trunk/pypy/translator/c/gcc/test/test_asmgcroot.py
==============================================================================
--- pypy/trunk/pypy/translator/c/gcc/test/test_asmgcroot.py (original)
+++ pypy/trunk/pypy/translator/c/gcc/test/test_asmgcroot.py Wed Apr 15 19:55:35 2009
@@ -6,6 +6,8 @@
from pypy.annotation.listdef import s_list_of_strings
from pypy import conftest
+if sys.platform == 'win32':
+ py.test.skip("No asmgcc on Windows")
class AbstractTestAsmGCRoot:
# the asmgcroot gc transformer doesn't generate gc_reload_possibly_moved
Modified: pypy/trunk/pypy/translator/c/test/test_standalone.py
==============================================================================
--- pypy/trunk/pypy/translator/c/test/test_standalone.py (original)
+++ pypy/trunk/pypy/translator/c/test/test_standalone.py Wed Apr 15 19:55:35 2009
@@ -167,6 +167,8 @@
assert int(out) == 500*501/2
def test_profopt_mac_osx_bug(self):
+ if sys.platform == 'win32':
+ py.test.skip("no profopt on win32")
def entry_point(argv):
import os
pid = os.fork()
More information about the Pypy-commit
mailing list