Reviewers: Rico, Mads Ager,
Message:
This brings Sputnik tests to current head.
Recently Sputnik introduced a flag that runs all/some tests in strict mode.
I am
keeping it off for the moment but have todo to turn it on as the strict mode
implementation progresses.
Thank you!
Martin
Description:
Sputnik tests - forward to r94.
BUG=
TEST=
Please review this at http://codereview.chromium.org/6542066/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M test/sputnik/README
M test/sputnik/sputnik.status
M test/sputnik/testcfg.py
Index: test/sputnik/README
diff --git a/test/sputnik/README b/test/sputnik/README
index
94c689bd2879f960d977b4732c299a0a1a395b20..50d721f36e9cef2f0ce15df363336a69db44268a
100644
--- a/test/sputnik/README
+++ b/test/sputnik/README
@@ -1,6 +1,6 @@
To run the sputniktests you must check out the test suite from
googlecode.com. The test expectations are currently relative to
-version 28. To get the tests run the following command within
+version 94. To get the tests run the following command within
v8/test/sputnik/
- svn co http://sputniktests.googlecode.com/svn/trunk/ -r28 sputniktests
+ svn co http://sputniktests.googlecode.com/svn/trunk/ -r94 sputniktests
Index: test/sputnik/sputnik.status
diff --git a/test/sputnik/sputnik.status b/test/sputnik/sputnik.status
index
966500d069742c15ac8789cd1784c0443425d1e6..0fd66deaece25c99dccc4371ecad5f70bf4f0598
100644
--- a/test/sputnik/sputnik.status
+++ b/test/sputnik/sputnik.status
@@ -102,33 +102,20 @@ S7.8.4_A4.3_T5: FAIL_OK
S7.8.4_A7.2_T5: FAIL_OK
# We allow some keywords to be used as identifiers
-S7.5.3_A1.17: FAIL_OK
S7.5.3_A1.26: FAIL_OK
S7.5.3_A1.18: FAIL_OK
S7.5.3_A1.27: FAIL_OK
-S7.5.3_A1.28: FAIL_OK
-S7.5.3_A1.19: FAIL_OK
-S7.5.3_A1.29: FAIL_OK
-S7.5.3_A1.1: FAIL_OK
-S7.5.3_A1.2: FAIL_OK
-S7.5.3_A1.3: FAIL_OK
-S7.5.3_A1.4: FAIL_OK
S7.5.3_A1.5: FAIL_OK
-S7.5.3_A1.8: FAIL_OK
S7.5.3_A1.9: FAIL_OK
S7.5.3_A1.10: FAIL_OK
S7.5.3_A1.11: FAIL_OK
+# native
+S7.5.3_A1.20: FAIL_OK
S7.5.3_A1.21: FAIL_OK
-S7.5.3_A1.12: FAIL_OK
-S7.5.3_A1.30: FAIL_OK
-S7.5.3_A1.31: FAIL_OK
-S7.5.3_A1.13: FAIL_OK
S7.5.3_A1.22: FAIL_OK
S7.5.3_A1.23: FAIL_OK
-S7.5.3_A1.14: FAIL_OK
S7.5.3_A1.15: FAIL_OK
S7.5.3_A1.24: FAIL_OK
-S7.5.3_A1.25: FAIL_OK
S7.5.3_A1.16: FAIL_OK
# This checks for non-262 behavior
@@ -199,10 +186,46 @@ S9.9_A2: FAIL_OK
S15.1.3.2_A2.5_T1: PASS, SKIP if $mode == debug
S15.1.3.1_A2.5_T1: PASS, SKIP if $mode == debug
+# V8 Bug: http://code.google.com/p/v8/issues/detail?id=1196
+S8.7_A5_T2: FAIL
+# Suspected invalid test case. Object.prototype.toString
+# toString should call ToObject(this) which should throw
+# with undefined/null. Test expects otherwise.
+# Also V8 Bug: V8 should not wrap this when calling toString.
+S15.2.4.2_A12: FAIL
+S15.2.4.2_A13: FAIL
+
+# V8 bugs: http://code.google.com/p/v8/issues/detail?id=1198
+# V8 should not wrap this when calling builtin functions
+S15.2.4.3_A12: FAIL
+S15.2.4.7_A13: FAIL
+# Object.prototype.toString
+S15.2.4.2_A12: FAIL
+S15.2.4.2_A13: FAIL
+# Object.prototype.toLocaleString
+S15.2.4.3_A13: FAIL
+S15.2.4.4_A13: FAIL
+S15.2.4.4_A12: FAIL
+# Object.prototype.propertyIsEnumerable
+S15.2.4.7_A12: FAIL
+# Object.prototype.hasOwnProperty
+S15.2.4.5_A12: FAIL
+S15.2.4.5_A13: FAIL
+# Object.prototype.isPrototypeOf
+S15.2.4.6_A13: FAIL
+S15.2.4.6_A12: FAIL
+
+# Suspected test bug
+S8.3_A1_T1: FAIL
+# Test bug: http://code.google.com/p/sputniktests/issues/detail?id=35
+S15.5.4.8_A1_T1: FAIL
+# Suspected invalid test case (recent change adding var changes semantics?)
+S15.3_A3_T1: FAIL
+# Suspected invalid test case (recent change adding var changes semantics?)
+S15.3_A3_T3: FAIL
# These tests fail because we had to add bugs to be compatible with JSC.
See
# http://code.google.com/p/chromium/issues/detail?id=1717
-S15.4.4_A1.1_T2: FAIL_OK
S15.5.4.1_A1_T2: FAIL_OK
S15.5.4_A1: FAIL_OK
S15.5.4_A3: FAIL_OK
Index: test/sputnik/testcfg.py
diff --git a/test/sputnik/testcfg.py b/test/sputnik/testcfg.py
index
f7a5edcca6a93b16c603678dc522391cafede1c9..31e4b226f8962c857d5a2e04f966d1b805611402
100644
--- a/test/sputnik/testcfg.py
+++ b/test/sputnik/testcfg.py
@@ -88,7 +88,8 @@ class SputnikTestConfiguration(test.TestConfiguration):
sys.path.append(modroot)
import sputnik
globals()['sputnik'] = sputnik
- test_suite = sputnik.TestSuite(testroot)
+ # Do not run strict mode tests yet. TODO(mmaly)
+ test_suite = sputnik.TestSuite(testroot, False)
test_suite.Validate()
tests = test_suite.EnumerateTests([])
result = []
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev