From 1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Wed, 17 Dec 2008 18:05:15 -0800 Subject: Code drop from //branches/cupcake/...@124589 --- .../tests/mozilla/ecma/Array/15.4.4.5-3.js | 2 +- JavaScriptCore/tests/mozilla/expected.html | 228 +++++++++------------ .../tests/mozilla/js1_2/Array/tostring_1.js | 2 +- .../tests/mozilla/js1_2/Array/tostring_2.js | 2 +- JavaScriptCore/tests/mozilla/js1_6/README | 1 + JavaScriptCore/tests/mozilla/jsDriver.pl | 38 ++-- 6 files changed, 126 insertions(+), 147 deletions(-) create mode 100644 JavaScriptCore/tests/mozilla/js1_6/README (limited to 'JavaScriptCore/tests/mozilla') diff --git a/JavaScriptCore/tests/mozilla/ecma/Array/15.4.4.5-3.js b/JavaScriptCore/tests/mozilla/ecma/Array/15.4.4.5-3.js index b27e063..47bbe5d 100644 --- a/JavaScriptCore/tests/mozilla/ecma/Array/15.4.4.5-3.js +++ b/JavaScriptCore/tests/mozilla/ecma/Array/15.4.4.5-3.js @@ -147,7 +147,7 @@ function realsort( x, y ) { return ( x.valueOf() == y.valueOf() ? 0 : ( x.valueOf() > y.valueOf() ? 1 : -1 ) ); } function comparefn3( x, y ) { - return ( x == y ? 0 : ( x > y ? 1: -1 ) ); + return ( +x == +y ? 0 : ( x > y ? 1 : -1 ) ); } function clone( source, target ) { for (i = 0; i < source.length; i++ ) { diff --git a/JavaScriptCore/tests/mozilla/expected.html b/JavaScriptCore/tests/mozilla/expected.html index 51be647..e51c4d1 100644 --- a/JavaScriptCore/tests/mozilla/expected.html +++ b/JavaScriptCore/tests/mozilla/expected.html @@ -1,17 +1,17 @@ -Test results, kjs +Test results, squirrelfish -

Test results, kjs


+

Test results, squirrelfish


Test List: All tests
Skip List: (none)
-1135 test(s) selected, 1127 test(s) completed, 52 failures reported (4.61% failed)
-Engine command line: /Users/darin/Build/Debug/testkjs
-OS type: Darwin Darin-Adlers-Mac-Pro.local 9.1.0 Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT 2007; root:xnu-1228.0.2~1/RELEASE_I386 i386
-Testcase execution time: 1 minutes, 13 seconds.
-Tests completed on Thu Jan 3 00:46:35 2008.

+1135 test(s) selected, 1127 test(s) completed, 50 failures reported (4.43% failed)
+Engine command line: "/Users/Cameron/WebKit/WebKitBuild/Debug/jsc"
+OS type: Darwin d141-97-200.home.cgocable.net 9.5.0 Darwin Kernel Version 9.5.0: Wed Sep 3 11:29:43 PDT 2008; root:xnu-1228.7.58~1/RELEASE_I386 i386
+Testcase execution time: 1 minutes, 10 seconds.
+Tests completed on Thu Sep 18 02:24:54 2008.

[ Failure Details | Retest List | Test Selection Page ]


@@ -43,8 +43,8 @@ Failure messages were:
(Mon Feb 28 2000 16:00:00 GMT-0800 (PST)).toLocaleTimeString() = 4:00:00 PM PST FAILED! expected: 16:00:00
(Mon Feb 28 2000 15:59:59 GMT-0800 (PST)).toLocaleTimeString() = 3:59:59 PM PST FAILED! expected: 15:59:59
(Tue Feb 29 2000 00:00:00 GMT-0800 (PST)).toLocaleTimeString() = 12:00:00 AM PST FAILED! expected: 00:00:00
-(Thu Jan 03 2008 00:46:22 GMT-0800 (PST)).toLocaleTimeString() = 12:46:22 AM PST FAILED! expected: 00:46:22
-(Thu Jan 03 2008 08:46:22 GMT-0800 (PST)).toLocaleTimeString() = 8:46:22 AM PST FAILED! expected: 08:46:22
+(Thu Sep 18 2008 02:24:30 GMT-0700 (PDT)).toLocaleTimeString() = 2:24:30 AM PDT FAILED! expected: 02:24:30
+(Thu Sep 18 2008 10:24:30 GMT-0700 (PDT)).toLocaleTimeString() = 10:24:30 AM PDT FAILED! expected: 10:24:30
(Fri Dec 31 2004 16:00:00 GMT-0800 (PST)).toLocaleTimeString() = 4:00:00 PM PST FAILED! expected: 16:00:00
(Fri Dec 31 2004 15:59:59 GMT-0800 (PST)).toLocaleTimeString() = 3:59:59 PM PST FAILED! expected: 15:59:59
(Sat Jan 01 2005 00:00:00 GMT-0800 (PST)).toLocaleTimeString() = 12:00:00 AM PST FAILED! expected: 00:00:00
@@ -166,8 +166,7 @@ FAILED!: [reported from test()]
Expected exit code 0, got 3
Testcase terminated with signal 0
Complete testcase output was:
-[82270] ./ecma_3/Statements/regress-194364.js line 1: SyntaxError: Parse error
-

