js/src/jit-test/tests/basic/bug728190.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/basic/bug728190.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,24 @@
     1.4 +// |jit-test| slow;
     1.5 +
     1.6 +function TestCase(n, d, e, a) {}
     1.7 +var lfcode = new Array();
     1.8 +lfcode.push("");
     1.9 +lfcode.push("\
    1.10 +  var summary = 'foo';\
    1.11 +  test();\
    1.12 +  function test() {\
    1.13 +    test(\"TEST-UNEXPECTED-FAIL | TestPerf | \" + summary);\
    1.14 +  }\
    1.15 +");
    1.16 +lfcode.push("gczeal(2);");
    1.17 +lfcode.push("\
    1.18 +  new TestCase(TestFunction_3( \"P\", \"A\", \"S\", \"S\" ) +\"\");\
    1.19 +  new TestCase(TestFunction_4( \"F\", \"A\", (\"length\"), \"L\" ) +\"\");\
    1.20 +  function TestFunction_3( a, b, c, d, e ) {\
    1.21 +    TestFunction_3(arguments);\
    1.22 +  }\
    1.23 +");
    1.24 +while (true) {
    1.25 +        var file = lfcode.shift(); if (file == undefined) { break; }
    1.26 +        try { evaluate(file); } catch (lfVare) {}
    1.27 +}

mercurial