| OLD | NEW |
| 1 # Copyright 2009 the V8 project authors. All rights reserved. | 1 # Copyright 2009 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 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 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 sputnik | 28 prefix sputnik |
| 29 def FAIL_OK = FAIL, OKAY | 29 def FAIL_OK = FAIL, OKAY |
| 30 | 30 |
| 31 ############################### BUGS ################################### |
| 32 |
| 33 # A bound function should fail on access to 'caller' and 'arguments'. |
| 34 S15.3.4.5_A1: FAIL |
| 35 S15.3.4.5_A2: FAIL |
| 36 |
| 37 # String replace and array sort leaks the global object to strict mode |
| 38 # callbacks. |
| 39 S15.5.4.11_A12: FAIL |
| 40 S15.4.4.11_A8: FAIL |
| 41 |
| 42 # '__proto__' should be treated as a normal property in JSON. |
| 43 S15.12.2_A1: FAIL |
| 44 |
| 31 ##################### DELIBERATE INCOMPATIBILITIES ##################### | 45 ##################### DELIBERATE INCOMPATIBILITIES ##################### |
| 32 | 46 |
| 33 # This tests precision of trignometric functions. We're slightly off | 47 # This tests precision of trignometric functions. We're slightly off |
| 34 # from the implementation in libc (~ 1e-17) but it's not clear if we | 48 # from the implementation in libc (~ 1e-17) but it's not clear if we |
| 35 # or they are closer to the right answer, or if it even matters. | 49 # or they are closer to the right answer, or if it even matters. |
| 36 S15.8.2.16_A7: PASS || FAIL_OK | 50 S15.8.2.16_A7: PASS || FAIL_OK |
| 37 S15.8.2.18_A7: PASS || FAIL_OK | 51 S15.8.2.18_A7: PASS || FAIL_OK |
| 38 S15.8.2.13_A23: PASS || FAIL_OK | 52 S15.8.2.13_A23: PASS || FAIL_OK |
| 39 | 53 |
| 40 # We allow calls to regexp exec() with no arguments to fail for | 54 # We allow calls to regexp exec() with no arguments to fail for |
| 41 # compatibility reasons. | 55 # compatibility reasons. |
| 42 S15.10.6.2_A1_T16: FAIL_OK | 56 S15.10.6.2_A1_T16: FAIL_OK |
| 57 S15.10.6.2_A12: FAIL_OK |
| 43 S15.10.6.3_A1_T16: FAIL_OK | 58 S15.10.6.3_A1_T16: FAIL_OK |
| 44 | 59 |
| 45 # We are silent in some regexp cases where the spec wants us to give | 60 # We are silent in some regexp cases where the spec wants us to give |
| 46 # errors, for compatibility. | 61 # errors, for compatibility. |
| 47 S15.10.2.11_A1_T2: FAIL | 62 S15.10.2.11_A1_T2: FAIL |
| 48 S15.10.2.11_A1_T3: FAIL | 63 S15.10.2.11_A1_T3: FAIL |
| 49 S15.10.4.1_A5_T1: FAIL | 64 S15.10.4.1_A5_T1: FAIL |
| 50 S15.10.4.1_A5_T2: FAIL | 65 S15.10.4.1_A5_T2: FAIL |
| 51 S15.10.4.1_A5_T3: FAIL | 66 S15.10.4.1_A5_T3: FAIL |
| 52 S15.10.4.1_A5_T4: FAIL | 67 S15.10.4.1_A5_T4: FAIL |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 S14_D4_T3: PASS || FAIL_OK | 134 S14_D4_T3: PASS || FAIL_OK |
| 120 S14_D7: PASS || FAIL_OK | 135 S14_D7: PASS || FAIL_OK |
| 121 S15.5.4.11_D1.1_T2: PASS || FAIL_OK | 136 S15.5.4.11_D1.1_T2: PASS || FAIL_OK |
| 122 S15.5.4.11_D1.1_T4: PASS || FAIL_OK | 137 S15.5.4.11_D1.1_T4: PASS || FAIL_OK |
| 123 S15.5.2_D2: PASS || FAIL_OK | 138 S15.5.2_D2: PASS || FAIL_OK |
| 124 S15.5.4.11_D1.1_T1: PASS || FAIL_OK | 139 S15.5.4.11_D1.1_T1: PASS || FAIL_OK |
| 125 S15.5.4.11_D1.1_T3: PASS || FAIL_OK | 140 S15.5.4.11_D1.1_T3: PASS || FAIL_OK |
| 126 S12.6.4_D1: PASS || FAIL_OK | 141 S12.6.4_D1: PASS || FAIL_OK |
| 127 | 142 |
| 128 # We allow function declarations within statements | 143 # We allow function declarations within statements |
| 129 S12.5_A9_T1: FAIL_OK | |
| 130 S12.5_A9_T2: FAIL_OK | |
| 131 # S12.6.2_A13_T3: FAIL_OK | |
| 132 # S12.5_A9_T3: FAIL_OK | |
| 133 # S12.6.1_A13_T3: FAIL_OK | |
| 134 S12.1_A1: FAIL_OK | |
| 135 S12.6.2_A13_T1: FAIL_OK | 144 S12.6.2_A13_T1: FAIL_OK |
| 136 S12.6.2_A13_T2: FAIL_OK | 145 S12.6.2_A13_T2: FAIL_OK |
| 137 S12.6.1_A13_T1: FAIL_OK | |
| 138 S12.6.1_A13_T2: FAIL_OK | |
| 139 S12.6.4_A13_T1: FAIL_OK | 146 S12.6.4_A13_T1: FAIL_OK |
| 140 S12.6.4_A13_T2: FAIL_OK | 147 S12.6.4_A13_T2: FAIL_OK |
| 141 #S12.6.4_A13_T3: FAIL_OK | 148 #S12.6.4_A13_T3: FAIL_OK |
| 142 S15.3.4.2_A1_T1: FAIL_OK | 149 S15.3.4.2_A1_T1: FAIL_OK |
| 143 | 150 |
| 144 # Linux and Mac defaults to extended 80 bit floating point format in the FPU. | 151 # Linux and Mac defaults to extended 80 bit floating point format in the FPU. |
| 145 # We follow the other major JS engines by keeping this default. | 152 # We follow the other major JS engines by keeping this default. |
| 146 S8.5_A2.2: PASS, FAIL if $system == linux, FAIL if $system == macos | 153 S8.5_A2.2: PASS, FAIL if $system == linux, FAIL if $system == macos |
| 147 S8.5_A2.1: PASS, FAIL if $system == linux, FAIL if $system == macos | 154 S8.5_A2.1: PASS, FAIL if $system == linux, FAIL if $system == macos |
| 148 | 155 |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 S15.1.3.2_A2.5_T1: SKIP | 259 S15.1.3.2_A2.5_T1: SKIP |
| 253 S15.1.3.3_A2.3_T1: SKIP | 260 S15.1.3.3_A2.3_T1: SKIP |
| 254 S15.1.3.4_A2.3_T1: SKIP | 261 S15.1.3.4_A2.3_T1: SKIP |
| 255 S15.1.3.1_A2.5_T1: SKIP | 262 S15.1.3.1_A2.5_T1: SKIP |
| 256 S15.1.3.2_A2.5_T1: SKIP | 263 S15.1.3.2_A2.5_T1: SKIP |
| 257 | 264 |
| 258 [ $arch == mips ] | 265 [ $arch == mips ] |
| 259 | 266 |
| 260 # Skip all tests on MIPS. | 267 # Skip all tests on MIPS. |
| 261 *: SKIP | 268 *: SKIP |
| OLD | NEW |