+Testcase produced no output!
Testcase ecma_3/Unicode/uc-001.js failed Bug Number 23610
[ Previous Failure | Next Failure | Top of Page ]
STATUS: Unicode format-control character (Category Cf) test.
@@ -176,51 +175,41 @@ FAILED!: [reported from test()] Unicode format-control character test (Category FAILED!: [reported from test()] Expected value 'no error', Actual value 'no‎ error'
FAILED!: [reported from test()]

-
Testcase ecma_3/Unicode/uc-002.js failed Bug Number 23613
+
Testcase js1_2/Objects/toString-001.js failed
[ Previous Failure | Next Failure | Top of Page ]
-STATUS: Unicode non-breaking space character test.
-Failure messages were:
-FAILED!: [reported from test()] Unicode non-breaking space character regexp test.
-FAILED!: [reported from test()] Expected value '0', Actual value '-1'
-FAILED!: [reported from test()]
-

-
Testcase js1_2/Objects/toString-001.js failed
- [ Previous Failure | Next Failure | Top of Page ]

Failure messages were:
var o = new Object(); o.toString() = [object Object] FAILED! expected: {}
o = {}; o.toString() = [object Object] FAILED! expected: {}
o = { name:"object", length:0, value:"hello" }; o.toString() = false FAILED! expected: true

-
Testcase js1_2/function/Function_object.js failed
- [ Previous Failure | Next Failure | Top of Page ]
+
Testcase js1_2/function/Function_object.js failed
+ [ Previous Failure | Next Failure | Top of Page ]

Failure messages were:
-f.name = undefined FAILED! expected: a_test_function
f.arity = undefined FAILED! expected: 3
-(new Function()).name = undefined FAILED! expected: anonymous
-} FAILED! expected:
+(new Function()).toString() = function anonymous() {} FAILED! expected:

-
Testcase js1_2/function/function-001-n.js failed
- [ Previous Failure | Next Failure | Top of Page ]
+
Testcase js1_2/function/function-001-n.js failed
+ [ Previous Failure | Next Failure | Top of Page ]
Expected exit code 3, got 0
Testcase terminated with signal 0
Complete testcase output was:
function-001.js functions not separated by semicolons are errors in version 120 and higher
eval("function f(){}function g(){}") = undefined FAILED! expected: error

-
Testcase js1_2/function/tostring-1.js failed
- [ Previous Failure | Next Failure | Top of Page ]
+
Testcase js1_2/function/tostring-1.js failed
+ [ Previous Failure | Next Failure | Top of Page ]

Failure messages were:
} FAILED! expected:
} FAILED! expected:
} FAILED! expected:
} FAILED! expected:
-} FAILED! expected:
+f.toString() = function anonymous() {return "hello!"} FAILED! expected:

-
Testcase js1_2/function/tostring-2.js failed
- [ Previous Failure | Next Failure | Top of Page ]
+
Testcase js1_2/function/tostring-2.js failed
+ [ Previous Failure | Next Failure | Top of Page ]

Failure messages were:
} FAILED! expected:
@@ -233,22 +222,22 @@ Failure messages were:
} FAILED! expected:
} FAILED! expected:

-
Testcase js1_2/operator/equality.js failed
- [ Previous Failure | Next Failure | Top of Page ]
+
Testcase js1_2/operator/equality.js failed
+ [ Previous Failure | Next Failure | Top of Page ]

