Bug 602727 - Split HTML5 tree builder tests into two mochitests to avoid timeouts on slow computers. r=jgriffin, a=test-only.
authorHenri Sivonen <hsivonen@iki.fi>
Fri, 15 Oct 2010 12:23:42 +0300
changeset 56082 c9df0c5cbf8c70d22f1940011768c46c355a614f
parent 56081 8d53ea71793e01f61f95974ce28c0666311bb9b4
child 56083 84abb3a647d9f002167383929b5829cd95c262fc
push id16399
push userhsivonen@iki.fi
push dateTue, 19 Oct 2010 09:29:27 +0000
treeherdermozilla-central@c9df0c5cbf8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjgriffin, test-only
bugs602727
milestone2.0b8pre
first release with
nightly linux32
c9df0c5cbf8c / 4.0b8pre / 20101019030608 / files
nightly linux64
c9df0c5cbf8c / 4.0b8pre / 20101019030703 / files
nightly mac
c9df0c5cbf8c / 4.0b8pre / 20101019030725 / files
nightly win32
c9df0c5cbf8c / 4.0b8pre / 20101019041714 / files
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
Bug 602727 - Split HTML5 tree builder tests into two mochitests to avoid timeouts on slow computers. r=jgriffin, a=test-only.
parser/htmlparser/tests/mochitest/Makefile.in
parser/htmlparser/tests/mochitest/test_html5_tree_construction.html
parser/htmlparser/tests/mochitest/test_html5_tree_construction_part2.html
--- a/parser/htmlparser/tests/mochitest/Makefile.in
+++ b/parser/htmlparser/tests/mochitest/Makefile.in
@@ -49,16 +49,17 @@ DIRS = \
 		$(NULL)
 
 include $(topsrcdir)/config/rules.mk
 
 _TEST_FILES =	parser_datreader.js \
 		parser_web_testrunner.js \
 		html5_tree_construction_exceptions.js \
 		test_html5_tree_construction.html \
+		test_html5_tree_construction_part2.html \
 		test_bug174351.html \
 	 	test_bug339350.xhtml \
 		test_bug358797.html \
 		test_bug396568.html \
 		test_bug418464.html \
 		test_bug460437.xhtml \
 		test_bug502091.html \
 		bug_502091_iframe.html \
--- a/parser/htmlparser/tests/mochitest/test_html5_tree_construction.html
+++ b/parser/htmlparser/tests/mochitest/test_html5_tree_construction.html
@@ -32,35 +32,17 @@ https://bugzilla.mozilla.org/show_bug.cg
                          "scripted/webkit01.dat",
                          "scriptdata01.dat",
                          "tables01.dat",
                          "tests10.dat",
                          "tests11.dat",
                          "tests12.dat",
                          "tests14.dat",
                          "tests15.dat",
-                         "tests16.dat",
-                         "tests17.dat",
-                         "tests18.dat",
-                         "tests19.dat",
-                         "tests1.dat",
-                         "tests20.dat",
-                         "tests21.dat",
-                         "tests2.dat",
-                         "tests3.dat",
-                         "tests4.dat",
-                         "tests5.dat",
-                         "tests6.dat",
-                         "tests7.dat",
-                         "tests8.dat",
-                         "tests9.dat",
-                         "tests_innerHTML_1.dat",
-                         "tricky01.dat",
-                         "webkit01.dat",
-                         "webkit02.dat"];
+                         "tests16.dat"];
 
   </script>
   <script type="application/javascript;version=1.7"
           src="parser_web_testrunner.js"></script>
 </head>
 <body>
 <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=366936"
    target="_blank">Mozilla Bug 366936</a>
copy from parser/htmlparser/tests/mochitest/test_html5_tree_construction.html
copy to parser/htmlparser/tests/mochitest/test_html5_tree_construction_part2.html
--- a/parser/htmlparser/tests/mochitest/test_html5_tree_construction.html
+++ b/parser/htmlparser/tests/mochitest/test_html5_tree_construction_part2.html
@@ -11,39 +11,17 @@ https://bugzilla.mozilla.org/show_bug.cg
 	  src="/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" 
         href="/tests/SimpleTest/test.css" /> 
   <script type="application/javascript;version=1.7"
           src="parser_datreader.js"></script>
   <script type="application/javascript"
           src="html5_tree_construction_exceptions.js"></script>
   <script class="testbody" type="application/javascript;version=1.7">
-   var parserDatFiles = ["adoption01.dat",
-                         "adoption02.dat",
-                         "comments01.dat",
-                         "doctype01.dat",
-                         "entities01.dat",
-                         "entities02.dat",
-                         "html5test-com.dat",
-                         "inbody01.dat",
-                         "isindex.dat",
-                         "pending-spec-changes.dat",
-                         "pending-spec-changes-plain-text-unsafe.dat",
-                         "plain-text-unsafe.dat",
-                         "scripted/adoption01.dat",
-                         "scripted/webkit01.dat",
-                         "scriptdata01.dat",
-                         "tables01.dat",
-                         "tests10.dat",
-                         "tests11.dat",
-                         "tests12.dat",
-                         "tests14.dat",
-                         "tests15.dat",
-                         "tests16.dat",
-                         "tests17.dat",
+   var parserDatFiles = ["tests17.dat",
                          "tests18.dat",
                          "tests19.dat",
                          "tests1.dat",
                          "tests20.dat",
                          "tests21.dat",
                          "tests2.dat",
                          "tests3.dat",
                          "tests4.dat",