bug 352026 - update test to uniquely identify subtest results.

This commit is contained in:
Bob Clary 2009-01-14 07:16:18 -08:00
Родитель 939a091010
Коммит 12d1673629
2 изменённых файлов: 5 добавлений и 10 удалений

Просмотреть файл

@ -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');
}

Просмотреть файл

@ -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 ) ) ; } '