Failure messages were:
(new String('x') == 'x') = true FAILED! expected: false
('x' == new String('x')) = true FAILED! expected: false

-
Testcase js1_2/regexp/RegExp_lastIndex.js failed
- [ Previous Failure | Next Failure | Top of Page ]
+
Testcase js1_2/regexp/RegExp_lastIndex.js failed
+ [ Previous Failure | Next Failure | Top of Page ]

Failure messages were:
re=/x./g; re.lastIndex=4; re.exec('xyabcdxa') = xa FAILED! expected: ["xa"]
re.exec('xyabcdef') = xy FAILED! expected: ["xy"]

-
Testcase js1_2/regexp/RegExp_multiline.js failed
- [ Previous Failure | Next Failure | Top of Page ]
+
Testcase js1_2/regexp/RegExp_multiline.js failed
+ [ Previous Failure | Next Failure | Top of Page ]

Failure messages were:
(multiline == true) '123\n456'.match(/^4../) = null FAILED! expected: 456
@@ -257,8 +246,8 @@ Failure messages were:
(multiline == true) 'a11\na22\na23\na24'.match(/a..$/g) = a24 FAILED! expected: a11,a22,a23,a24
(multiline == true) 'a11\na22\na23\na24'.match(new RegExp('a..$','g')) = a24 FAILED! expected: a11,a22,a23,a24

-
Testcase js1_2/regexp/RegExp_multiline_as_array.js failed
- [ Previous Failure | Next Failure | Top of Page ]
+
Testcase js1_2/regexp/RegExp_multiline_as_array.js failed
+ [ Previous Failure | Next Failure | Top of Page ]

Failure messages were:
(['$*'] == true) '123\n456'.match(/^4../) = null FAILED! expected: 456
@@ -267,20 +256,20 @@ Failure messages were:
(['$*'] == true) 'a11\na22\na23\na24'.match(/a..$/g) = a24 FAILED! expected: a11,a22,a23,a24
(['$*'] == true) 'a11\na22\na23\na24'.match(new RegExp('a..$','g')) = a24 FAILED! expected: a11,a22,a23,a24

-
Testcase js1_2/regexp/beginLine.js failed
- [ Previous Failure | Next Failure | Top of Page ]
+
Testcase js1_2/regexp/beginLine.js failed
+ [ Previous Failure | Next Failure | Top of Page ]

Failure messages were:
123xyz'.match(new RegExp('^\d+')) = null FAILED! expected: 123

-
Testcase js1_2/regexp/endLine.js failed
- [ Previous Failure | Next Failure | Top of Page ]
+
Testcase js1_2/regexp/endLine.js failed
+ [ Previous Failure | Next Failure | Top of Page ]

Failure messages were:
xyz'.match(new RegExp('\d+$')) = null FAILED! expected: 890

-
Testcase js1_2/regexp/string_split.js failed
- [ Previous Failure | Next Failure | Top of Page ]
+
Testcase js1_2/regexp/string_split.js failed
+ [ Previous Failure | Next Failure | Top of Page ]

Failure messages were:
'abc'.split(/[a-z]/) = ,,, FAILED! expected: ,,
@@ -288,22 +277,22 @@ Failure messages were:
'abc'.split(new RegExp('[a-z]')) = ,,, FAILED! expected: ,,
'abc'.split(new RegExp('[a-z]')) = ,,, FAILED! expected: ,,

-
Testcase js1_2/version120/boolean-001.js failed
- [ Previous Failure | Next Failure | Top of Page ]
+
Testcase js1_2/version120/boolean-001.js failed
+ [ Previous Failure | Next Failure | Top of Page ]

Failure messages were:
new Boolean(false) = true FAILED! expected: false

-
Testcase js1_2/version120/regress-99663.js failed
- [ Previous Failure | Next Failure | Top of Page ]
+
Testcase js1_2/version120/regress-99663.js failed
+ [ Previous Failure | Next Failure | Top of Page ]
STATUS: Regression test for Bugzilla bug 99663
Failure messages were:
Section 1 of test - got Error: Can't find variable: it FAILED! expected: a "read-only" error
Section 2 of test - got Error: Can't find variable: it FAILED! expected: a "read-only" error
Section 3 of test - got Error: Can't find variable: it FAILED! expected: a "read-only" error

