[pypy-svn] r37418 - pypy/dist/pypy/jit/codegen/i386/demo
arigo at codespeak.net
arigo at codespeak.net
Sat Jan 27 01:51:53 CET 2007
Author: arigo
Date: Sat Jan 27 01:51:48 2007
New Revision: 37418
Modified:
pypy/dist/pypy/jit/codegen/i386/demo/rerun_failures.py
pypy/dist/pypy/jit/codegen/i386/demo/test_random.py
Log:
Avoid the situation (-sys.maxint-1)//(-1). I'm a bit amazed that
an autorun managed to find such a case after a few dozen minutes only.
Modified: pypy/dist/pypy/jit/codegen/i386/demo/rerun_failures.py
==============================================================================
--- pypy/dist/pypy/jit/codegen/i386/demo/rerun_failures.py (original)
+++ pypy/dist/pypy/jit/codegen/i386/demo/rerun_failures.py Sat Jan 27 01:51:48 2007
@@ -13,6 +13,7 @@
# These are tests that failed at some point. Run them all with
# py.test rerun_failures.py.
+def test_4327406(): rerun(4327406)
def test_9473(): rerun(9473)
def test_3888(): rerun(3888)
def test_2307(): rerun(2307)
Modified: pypy/dist/pypy/jit/codegen/i386/demo/test_random.py
==============================================================================
--- pypy/dist/pypy/jit/codegen/i386/demo/test_random.py (original)
+++ pypy/dist/pypy/jit/codegen/i386/demo/test_random.py Sat Jan 27 01:51:48 2007
@@ -25,9 +25,9 @@
'-%s',
'~%s',
'%s // ((%s & 0xfffff) + 1)',
- '%s // (-((%s & 0xfffff) + 1))',
+ '%s // (-((%s & 0xfffff) + 2))',
'%s %% ((%s & 0xfffff) + 1)',
- '%s %% (-((%s & 0xfffff) + 1))',
+ '%s %% (-((%s & 0xfffff) + 2))',
'!%s or %s',
'!%s and %s',
'!not %s',
More information about the Pypy-commit
mailing list