~ubuntu-branches/ubuntu/karmic/pypy/karmic

« back to all changes in this revision

Viewing changes to pypy/jit/codegen/demo/rerun_failures.py

  • Committer: Bazaar Package Importer
  • Author(s): Alexandre Fayolle
  • Date: 2007-04-13 09:33:09 UTC
  • Revision ID: james.westby@ubuntu.com-20070413093309-yoojh4jcoocu2krz
Tags: upstream-1.0.0
ImportĀ upstreamĀ versionĀ 1.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from pypy.jit.codegen.demo import test_random
 
2
from pypy.jit.codegen.demo import conftest as demo_conftest
 
3
 
 
4
def rerun(seed, *args):
 
5
    prevseed = demo_conftest.option.randomseed
 
6
    try:
 
7
        demo_conftest.option.randomseed = seed
 
8
        test_random.test_random_function(*args)
 
9
    finally:
 
10
        demo_conftest.option.randomseed = prevseed
 
11
 
 
12
# ____________________________________________________________
 
13
# These are tests that failed at some point on intel.  Run
 
14
# them all with py.test rerun_failures.py.
 
15
 
 
16
def test_4327406():    rerun(4327406)
 
17
def test_9473():       rerun(9473)
 
18
def test_3888():       rerun(3888)
 
19
def test_2307():       rerun(2307)
 
20
def test_9792():       rerun(9792)
 
21
def test_37():         rerun(37)
 
22
def test_2871_1_100(): rerun(2871, 1, 100)
 
23
def test_6294():       rerun(6294)
 
24
 
 
25
# here's a ppcfew failure or two:
 
26
 
 
27
def test_39263():      rerun(39263)
 
28
def test_33851():      rerun(33851)
 
29
def test_20202():      rerun(20202)