From 12d1673629c14760f778a7fa21cfc2d6f5a652e1 Mon Sep 17 00:00:00 2001 From: Bob Clary Date: Wed, 14 Jan 2009 07:16:18 -0800 Subject: [PATCH] bug 352026 - update test to uniquely identify subtest results. --- js/tests/js1_8_1/decompilation/regress-352026.js | 8 ++++---- js/tests/public-failures.txt | 7 +------ 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/js/tests/js1_8_1/decompilation/regress-352026.js b/js/tests/js1_8_1/decompilation/regress-352026.js index e3bedc144ebe..e62829dd3577 100644 --- a/js/tests/js1_8_1/decompilation/regress-352026.js +++ b/js/tests/js1_8_1/decompilation/regress-352026.js @@ -58,22 +58,22 @@ function test() f = function() { z((yield 3)) } expect = 'function() { z(yield 3); }'; actual = f + ''; - compareSource(expect, actual, summary); + compareSource(expect, actual, summary + ': 1'); f = function f(){g((let(a=b)c,d),e)} expect = 'function f(){g((let(a=b)c,d),e);}'; actual = f + ''; - compareSource(expect, actual, summary); + compareSource(expect, actual, summary + ': 2'); f = function() { let(s=4){foo:"bar"} } expect = 'function() { let(s=4){foo:"bar";} }'; actual = f + ''; - compareSource(expect, actual, summary); + compareSource(expect, actual, summary + ': 3'); f = function() { (let(s=4){foo:"bar"}) } expect = 'function() { let(s=4)({foo:"bar"}); }'; actual = f + ''; - compareSource(expect, actual, summary); + compareSource(expect, actual, summary + ': 4'); exitFunc ('test'); } diff --git a/js/tests/public-failures.txt b/js/tests/public-failures.txt index f647029904c1..c46efe3da3fe 100644 --- a/js/tests/public-failures.txt +++ b/js/tests/public-failures.txt @@ -756,9 +756,4 @@ TEST_ID=js1_8_1/String/regress-305064.js, TEST_BRANCH=1.9.2, TEST_REPO=.*, TEST_ TEST_ID=js1_8_1/String/regress-305064.js, TEST_BRANCH=1.9.2, TEST_REPO=.*, TEST_BUILDTYPE=.*, TEST_TYPE=.*, TEST_OS=.*, TEST_KERNEL=.*, TEST_PROCESSORTYPE=.*, TEST_MEMORY=.*, TEST_CPUSPEED=.*, TEST_TIMEZONE=.*, TEST_OPTIONS=.*, TEST_RESULT=FAILED, TEST_EXITSTATUS=NORMAL, TEST_DESCRIPTION=OGHAM SPACE MARK:"\u1680\u1680\u1680a\u1680\u1680\u1680".trimRight() reason: Expected value '\u1680\u1680\u1680a', Actual value '\u1680\u1680\u1680a\u1680\u1680\u1680' TEST_ID=js1_8_1/String/regress-305064.js, TEST_BRANCH=1.9.2, TEST_REPO=.*, TEST_BUILDTYPE=.*, TEST_TYPE=.*, TEST_OS=.*, TEST_KERNEL=.*, TEST_PROCESSORTYPE=.*, TEST_MEMORY=.*, TEST_CPUSPEED=.*, TEST_TIMEZONE=.*, TEST_OPTIONS=.*, TEST_RESULT=FAILED, TEST_EXITSTATUS=NORMAL, TEST_DESCRIPTION=OGHAM SPACE MARK:"a\u1680\u1680\u1680".trim() reason: Expected value 'a', Actual value 'a\u1680\u1680\u1680' TEST_ID=js1_8_1/String/regress-305064.js, TEST_BRANCH=1.9.2, TEST_REPO=.*, TEST_BUILDTYPE=.*, TEST_TYPE=.*, TEST_OS=.*, TEST_KERNEL=.*, TEST_PROCESSORTYPE=.*, TEST_MEMORY=.*, TEST_CPUSPEED=.*, TEST_TIMEZONE=.*, TEST_OPTIONS=.*, TEST_RESULT=FAILED, TEST_EXITSTATUS=NORMAL, TEST_DESCRIPTION=OGHAM SPACE MARK:"a\u1680\u1680\u1680".trimRight() reason: Expected value 'a', Actual value 'a\u1680\u1680\u1680' -TEST_ID=js1_8_1/decompilation/regress-352026.js, TEST_BRANCH=.*, TEST_REPO=tracemonkey, TEST_BUILDTYPE=.*, TEST_TYPE=.*, TEST_OS=darwin, TEST_KERNEL=.*, TEST_PROCESSORTYPE=.*, TEST_MEMORY=.*, TEST_CPUSPEED=.*, TEST_TIMEZONE=.*, TEST_OPTIONS=.*, TEST_RESULT=FAILED, TEST_EXITSTATUS=NORMAL, TEST_DESCRIPTION=decompilation of yield in argument lists reason: Expected value ' function ( ) { z ( yield 3 ) ; } ', Actual value ' function ( ) { z ( ( yield 3 ) ) ; } ' -TEST_ID=js1_8_1/decompilation/regress-352026.js, TEST_BRANCH=.*, TEST_REPO=tracemonkey, TEST_BUILDTYPE=.*, TEST_TYPE=.*, TEST_OS=linux, TEST_KERNEL=.*, TEST_PROCESSORTYPE=.*, TEST_MEMORY=.*, TEST_CPUSPEED=.*, TEST_TIMEZONE=.*, TEST_OPTIONS=.*, TEST_RESULT=FAILED, TEST_EXITSTATUS=NORMAL, TEST_DESCRIPTION=decompilation of yield in argument lists reason: Expected value ' function ( ) { z ( yield 3 ) ; } ', Actual value ' function ( ) { z ( ( yield 3 ) ) ; } ' -TEST_ID=js1_8_1/decompilation/regress-352026.js, TEST_BRANCH=.*, TEST_REPO=tracemonkey, TEST_BUILDTYPE=.*, TEST_TYPE=shell, TEST_OS=nt, TEST_KERNEL=.*, TEST_PROCESSORTYPE=.*, TEST_MEMORY=.*, TEST_CPUSPEED=.*, TEST_TIMEZONE=.*, TEST_OPTIONS=none, TEST_RESULT=FAILED, TEST_EXITSTATUS=NORMAL, TEST_DESCRIPTION=decompilation of yield in argument lists reason: Expected value ' function ( ) { z ( yield 3 ) ; } ', Actual value ' function ( ) { z ( ( yield 3 ) ) ; } ' -TEST_ID=js1_8_1/decompilation/regress-352026.js, TEST_BRANCH=.*, TEST_REPO=tracemonkey, TEST_BUILDTYPE=debug, TEST_TYPE=browser, TEST_OS=nt, TEST_KERNEL=.*, TEST_PROCESSORTYPE=.*, TEST_MEMORY=.*, TEST_CPUSPEED=medium, TEST_TIMEZONE=.*, TEST_OPTIONS=none, TEST_RESULT=FAILED, TEST_EXITSTATUS=NORMAL, TEST_DESCRIPTION=decompilation of yield in argument lists reason: Expected value ' function ( ) { z ( yield 3 ) ; } ', Actual value ' function ( ) { z ( ( yield 3 ) ) ; } ' -TEST_ID=js1_8_1/decompilation/regress-352026.js, TEST_BRANCH=.*, TEST_REPO=tracemonkey, TEST_BUILDTYPE=opt, TEST_TYPE=browser, TEST_OS=nt, TEST_KERNEL=.*, TEST_PROCESSORTYPE=.*, TEST_MEMORY=.*, TEST_CPUSPEED=fast, TEST_TIMEZONE=.*, TEST_OPTIONS=none, TEST_RESULT=FAILED, TEST_EXITSTATUS=NORMAL, TEST_DESCRIPTION=decompilation of yield in argument lists reason: Expected value ' function ( ) { z ( yield 3 ) ; } ', Actual value ' function ( ) { z ( ( yield 3 ) ) ; } ' -TEST_ID=js1_8_1/decompilation/regress-352026.js, TEST_BRANCH=.*, TEST_REPO=tracemonkey, TEST_BUILDTYPE=opt, TEST_TYPE=browser, TEST_OS=nt, TEST_KERNEL=.*, TEST_PROCESSORTYPE=.*, TEST_MEMORY=.*, TEST_CPUSPEED=medium, TEST_TIMEZONE=.*, TEST_OPTIONS=.*, TEST_RESULT=FAILED, TEST_EXITSTATUS=NORMAL, TEST_DESCRIPTION=decompilation of yield in argument lists reason: Expected value ' function ( ) { z ( yield 3 ) ; } ', Actual value ' function ( ) { z ( ( yield 3 ) ) ; } ' +TEST_ID=js1_8_1/decompilation/regress-352026.js, TEST_BRANCH=.*, TEST_REPO=tracemonkey, TEST_BUILDTYPE=.*, TEST_TYPE=.*, TEST_OS=.*, TEST_KERNEL=.*, TEST_PROCESSORTYPE=.*, TEST_MEMORY=.*, TEST_CPUSPEED=.*, TEST_TIMEZONE=.*, TEST_OPTIONS=.*, TEST_RESULT=FAILED, TEST_EXITSTATUS=NORMAL, TEST_DESCRIPTION=decompilation of yield in argument lists: 1 reason: Expected value ' function ( ) { z ( yield 3 ) ; } ', Actual value ' function ( ) { z ( ( yield 3 ) ) ; } '