-
Testcase js1_3/Script/function-001-n.js failed Bug Number 10278
- [ Previous Failure | Next Failure | Top of Page ]
+
Testcase js1_3/Script/function-001-n.js failed Bug Number 10278
+ [ Previous Failure | Next Failure | Top of Page ]
Expected exit code 3, got 0
Testcase terminated with signal 0
Complete testcase output was:
@@ -311,16 +300,15 @@ BUGNUMBER: 10278
function-001.js functions not separated by semicolons are errors in version 120 and higher
eval("function f(){}function g(){}") = undefined FAILED! expected: error

-
Testcase js1_3/Script/script-001.js failed
- [ Previous Failure | Next Failure | Top of Page ]
+
Testcase js1_3/Script/script-001.js failed
+ [ Previous Failure | Next Failure | Top of Page ]
Expected exit code 0, got 3
Testcase terminated with signal 0
Complete testcase output was:
script-001 NativeScript
-[82375] ./js1_3/Script/script-001.js line 133: ReferenceError: Can't find variable: Script

-
Testcase js1_3/regress/function-001-n.js failed Bug Number 10278
- [ Previous Failure | Next Failure | Top of Page ]
+
Testcase js1_3/regress/function-001-n.js failed Bug Number 10278
+ [ Previous Failure | Next Failure | Top of Page ]
Expected exit code 3, got 0
Testcase terminated with signal 0
Complete testcase output was:
@@ -328,106 +316,90 @@ BUGNUMBER: 10278
function-001.js functions not separated by semicolons are errors in version 120 and higher
eval("function f(){}function g(){}") = undefined FAILED! expected: error

-
Testcase js1_5/Exceptions/catchguard-001.js failed
+
Testcase js1_5/Exceptions/catchguard-001.js failed
+ [ Previous Failure | Next Failure | Top of Page ]
+Expected exit code 0, got 3
+Testcase terminated with signal 0
+Complete testcase output was:
+Testcase produced no output!

+
Testcase js1_5/Exceptions/catchguard-002.js failed
[ Previous Failure | Next Failure | Top of Page ]
Expected exit code 0, got 3
Testcase terminated with signal 0
Complete testcase output was:
Testcase produced no output!

-
Testcase js1_5/Exceptions/catchguard-002.js failed
+
Testcase js1_5/Exceptions/catchguard-003.js failed
[ Previous Failure | Next Failure | Top of Page ]
Expected exit code 0, got 3
Testcase terminated with signal 0
Complete testcase output was:
Testcase produced no output!

-
Testcase js1_5/Exceptions/catchguard-003.js failed
+
Testcase js1_5/Exceptions/errstack-001.js failed
[ Previous Failure | Next Failure | Top of Page ]
Expected exit code 0, got 3
Testcase terminated with signal 0
Complete testcase output was:
Testcase produced no output!

-
Testcase js1_5/Exceptions/errstack-001.js failed
+
Testcase js1_5/Exceptions/regress-50447.js failed Bug Number 50447
[ Previous Failure | Next Failure | Top of Page ]
Expected exit code 0, got 3
Testcase terminated with signal 0
Complete testcase output was:
-[82420] ./js1_5/Exceptions/errstack-001.js line 247: TypeError: Undefined value
+BUGNUMBER: 50447
+STATUS: Test (non-ECMA) Error object properties fileName, lineNumber

-
Testcase js1_5/Exceptions/regress-50447.js failed Bug Number 50447
+
Testcase js1_5/GetSet/getset-001.js failed
[ Previous Failure | Next Failure | Top of Page ]
Expected exit code 0, got 3
Testcase terminated with signal 0
Complete testcase output was:
-BUGNUMBER: 50447
-STATUS: Test (non-ECMA) Error object properties fileName, lineNumber
-[82421] ./js1_5/Exceptions/regress-50447.js line 65: TypeError: Undefined value
-

-
Testcase js1_5/GetSet/getset-001.js failed
+Testcase produced no output!
+
Testcase js1_5/GetSet/getset-002.js failed
[ Previous Failure | Next Failure | Top of Page ]
Expected exit code 0, got 3
Testcase terminated with signal 0
Complete testcase output was:
Testcase produced no output!

