Author: Armin Rigo <[email protected]>
Branch:
Changeset: r91644:b9047ff141b7
Date: 2017-06-24 13:34 +0200
http://bitbucket.org/pypy/pypy/changeset/b9047ff141b7/
Log: Finally understood why these two tests fails on 32-bit. Skip them as
"not really worth worrying about".
diff --git a/rpython/rlib/test/test_rposix.py b/rpython/rlib/test/test_rposix.py
--- a/rpython/rlib/test/test_rposix.py
+++ b/rpython/rlib/test/test_rposix.py
@@ -753,6 +753,9 @@
@rposix_requires('posix_fadvise')
def test_posix_fadvise():
+ if sys.maxint <= 2**32:
+ py.test.skip("ll2ctypes run of posix_fadvise() on 32-bit "
+ "gets confused by the size of OFF_T")
fname = str(udir.join('test_os_posix_fadvise'))
fd = os.open(fname, os.O_CREAT | os.O_RDWR)
try:
@@ -769,6 +772,9 @@
@rposix_requires('posix_fallocate')
def test_posix_fallocate():
+ if sys.maxint <= 2**32:
+ py.test.skip("ll2ctypes run of posix_fallocate() on 32-bit "
+ "gets confused by the size of OFF_T")
fname = str(udir.join('os_test.txt'))
fd = os.open(fname, os.O_WRONLY | os.O_CREAT, 0777)
try:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit