move summarization to the end, so I can see it through the debug spew

This commit is contained in:
shaver@mozilla.org 2008-07-20 16:17:58 -04:00
parent bddc445991
commit 62dccff8dd

View File

@ -261,11 +261,6 @@ function testif() {
}
test("testif", testif(), "0");
if (passes.length)
print("pass:", passes.join(","));
if (fails.length)
print("FAIL:", fails.join(","));
function testincops(n) {
var i = 0, o = {p:0}, a = [0];
@ -291,3 +286,7 @@ return ++o.p;
*/
}
test("testincops", testincops(100), 0);
/* Keep these at the end so that we can see the summary after the trace-debug spew. */
print("pass:", passes.length ? passes.join(",") : "<none>");
print("FAIL:", fails.length ? fails.join(",") : "<none>");