-
Testcase js1_5/GetSet/getset-002.js failed
+
Testcase js1_5/GetSet/getset-003.js failed
[ Previous Failure | Next Failure | Top of Page ]
Expected exit code 0, got 3
Testcase terminated with signal 0
Complete testcase output was:
Testcase produced no output!

-
Testcase js1_5/GetSet/getset-003.js failed
+
Testcase js1_5/Object/regress-90596-001.js failed
[ Previous Failure | Next Failure | Top of Page ]
Expected exit code 0, got 3
Testcase terminated with signal 0
Complete testcase output was:
Testcase produced no output!

-
Testcase js1_5/Object/regress-90596-001.js failed
+
Testcase js1_5/Object/regress-90596-002.js failed
[ Previous Failure | Next Failure | Top of Page ]
Expected exit code 0, got 3
Testcase terminated with signal 0
Complete testcase output was:
-[82436] ./js1_5/Object/regress-90596-001.js line 48: TypeError: Value undefined (result of expression obj.toSource) is not object.
-

-
Testcase js1_5/Object/regress-90596-002.js failed
+Testcase produced no output!
+
Testcase js1_5/Object/regress-96284-001.js failed
[ Previous Failure | Next Failure | Top of Page ]
Expected exit code 0, got 3
Testcase terminated with signal 0
Complete testcase output was:
-[82437] ./js1_5/Object/regress-90596-002.js line 48: ReferenceError: Can't find variable: uneval
-

-
Testcase js1_5/Object/regress-96284-001.js failed
+Testcase produced no output!
+
Testcase js1_5/Object/regress-96284-002.js failed
[ Previous Failure | Next Failure | Top of Page ]
Expected exit code 0, got 3
Testcase terminated with signal 0
Complete testcase output was:
-[82439] ./js1_5/Object/regress-96284-001.js line 49: TypeError: Value undefined (result of expression obj1.toSource) is not object.
-

-
Testcase js1_5/Object/regress-96284-002.js failed
+Testcase produced no output!
+
Testcase js1_5/Regress/regress-44009.js failed Bug Number 44009
[ Previous Failure | Next Failure | Top of Page ]
Expected exit code 0, got 3
Testcase terminated with signal 0
Complete testcase output was:
-[82440] ./js1_5/Object/regress-96284-002.js line 49: ReferenceError: Can't find variable: uneval
-

-
Testcase js1_5/Regress/regress-44009.js failed Bug Number 44009
- [ Previous Failure | Next Failure | Top of Page ]
-Expected exit code 0, got 3
-Testcase terminated with signal 0
-Complete testcase output was:
BUGNUMBER: 44009
STATUS: Testing that we don't crash on obj.toSource()
-[82445] ./js1_5/Regress/regress-44009.js line 60: TypeError: Value undefined (result of expression obj.toSource) is not object.

-
Testcase js1_5/Regress/regress-68498-003.js failed Bug Number 68498
- [ Previous Failure | Next Failure | Top of Page ]
-STATUS: Testing calling obj.eval(str)
-Failure messages were:
-FAILED!: [reported from test()] Testing calling obj.eval(str); currently at expect[1] within test -
-FAILED!: [reported from test()] Type mismatch, expected type number, actual type boolean
-FAILED!: [reported from test()] Expected value '43', Actual value 'false'
-FAILED!: [reported from test()]
-

-
Testcase js1_5/Regress/regress-103602.js failed Bug Number 103602
- [ Previous Failure | Next Failure | Top of Page ]
+
Testcase js1_5/Regress/regress-103602.js failed Bug Number 103602
+ [ Previous Failure | Next Failure | Top of Page ]
STATUS: Reassignment to a const is NOT an error per ECMA
Failure messages were:
FAILED!: [reported from test()] Section 1 of test -
@@ -437,28 +409,26 @@ FAILED!: [reported from test()] Section 3 of test -
FAILED!: [reported from test()] Expected value '1', Actual value '2'
FAILED!: [reported from test()]

-
Testcase js1_5/Regress/regress-104077.js failed
- [ Previous Failure | Next Failure | Top of Page ]
+
Testcase js1_5/Regress/regress-104077.js failed
+ [ Previous Failure | Next Failure | Top of Page ]
Expected exit code 0, got 3
Testcase terminated with signal 0
Complete testcase output was:
Testcase produced no output!

