Hakan Ardo avatar Hakan Ardo committed 44f28ed

second failure found

Comments (0)

Files changed (1)

pypy/jit/metainterp/test/test_random_loops.py

 
 class RandomLoopBase(object):
     def check(self, bytecode, args=(0,0,0,0,0), max_back_jumps=-1, **kwargs):
-        print 'check:', bytecode, args, max_back_jumps
+        print "check('%s'," % bytecode, args, ',%d)' % max_back_jumps
         bytecode = re.subn('\s', '', bytecode)[0]
         offsets = self.offsets(bytecode)
         assert len(args) == 5
     def test_failure1(self):
         self.check('{{7d<(37>(c6-A{a6>n(x)5b<()(bb+Bea-A){7d>n(x)1e+A7d-B3d+E35+Eac-B2b<(04+Cxe8+D9d+C)(){c6<n(x)ad+B6a+Cx20-Cce+Ac8-D}}{b9>n(x)a5=(2c+E)(xxe9-A)ec>(b7-A40+Ce0-Cx06-A)(xc0-Ad2-A1e+B0d+Bx09+B0b-D)}be-Ab7=(3a+Ab7-Dde<(x))(ec+Cd4+D5d<(x10+A)(cb-Cb9-C))59<(2b-C00-Ab0<(bc-Bde+Bxa2-E4d+A))(e7+Eb3<(c4-Bxx)59-C7c+Aa8>(96-Exce+D3e-Ex)db+A76-Cdb-Bdc=(2b-A))}d2+D)(27-C26+B39+A9d+Bcc+Dab+Cdd=(ae+Eee-Ex{5d>n(x)}d0<(2a+C41+Dca+C6a>(47-Ae9-Eb7+Cx60+D63-C)bb+D9e+Ec5=(d2-Cxaa-D84-Ced+B20+A4c+B)65+A59-E)ed<(cd+B{a8=n(x)ed+Bxxd8+A}ba-D{66=n(x)a4+D30+Acd+C1c+A6c+Ac7-Dxc0+B}x)4b-Dx)e4-D{aa=n(x)44-Eac>(3e+Aae+A12<(a4-A)99<(ce-C4a+A7b+Dxdd+E)(c5+A10-D63-Eda-E22-E85+Dea+E)x)ed+Dbb=(e5-A9e-C)(x{ca<n(x)ad-Caa+E}d5+Eb3-E)b8+Cd8-D8b+Bd1<(e6+E{be<n(x)d2+A88+D70-D23-Ex}cb-Dx)(e0<(a8+E)4e-A8c+C{d9=n(x)}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+D1d+C{2d<n(x)c0-A96+Be3-E5d-B2d-E}55-D9c<(x3b-Ceb-A98+Abc-A)()ee+Cca+E{de<n(x)3c+Dxx7d-Bcd-Cd1-D}{ea<n(x)29+Cb8-C6a+Dda-A3b-A96+B9e+Cdb-Cx}}xe7>(x{0b<n(x)28+Ex0c-Dcb-Bxbd-B96+D})4a-C56+C6c+B}x))6a-E6e+E}}', [49, 58, 34, 95, 30], 1000)
+
     def test_random_bytecode(self):
         for i in xrange(1000):
             yield self.check, self.random_loop(), [randrange(100) for i in xrange(5)], 1000
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.