зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1280362 - Remove the pointless stopTest function from shell.js. r=arai
--HG-- extra : rebase_source : 71a9d20474545b139d548d05751db5cc6d27ca8e
This commit is contained in:
Родитель
437dd1b555
Коммит
6d66d5c376
|
@ -68,7 +68,6 @@ function test() {
|
|||
|
||||
gTestcases[gTc].reason += ( gTestcases[gTc].passed ) ? "" : "wrong value ";
|
||||
}
|
||||
stopTest();
|
||||
return ( gTestcases );
|
||||
}
|
||||
|
||||
|
|
|
@ -66,6 +66,5 @@ function test() {
|
|||
|
||||
gTestcases[gTc].reason += ( gTestcases[gTc].passed ) ? "" : "wrong value ";
|
||||
}
|
||||
stopTest();
|
||||
return ( gTestcases );
|
||||
}
|
||||
|
|
|
@ -70,7 +70,6 @@ function test() {
|
|||
|
||||
gTestcases[gTc].reason += ( gTestcases[gTc].passed ) ? "" : "wrong value ";
|
||||
}
|
||||
stopTest();
|
||||
return ( gTestcases );
|
||||
}
|
||||
|
||||
|
|
|
@ -68,7 +68,6 @@ function test() {
|
|||
|
||||
gTestcases[gTc].reason += ( gTestcases[gTc].passed ) ? "" : "wrong value ";
|
||||
}
|
||||
stopTest();
|
||||
return ( gTestcases );
|
||||
}
|
||||
|
||||
|
|
|
@ -70,7 +70,6 @@ function test() {
|
|||
|
||||
gTestcases[gTc].reason += ( gTestcases[gTc].passed ) ? "" : "wrong value ";
|
||||
}
|
||||
stopTest();
|
||||
return ( gTestcases );
|
||||
}
|
||||
|
||||
|
|
|
@ -70,7 +70,6 @@ function test() {
|
|||
|
||||
gTestcases[gTc].reason += ( gTestcases[gTc].passed ) ? "" : "wrong value ";
|
||||
}
|
||||
stopTest();
|
||||
return ( gTestcases );
|
||||
}
|
||||
function MyObject() {
|
||||
|
|
|
@ -69,7 +69,6 @@ function test() {
|
|||
|
||||
gTestcases[gTc].reason += ( gTestcases[gTc].passed ) ? "" : "wrong value ";
|
||||
}
|
||||
stopTest();
|
||||
return ( gTestcases );
|
||||
}
|
||||
|
||||
|
|
|
@ -70,7 +70,6 @@ function test() {
|
|||
|
||||
gTestcases[gTc].reason += ( gTestcases[gTc].passed ) ? "" : "wrong value ";
|
||||
}
|
||||
stopTest();
|
||||
return ( gTestcases );
|
||||
}
|
||||
|
||||
|
|
|
@ -91,6 +91,5 @@ function test() {
|
|||
|
||||
gTestcases[gTc].reason += ( gTestcases[gTc].passed ) ? "" : "wrong value ";
|
||||
}
|
||||
stopTest();
|
||||
return ( gTestcases );
|
||||
}
|
||||
|
|
|
@ -53,6 +53,5 @@ function test() {
|
|||
|
||||
gTestcases[gTc].reason += ( gTestcases[gTc].passed ) ? "" : " ignored chars after line terminator of single-line comment";
|
||||
}
|
||||
stopTest();
|
||||
return ( gTestcases );
|
||||
}
|
||||
|
|
|
@ -68,7 +68,6 @@ function test() {
|
|||
|
||||
gTestcases[gTc].reason += ( gTestcases[gTc].passed ) ? "" : "wrong value ";
|
||||
}
|
||||
stopTest();
|
||||
return ( gTestcases );
|
||||
}
|
||||
function MyObject( n ) {
|
||||
|
|
|
@ -806,7 +806,6 @@ function test() {
|
|||
print('test(): empty testcase for gTc = ' + gTc + ' ' + e);
|
||||
}
|
||||
}
|
||||
stopTest();
|
||||
return ( gTestcases );
|
||||
}
|
||||
|
||||
|
@ -832,18 +831,6 @@ function writeHeaderToLog( string ) {
|
|||
/* end of print functions */
|
||||
|
||||
|
||||
/*
|
||||
* When running in the shell, run the garbage collector after the
|
||||
* test has completed.
|
||||
*/
|
||||
|
||||
function stopTest() {
|
||||
var gc;
|
||||
if ( gc != undefined ) {
|
||||
gc();
|
||||
}
|
||||
}
|
||||
|
||||
function jsTestDriverEnd()
|
||||
{
|
||||
// gDelayTestDriverEnd is used to
|
||||
|
|
Загрузка…
Ссылка в новой задаче