-
Testcase js1_5/Regress/regress-127557.js failed
- [ Previous Failure | Next Failure | Top of Page ]
+
Testcase js1_5/Regress/regress-127557.js failed
+ [ Previous Failure | Next Failure | Top of Page ]
Expected exit code 0, got 3
Testcase terminated with signal 0
Complete testcase output was:
-[82471] ./js1_5/Regress/regress-127557.js line 75: ReferenceError: Can't find variable: clone
-

-
Testcase js1_5/Regress/regress-172699.js failed
- [ Previous Failure | Next Failure | Top of Page ]
+Testcase produced no output!
+
Testcase js1_5/Regress/regress-172699.js failed
+ [ Previous Failure | Next Failure | Top of Page ]
Expected exit code 0, got 3
Testcase terminated with signal 0
Complete testcase output was:
-[82481] ./js1_5/Regress/regress-172699.js line 61: URIError: URI error
-

-
Testcase js1_5/Regress/regress-179524.js failed Bug Number 179524
- [ Previous Failure | Next Failure | Top of Page ]
+Testcase produced no output!
+
Testcase js1_5/Regress/regress-179524.js failed Bug Number 179524
+ [ Previous Failure | Next Failure | Top of Page ]
STATUS: Don't crash on extraneous arguments to str.match(), etc.
Failure messages were:
FAILED!: [reported from test()] Section 14 of test -
@@ -508,15 +478,14 @@ FAILED!: [reported from test()] Section 36 of test -
FAILED!: [reported from test()] Expected value 'SHOULD HAVE FALLEN INTO CATCH-BLOCK!', Actual value 'ABC Zbc'
FAILED!: [reported from test()]

-
Testcase js1_5/Scope/regress-220584.js failed
- [ Previous Failure | Next Failure | Top of Page ]
+
Testcase js1_5/Scope/regress-220584.js failed
+ [ Previous Failure | Next Failure | Top of Page ]
Expected exit code 0, got 3
Testcase terminated with signal 0
Complete testcase output was:
-[82506] ./js1_5/Scope/regress-220584.js line 56: ReferenceError: Can't find variable: Script
-

-
Testcase js1_5/Scope/scope-001.js failed Bug Number 53268
- [ Previous Failure | Next Failure | Top of Page ]
+Testcase produced no output!
+
Testcase js1_5/Scope/scope-001.js failed Bug Number 53268
+ [ Previous Failure | Next Failure | Top of Page ]
STATUS: Testing scope after changing obj.__proto__
Failure messages were:
FAILED!: [reported from test()] Step 1: setting obj.__proto__ = global object
@@ -527,8 +496,8 @@ FAILED!: [reported from test()] Type mismatch, expected type undefined, actual t FAILED!: [reported from test()] Expected value 'undefined', Actual value '1'
FAILED!: [reported from test()]

-
Testcase js1_6/Regress/regress-301574.js failed Bug Number 301574
- [ Previous Failure | Next Failure | Top of Page ]
+
Testcase js1_6/Regress/regress-301574.js failed Bug Number 301574
+ [ Previous Failure | Next Failure | Top of Page ]
STATUS: E4X should be enabled even when e4x=1 not specified
Failure messages were:
FAILED!: E4X should be enabled even when e4x=1 not specified: XML()
@@ -538,27 +507,26 @@ FAILED!: E4X should be enabled even when e4x=1 not specified: XMLList()
FAILED!: Expected value 'No error', Actual value 'error: ReferenceError: Can't find variable: XML'
FAILED!:

-
Testcase js1_6/Regress/regress-309242.js failed
- [ Previous Failure | Next Failure | Top of Page ]
+
Testcase js1_6/Regress/regress-309242.js failed
+ [ Previous Failure | Next Failure | Top of Page ]
Expected exit code 0, got 3
Testcase terminated with signal 0
Complete testcase output was:
Testcase produced no output!

-
Testcase js1_6/Regress/regress-314887.js failed
- [ Previous Failure | Next Failure | Top of Page ]
+
Testcase js1_6/Regress/regress-314887.js failed
+ [ Previous Failure | Next Failure | Top of Page ]
Expected exit code 0, got 3
Testcase terminated with signal 0
Complete testcase output was:
Testcase produced no output!

