| OLD | NEW |
| 1 # Copyright 2011 the V8 project authors. All rights reserved. | 1 # Copyright 2011 the V8 project authors. All rights reserved. |
| 2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
| 3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
| 4 # met: | 4 # met: |
| 5 # | 5 # |
| 6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
| 7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
| 8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
| 9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
| 10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
| 11 # with the distribution. | 11 # with the distribution. |
| 12 # * Neither the name of Google Inc. nor the names of its | 12 # * Neither the name of Google Inc. nor the names of its |
| 13 # contributors may be used to endorse or promote products derived | 13 # contributors may be used to endorse or promote products derived |
| 14 # from this software without specific prior written permission. | 14 # from this software without specific prior written permission. |
| 15 # | 15 # |
| 16 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | 16 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 17 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | 17 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 18 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | 18 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 19 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | 19 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 20 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | 20 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 21 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | 21 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 22 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 22 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 23 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 23 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 26 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | 27 |
| 28 prefix test262 | 28 [ |
| 29 def FAIL_OK = FAIL, OKAY | 29 [ALWAYS, { |
| 30 ############################### BUGS ################################### |
| 30 | 31 |
| 31 ############################### BUGS ################################### | 32 # Sequencing of getter side effects on receiver and argument properties |
| 33 # is wrong. The receiver callback should be called before any arguments |
| 34 # are evaluated. |
| 35 # V8 Bug: http://code.google.com/p/v8/issues/detail?id=691 |
| 36 '11.2.3-3_3': [FAIL], |
| 32 | 37 |
| 33 # Sequencing of getter side effects on receiver and argument properties | 38 '15.5.4.9_CE': [['no_i18n', SKIP]], |
| 34 # is wrong. The receiver callback should be called before any arguments | |
| 35 # are evaluated. | |
| 36 # V8 Bug: http://code.google.com/p/v8/issues/detail?id=691 | |
| 37 11.2.3-3_3: FAIL | |
| 38 | 39 |
| 39 15.5.4.9_CE: SKIP if $no_i18n | 40 ######################## NEEDS INVESTIGATION ########################### |
| 40 | 41 |
| 41 ######################## NEEDS INVESTIGATION ########################### | 42 # These test failures are specific to the intl402 suite and need investigation |
| 43 # to be either marked as bugs with issues filed for them or as deliberate |
| 44 # incompatibilities if the test cases turn out to be broken or ambiguous. |
| 45 '6.2.3': [FAIL], |
| 46 '9.2.1_2': [FAIL], |
| 47 '9.2.5_11_g_ii_2': [FAIL], |
| 48 '9.2.6_2': [FAIL], |
| 49 '10.1.1_a': [FAIL], |
| 50 '10.1.1_19_c': [PASS, FAIL], |
| 51 '10.1.2.1_4': [FAIL], |
| 52 '10.2.3_b': [PASS, FAIL], |
| 53 '10.3_a': [FAIL], |
| 54 '11.1.1_17': [PASS, FAIL], |
| 55 '11.1.1_19': [PASS, FAIL], |
| 56 '11.1.1_20_c': [FAIL], |
| 57 '11.1.1_a': [FAIL], |
| 58 '11.1.2.1_4': [FAIL], |
| 59 '11.3.2_FN_2': [PASS, FAIL], |
| 60 '11.3.2_TRF': [PASS, FAIL], |
| 61 '11.3.2_TRP': [FAIL], |
| 62 '11.3_a': [FAIL], |
| 63 '12.1.1_a': [FAIL], |
| 64 '12.1.2.1_4': [FAIL], |
| 65 '12.3.2_FDT_7_a_iv': [FAIL], |
| 66 '12.3.3': [FAIL], |
| 67 '12.3_a': [FAIL], |
| 68 '15.5.4.9_3': [PASS, FAIL], |
| 42 | 69 |
| 43 # These test failures are specific to the intl402 suite and need investigation | 70 ##################### DELIBERATE INCOMPATIBILITIES ##################### |
| 44 # to be either marked as bugs with issues filed for them or as deliberate | |
| 45 # incompatibilities if the test cases turn out to be broken or ambiguous. | |
| 46 6.2.3: FAIL | |
| 47 9.2.1_2: FAIL | |
| 48 9.2.5_11_g_ii_2: FAIL | |
| 49 9.2.6_2: FAIL | |
| 50 10.1.1_a: FAIL | |
| 51 10.1.1_19_c: PASS || FAIL | |
| 52 10.1.2.1_4: FAIL | |
| 53 10.2.3_b: PASS || FAIL | |
| 54 10.3_a: FAIL | |
| 55 11.1.1_17: PASS || FAIL | |
| 56 11.1.1_19: PASS || FAIL | |
| 57 11.1.1_20_c: FAIL | |
| 58 11.1.1_a: FAIL | |
| 59 11.1.2.1_4: FAIL | |
| 60 11.3.2_FN_2: PASS || FAIL | |
| 61 11.3.2_TRF: PASS || FAIL | |
| 62 11.3.2_TRP: FAIL | |
| 63 11.3_a: FAIL | |
| 64 12.1.1_a: FAIL | |
| 65 12.1.2.1_4: FAIL | |
| 66 12.3.2_FDT_7_a_iv: FAIL | |
| 67 12.3.3: FAIL | |
| 68 12.3_a: FAIL | |
| 69 15.5.4.9_3: PASS || FAIL | |
| 70 | 71 |
| 71 ##################### DELIBERATE INCOMPATIBILITIES ##################### | 72 # This tests precision of Math functions. The implementation for those |
| 73 # trigonometric functions are platform/compiler dependent. Furthermore, the |
| 74 # expectation values by far deviates from the actual result given by an |
| 75 # arbitrary-precision calculator, making those tests partly bogus. |
| 76 'S15.8.2.8_A6': [PASS, FAIL_OK], # Math.exp (less precise with --fast-math) |
| 77 'S15.8.2.16_A7': [PASS, FAIL_OK], # Math.sin |
| 78 'S15.8.2.18_A7': [PASS, FAIL_OK], # Math.tan |
| 72 | 79 |
| 73 # This tests precision of Math functions. The implementation for those | 80 # Linux for ia32 (and therefore simulators) default to extended 80 bit |
| 74 # trigonometric functions are platform/compiler dependent. Furthermore, the | 81 # floating point formats, so these tests checking 64-bit FP precision fail. |
| 75 # expectation values by far deviates from the actual result given by an | 82 # The other platforms/arch's pass these tests. |
| 76 # arbitrary-precision calculator, making those tests partly bogus. | 83 # We follow the other major JS engines by keeping this default. |
| 77 S15.8.2.8_A6: PASS || FAIL_OK # Math.exp (less precise with --fast-math) | 84 'S8.5_A2.1': [PASS, FAIL_OK], |
| 78 S15.8.2.16_A7: PASS || FAIL_OK # Math.sin | 85 'S8.5_A2.2': [PASS, FAIL_OK], |
| 79 S15.8.2.18_A7: PASS || FAIL_OK # Math.tan | |
| 80 | 86 |
| 81 # Linux for ia32 (and therefore simulators) default to extended 80 bit floating | 87 ############################ INVALID TESTS ############################# |
| 82 # point formats, so these tests checking 64-bit FP precision fail. The other | |
| 83 # platforms/arch's pass these tests. | |
| 84 # We follow the other major JS engines by keeping this default. | |
| 85 S8.5_A2.1: PASS || FAIL_OK | |
| 86 S8.5_A2.2: PASS || FAIL_OK | |
| 87 | 88 |
| 88 ############################ INVALID TESTS ############################# | 89 # The reference value calculated by Test262 is incorrect if you run these |
| 90 # tests in PST/PDT between first Sunday in March and first Sunday in April. |
| 91 # The DST switch was moved in 2007 whereas Test262 bases the reference value |
| 92 # on 2000. Test262 Bug: https://bugs.ecmascript.org/show_bug.cgi?id=293 |
| 93 'S15.9.3.1_A5_T1': [PASS, FAIL_OK], |
| 94 'S15.9.3.1_A5_T2': [PASS, FAIL_OK], |
| 95 'S15.9.3.1_A5_T3': [PASS, FAIL_OK], |
| 96 'S15.9.3.1_A5_T4': [PASS, FAIL_OK], |
| 97 'S15.9.3.1_A5_T5': [PASS, FAIL_OK], |
| 98 'S15.9.3.1_A5_T6': [PASS, FAIL_OK], |
| 89 | 99 |
| 90 # The reference value calculated by Test262 is incorrect if you run these tests | 100 ############################ SKIPPED TESTS ############################# |
| 91 # in PST/PDT between first Sunday in March and first Sunday in April. The DST | |
| 92 # switch was moved in 2007 whereas Test262 bases the reference value on 2000. | |
| 93 # Test262 Bug: https://bugs.ecmascript.org/show_bug.cgi?id=293 | |
| 94 S15.9.3.1_A5_T1: PASS || FAIL_OK | |
| 95 S15.9.3.1_A5_T2: PASS || FAIL_OK | |
| 96 S15.9.3.1_A5_T3: PASS || FAIL_OK | |
| 97 S15.9.3.1_A5_T4: PASS || FAIL_OK | |
| 98 S15.9.3.1_A5_T5: PASS || FAIL_OK | |
| 99 S15.9.3.1_A5_T6: PASS || FAIL_OK | |
| 100 | 101 |
| 101 ############################ SKIPPED TESTS ############################# | 102 # These tests take a looong time to run in debug mode. |
| 103 'S15.1.3.1_A2.5_T1': [PASS, ['mode == debug', SKIP]], |
| 104 'S15.1.3.2_A2.5_T1': [PASS, ['mode == debug', SKIP]], |
| 105 }], # ALWAYS |
| 102 | 106 |
| 103 # These tests take a looong time to run in debug mode. | 107 ['arch == arm or arch == mipsel', { |
| 104 S15.1.3.1_A2.5_T1: PASS, SKIP if $mode == debug | |
| 105 S15.1.3.2_A2.5_T1: PASS, SKIP if $mode == debug | |
| 106 | 108 |
| 107 [ $arch == arm || $arch == mipsel ] | 109 # TODO(mstarzinger): Causes stack overflow on simulators due to eager |
| 110 # compilation of parenthesized function literals. Needs investigation. |
| 111 'S13.2.1_A1_T1': [SKIP], |
| 108 | 112 |
| 109 # TODO(mstarzinger): Causes stack overflow on simulators due to eager | 113 # BUG(3251225): Tests that timeout with --nocrankshaft. |
| 110 # compilation of parenthesized function literals. Needs investigation. | 114 'S15.1.3.1_A2.4_T1': [SKIP], |
| 111 S13.2.1_A1_T1: SKIP | 115 'S15.1.3.1_A2.5_T1': [SKIP], |
| 112 | 116 'S15.1.3.2_A2.4_T1': [SKIP], |
| 113 # BUG(3251225): Tests that timeout with --nocrankshaft. | 117 'S15.1.3.2_A2.5_T1': [SKIP], |
| 114 S15.1.3.1_A2.4_T1: SKIP | 118 'S15.1.3.3_A2.3_T1': [SKIP], |
| 115 S15.1.3.1_A2.5_T1: SKIP | 119 'S15.1.3.4_A2.3_T1': [SKIP], |
| 116 S15.1.3.2_A2.4_T1: SKIP | 120 }], # 'arch == arm or arch == mipsel' |
| 117 S15.1.3.2_A2.5_T1: SKIP | 121 ] |
| 118 S15.1.3.3_A2.3_T1: SKIP | |
| 119 S15.1.3.4_A2.3_T1: SKIP | |
| OLD | NEW |