Fix broken test runner
authorAryeh Gregor <ayg@aryeh.name>
Thu, 22 Mar 2012 12:47:49 -0600
changeset 715 98d33b30b6ab
parent 714 9b1189899718
child 716 ae1d76c1054e
Fix broken test runner
conformancetest/splitruntest.html
--- a/conformancetest/splitruntest.html	Mon Mar 12 13:35:59 2012 -0600
+++ b/conformancetest/splitruntest.html	Thu Mar 22 12:47:49 2012 -0600
@@ -33,13 +33,14 @@
 	var groupedBrowserTests = {};
 	for (var i = 0; i < browserTests.length; i++) {
 		var commands = browserTests[i][1];
-		if (commands.length == 2
-		&& commands[0][0] == "stylewithcss") {
+		if (commands.length == 3
+		&& commands[0][0] == "stylewithcss"
+		&& commands[1][0] == "defaultparagraphseparator") {
 			// Regular test, not a multitest
-			if (!(commands[1][0] in groupedBrowserTests)) {
-				groupedBrowserTests[commands[1][0]] = [];
+			if (!(commands[2][0] in groupedBrowserTests)) {
+				groupedBrowserTests[commands[2][0]] = [];
 			}
-			groupedBrowserTests[commands[1][0]].push(browserTests[i]);
+			groupedBrowserTests[commands[2][0]].push(browserTests[i]);
 		} else {
 			// Multitest
 			if (!("multitest" in groupedBrowserTests)) {