-
Testcase js1_6/String/regress-306591.js failed Bug Number 306591
- [ Previous Failure | Next Failure | Top of Page ]
+
Testcase js1_6/String/regress-306591.js failed Bug Number 306591
+ [ Previous Failure | Next Failure | Top of Page ]
Expected exit code 0, got 3
Testcase terminated with signal 0
Complete testcase output was:
BUGNUMBER: 306591
STATUS: String static methods
STATUS: See https://bugzilla.mozilla.org/show_bug.cgi?id=304828
-[82528] ./js1_6/String/regress-306591.js line 48: TypeError: Value undefined (result of expression String.split) is not object.

[ Top of Page | Top of Failures ]
@@ -566,9 +534,9 @@ STATUS: See https://bugzilla.mozilla.org/show_bug.cgi?id=304828
 
 

Retest List


-# Retest List, kjs, generated Thu Jan 3 00:46:35 2008. +# Retest List, squirrelfish, generated Thu Sep 18 02:24:54 2008. # Original test base was: All tests. -# 1127 of 1135 test(s) were completed, 52 failures reported. +# 1127 of 1135 test(s) were completed, 50 failures reported. ecma/TypeConversion/9.3.1-3.js ecma_2/Exceptions/function-001.js ecma_3/Date/15.9.5.7.js @@ -578,7 +546,6 @@ ecma_3/RegExp/perlstress-001.js ecma_3/RegExp/regress-209919.js ecma_3/Statements/regress-194364.js ecma_3/Unicode/uc-001.js -ecma_3/Unicode/uc-002.js js1_2/Objects/toString-001.js js1_2/function/Function_object.js js1_2/function/function-001-n.js @@ -609,7 +576,6 @@ js1_5/Object/regress-90596-002.js js1_5/Object/regress-96284-001.js js1_5/Object/regress-96284-002.js js1_5/Regress/regress-44009.js -js1_5/Regress/regress-68498-003.js js1_5/Regress/regress-103602.js js1_5/Regress/regress-104077.js js1_5/Regress/regress-127557.js @@ -620,4 +586,4 @@ js1_5/Scope/scope-001.js js1_6/Regress/regress-301574.js js1_6/Regress/regress-309242.js js1_6/Regress/regress-314887.js -js1_6/String/regress-306591.js \ No newline at end of file +js1_6/String/regress-306591.js diff --git a/JavaScriptCore/tests/mozilla/js1_2/Array/tostring_1.js b/JavaScriptCore/tests/mozilla/js1_2/Array/tostring_1.js index 453d8ab..b74228e 100644 --- a/JavaScriptCore/tests/mozilla/js1_2/Array/tostring_1.js +++ b/JavaScriptCore/tests/mozilla/js1_2/Array/tostring_1.js @@ -45,7 +45,7 @@ /* This test assumes that if version() exists, it can set the JavaScript * interpreter to an arbitrary version. To prevent unhandled exceptions in - * other tests, testkjs implements version() as a stub function, but + * other tests, jsc implements version() as a stub function, but * JavaScriptCore doesn't support setting the JavaScript engine's version. * Commenting out the following lines forces the test to expect JavaScript diff --git a/JavaScriptCore/tests/mozilla/js1_2/Array/tostring_2.js b/JavaScriptCore/tests/mozilla/js1_2/Array/tostring_2.js index ae9542b..5ed7425 100644 --- a/JavaScriptCore/tests/mozilla/js1_2/Array/tostring_2.js +++ b/JavaScriptCore/tests/mozilla/js1_2/Array/tostring_2.js @@ -44,7 +44,7 @@ /* This test assumes that if version() exists, it can set the JavaScript * interpreter to an arbitrary version. To prevent unhandled exceptions in - * other tests, testkjs implements version() as a stub function, but + * other tests, jsc implements version() as a stub function, but * JavaScriptCore doesn't support setting the JavaScript engine's version. * Commenting out the following lines forces the test to expect JavaScript diff --git a/JavaScriptCore/tests/mozilla/js1_6/README b/JavaScriptCore/tests/mozilla/js1_6/README new file mode 100644 index 0000000..7a3c7a0 --- /dev/null +++ b/JavaScriptCore/tests/mozilla/js1_6/README @@ -0,0 +1 @@ +JavaScript 1.6 diff --git a/JavaScriptCore/tests/mozilla/jsDriver.pl b/JavaScriptCore/tests/mozilla/jsDriver.pl index edf5aa1..d1c18ce 100644 --- a/JavaScriptCore/tests/mozilla/jsDriver.pl +++ b/JavaScriptCore/tests/mozilla/jsDriver.pl @@ -64,9 +64,10 @@ my $opt_bug_url = "http://bugzilla.mozilla.org/show_bug.cgi?id="; my $opt_console_failures = 0; my $opt_lxr_url = "./"; # "http://lxr.mozilla.org/mozilla/source/js/tests/"; my $opt_exit_munge = ($os_type ne "MAC") ? 1 : 0; +my $opt_arch= ""; # command line option definition -my $options = "b=s bugurl>b c=s classpath>c e=s engine>e f=s file>f " . +my $options = "a=s arch>a b=s bugurl>b c=s classpath>c e=s engine>e f=s file>f " . "h help>h i j=s javapath>j k confail>k l=s list>l L=s neglist>L " . "o=s opt>o p=s testpath>p s=s shellpath>s t trace>t u=s lxrurl>u " . "x noexitmunge>x"; @@ -173,7 +174,9 @@ sub execute_tests { # (only check for their existance if the suite or test_dir has changed # since the last time we looked.) if ($last_suite ne $suite || $last_test_dir ne $test_dir) { - $shell_command = &xp_path($engine_command); + $shell_command = $opt_arch . " "; + + $shell_command .= &xp_path($engine_command) . " -s "; $path = &xp_path($opt_suite_path . $suite . "/shell.js"); if (-f $path) { @@ -191,7 +194,8 @@ sub execute_tests { } $path = &xp_path($opt_suite_path . $test); - &status ("executing: " . $shell_command . $file_param . $path); + + print ($shell_command . $file_param . $path . "\n"); &dd ("executing: " . $shell_command . $file_param . $path); open (OUTPUT, $shell_command . $file_param . $path . @@ -373,7 +377,12 @@ sub parse_args { while (($option, $value) = nextOption()) { - if ($option eq "b") { + if ($option eq "a") { + &dd ("opt: running with architecture $value."); + $value =~ s/^ //; + $opt_arch = "arch -$value"; + + } elsif ($option eq "b") { &dd ("opt: setting bugurl to '$value'."); $opt_bug_url = $value; @@ -475,12 +484,13 @@ sub parse_args { sub usage { print STDERR ("\nusage: $0 [] \n" . + "(-a|--arch) run with a specific architecture on mac\n" . "(-b|--bugurl) Bugzilla URL.\n" . " (default is $opt_bug_url)\n" . "(-c|--classpath) Classpath (Rhino only.)\n" . "(-e|--engine) ... Specify the type of engine(s) to test.\n" . " is one or more of\n" . - " (kjs|smopt|smdebug|lcopt|lcdebug|xpcshell|" . + " (squirrelfish|smopt|smdebug|lcopt|lcdebug|xpcshell|" . "rhino|rhinoi|rhinoms|rhinomsi|rhino9|rhinoms9).\n" . "(-f|--file) Redirect output to file named .\n" . " (default is " . @@ -553,10 +563,9 @@ sub get_engine_command { } elsif ($opt_engine_type =~ /^ep(opt|debug)$/) { &dd ("getting epimetheus engine command."); $retval = &get_ep_engine_command; - } elsif ($opt_engine_type eq "kjs") { - &dd ("getting kjs engine command."); - $retval = &get_kjs_engine_command; - + } elsif ($opt_engine_type eq "squirrelfish") { + &dd ("getting squirrelfish engine command."); + $retval = &get_squirrelfish_engine_command; } else { die ("Unknown engine type selected, '$opt_engine_type'.\n"); } @@ -633,15 +642,18 @@ sub get_xpc_engine_command { } # -# get the shell command used to run kjs +# get the shell command used to run squirrelfish # -sub get_kjs_engine_command { +sub get_squirrelfish_engine_command { my $retval; if ($opt_shell_path) { - $retval = $opt_shell_path; + # FIXME: Quoting the path this way won't work with paths with quotes in + # them. A better fix would be to use the multi-parameter version of + # open(), but that doesn't work on ActiveState Perl. + $retval = "\"" . $opt_shell_path . "\""; } else { - die "Please specify a full path to the kjs testing engine"; + die "Please specify a full path to the squirrelfish testing engine"; } return $retval; -- cgit v1.1