Commit Graph

147 Commits

Author SHA1 Message Date
Vaibhav Agrawal
e30c97e57a Bug 1028226 - Clean up the code for manifest parsing. r=jmaher 2014-07-10 09:38:00 +02:00
Carsten "Tomcat" Book
f0569c8ad2 Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows 2014-07-11 14:15:29 +02:00
Ahmed Kachkach
c4872d76ea Bug 886570 - Initial integration of structured logs in mochitest. r=ahal,Ms2ger 2014-07-10 13:33:00 +02:00
Vaibhav Agrawal
b2d92da5f8 Bug 1036374 - Adding a binary search algorithm for bisection of failing tests. r=jmaher 2014-07-09 13:20:00 +02:00
Vaibhav Agrawal
8dd0e39442 Bug 1014125 - Bisection Base Patch. r=ahal 2014-07-04 13:55:00 +02:00
Vaibhav Agrawal
34b269b85c Bug 925699 - pymake/mach mochitest-plain don't delete the temporary profile. r=jmaher 2014-06-23 11:24:00 +02:00
Andrew McCreight
4061f7761e Bug 988041 - Enable LeakSanitizer for Mochitests. r=jmaher 2014-06-20 09:08:30 -07:00
Andrew Halberstadt
d638652838 Bug 997244 - Move emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin 2014-06-19 14:17:26 -04:00
Geoff Brown
7285ebc540 Bug 1026830 - Add LD_LIBRARY_PATH=xrePath when launching utilities; r=jmaher 2014-06-18 20:39:34 -06:00
Wes Kocher
0771859834 Backed out changeset 81a51de30a2a (bug 997244) for breaking b2g emulator mochitests on an otherwise CLOSED TREE 2014-06-18 14:15:48 -07:00
Andrew Halberstadt
0b14f45d59 Bug 997244 - Pull emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin 2014-06-18 13:30:12 -04:00
Armen Zambrano Gasparnian
9c5e561048 Bug 989583 - Set self.testRoot and self.testRootAbs in only one place (runtests.py). r=jmaher 2014-06-17 09:50:16 -04:00
Armen Zambrano Gasparnian
31244d9e09 Bug 989583 - Install all tests (even disabled) from manifests. r=jmaher 2014-06-16 14:51:22 -04:00
William Lachance
4b9480677f Bug 984528 - Rename manifestdestiny -> manifestparser. r=ahal
--HG--
rename : testing/mozbase/docs/manifestdestiny.rst => testing/mozbase/docs/manifestparser.rst
rename : testing/mozbase/manifestdestiny/manifestparser/__init__.py => testing/mozbase/manifestparser/manifestparser/__init__.py
rename : testing/mozbase/manifestdestiny/manifestparser/manifestparser.py => testing/mozbase/manifestparser/manifestparser/manifestparser.py
rename : testing/mozbase/manifestdestiny/setup.py => testing/mozbase/manifestparser/setup.py
rename : testing/mozbase/manifestdestiny/tests/comment-example.ini => testing/mozbase/manifestparser/tests/comment-example.ini
rename : testing/mozbase/manifestdestiny/tests/default-skipif.ini => testing/mozbase/manifestparser/tests/default-skipif.ini
rename : testing/mozbase/manifestdestiny/tests/filter-example.ini => testing/mozbase/manifestparser/tests/filter-example.ini
rename : testing/mozbase/manifestdestiny/tests/fleem => testing/mozbase/manifestparser/tests/fleem
rename : testing/mozbase/manifestdestiny/tests/include-example.ini => testing/mozbase/manifestparser/tests/include-example.ini
rename : testing/mozbase/manifestdestiny/tests/include/bar.ini => testing/mozbase/manifestparser/tests/include/bar.ini
rename : testing/mozbase/manifestdestiny/tests/include/crash-handling => testing/mozbase/manifestparser/tests/include/crash-handling
rename : testing/mozbase/manifestdestiny/tests/include/flowers => testing/mozbase/manifestparser/tests/include/flowers
rename : testing/mozbase/manifestdestiny/tests/include/foo.ini => testing/mozbase/manifestparser/tests/include/foo.ini
rename : testing/mozbase/manifestdestiny/tests/just-defaults.ini => testing/mozbase/manifestparser/tests/just-defaults.ini
rename : testing/mozbase/manifestdestiny/tests/manifest.ini => testing/mozbase/manifestparser/tests/manifest.ini
rename : testing/mozbase/manifestdestiny/tests/mozmill-example.ini => testing/mozbase/manifestparser/tests/mozmill-example.ini
rename : testing/mozbase/manifestdestiny/tests/mozmill-restart-example.ini => testing/mozbase/manifestparser/tests/mozmill-restart-example.ini
rename : testing/mozbase/manifestdestiny/tests/no-tests.ini => testing/mozbase/manifestparser/tests/no-tests.ini
rename : testing/mozbase/manifestdestiny/tests/path-example.ini => testing/mozbase/manifestparser/tests/path-example.ini
rename : testing/mozbase/manifestdestiny/tests/relative-path.ini => testing/mozbase/manifestparser/tests/relative-path.ini
rename : testing/mozbase/manifestdestiny/tests/test_convert_directory.py => testing/mozbase/manifestparser/tests/test_convert_directory.py
rename : testing/mozbase/manifestdestiny/tests/test_convert_symlinks.py => testing/mozbase/manifestparser/tests/test_convert_symlinks.py
rename : testing/mozbase/manifestdestiny/tests/test_default_skipif.py => testing/mozbase/manifestparser/tests/test_default_skipif.py
rename : testing/mozbase/manifestdestiny/tests/test_expressionparser.py => testing/mozbase/manifestparser/tests/test_expressionparser.py
rename : testing/mozbase/manifestdestiny/tests/test_manifestparser.py => testing/mozbase/manifestparser/tests/test_manifestparser.py
rename : testing/mozbase/manifestdestiny/tests/test_read_ini.py => testing/mozbase/manifestparser/tests/test_read_ini.py
rename : testing/mozbase/manifestdestiny/tests/test_testmanifest.py => testing/mozbase/manifestparser/tests/test_testmanifest.py
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/subdir/manifest.ini => testing/mozbase/manifestparser/tests/verifyDirectory/subdir/manifest.ini
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/subdir/test_sub.js => testing/mozbase/manifestparser/tests/verifyDirectory/subdir/test_sub.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/test_1.js => testing/mozbase/manifestparser/tests/verifyDirectory/test_1.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/test_2.js => testing/mozbase/manifestparser/tests/verifyDirectory/test_2.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/test_3.js => testing/mozbase/manifestparser/tests/verifyDirectory/test_3.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/verifyDirectory.ini => testing/mozbase/manifestparser/tests/verifyDirectory/verifyDirectory.ini
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/verifyDirectory_incomplete.ini => testing/mozbase/manifestparser/tests/verifyDirectory/verifyDirectory_incomplete.ini
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/verifyDirectory_toocomplete.ini => testing/mozbase/manifestparser/tests/verifyDirectory/verifyDirectory_toocomplete.ini
2014-06-10 13:20:23 -04:00
Joel Maher
15b2b6128b Bug 992911 - (run-by-dir) add the ability to run mochitests per directory in a loop. r=ahal 2014-06-03 11:19:28 -04:00
Carsten "Tomcat" Book
b24097f49a Backed out changeset 86d0bd2a0233 (bug 992911) for android 2.3 bustage 2014-06-02 13:36:51 +02:00
Joel Maher
5ba56a3264 Bug 992911 - (run-by-dir) add the ability to run mochitests per directory in a loop. r=ahal 2014-06-02 06:54:23 -04:00
Joel Maher
4a01fb5fe9 Bug 1014503 - running devtools tests via mochitest-browser gives unhelpful error message. r=ted 2014-05-30 08:17:05 -04:00
Andrew Halberstadt
f310c7b7a3 Bug 957768 - Backout no longer needed --hide-subtests mochitest option (bug 937181 implemented the same thing but better), r=jmaher 2014-05-09 14:59:18 -04:00
Ted Mielczarek
159f8c076d bug 815002 - allow using loopback devices in WebRTC mochitests on Linux when available. r=jsmith,jmaher 2014-05-01 07:18:00 -04:00
Martin Thomson
1239022073 Bug 907770 - Part 1: Making ssltunnel run for android and b2g mochitests. r=jmaher 2014-03-14 11:25:41 -07:00
Cameron McCormack
2e70ac08dd Bug 997598 - Don't strip leading white space from mochitest output lines when stack fixer is in use. r=wlach 2014-04-18 11:34:47 +10:00
Vaibhav Agrawal
a54b880f82 Bug 912243 - Mochitest shouldnt chdir in __init__. r=jmaher 2014-04-16 10:29:39 -04:00
Manish Goregaokar
2e994e98d3 Bug 991348 - Give the ability to take screnshots on all test failures. r=jmaher 2014-04-12 04:23:00 +02:00
Ms2ger
dc2f3e243f Backed out changeset c63d8f19a893 for failures in Android mochitests. 2014-04-12 12:00:37 +02:00
Manish Goregaokar
7c01a6661a Bug 991348 - Support taking screenshots on all test failures in mochitests; r=jmaher 2014-04-12 11:08:34 +02:00
Ryan VanderMeulen
3a4e00b797 Backed out changeset df3c1971ecdc (bug 984930) 2014-04-11 12:54:56 -04:00
Joel Maher
6ef8e7088a Bug 984930 - Create mochitest-dt [temporarily turn off --subsuite]. r=mratcliffe 2014-04-10 15:00:56 -04:00
Michael Ratcliffe
e7dad953b0 Bug 983948 - Add mach mochitest-devtools r=jmaher 2014-03-25 16:52:53 +00:00
Joel Maher
5cc0fe0bad backout d459cc1b5a94 for robocop failures (bug 912243) 2014-04-07 08:45:15 -04:00
Vaibhav Agrawal
e3e4a8663c Bug 912243 - Mochitest shouldnt chdir in __init__; r=jmaher 2014-04-07 06:46:29 -04:00
Bill McCloskey
f44f9436ac Bug 986163 - Fix webapprt tests (r=ted) 2014-03-28 15:50:28 -07:00
Nathan Froyd
ab21e84091 Bug 969437 - part 1 - introduce a --quiet option for mochitests; r=jmaher 2014-03-07 11:42:07 -05:00
Ryan VanderMeulen
4dc5242df5 Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Gregory Szorc
4d0939f8dc Bug 987398 - Part 1: Run mochitests from manifests with mach; r=ahal
The mochitest mach commands now consult the all-tests.json file for
resolving the test argument/path. The mochitest runner has been modified
to accept a manifestdestiny.TestManifest instance instead of a path to a
manifest file. The mach commands construct an in-memory TestManifest and
pass it to the mochitest runner.

While I was here, I cleaned up some old JSON serializing code.

--HG--
extra : rebase_source : 886b13d4cb35992c132bc3051925424609a5fdf8
2014-03-24 14:35:06 -07:00
Wes Kocher
0d58e41dd9 Merge fx-team to m-c 2014-03-25 20:03:13 -07:00
Gregory Szorc
465782db3b Bug 987372 - Try harder to stop child processes in mochitest runner; r=ahal
The mochitest runner could start a child process but not clean it up in
all cases. This patch ensures we always try to stop child processes
before exiting.

Ideally, things should probably be implemented as context managers or
the cleanup logic should live in a __del__. But, perfect is the enemy of
done. This simple approach appears to solve the problem in a manner that
isn't too invasive.

--HG--
extra : rebase_source : 685d23c31184808a12f9ee3571391381eda8c5fb
extra : amend_source : 780f36555cb94870dd063842aa226c27da8d95b0
2014-03-24 14:43:36 -07:00
Kevin Cox
89bcb7b19c Bug 958897 - ssltunnel lives if mochitest killed. r=jmaher
[PATCH] Made Mochitest.runApp() clean up after itself in case of exception
2014-03-23 10:20:32 -04:00
Vaibhav Agrawal
5d191ae6fd Bug 908945 - Fix automation.py's exit code handling; r=jmaher 2014-03-26 06:14:51 -04:00
Bill McCloskey
a6e3c52e36 Bug 938019 - Run mochitests from manifests (r=ted,gps) 2014-03-18 08:03:51 -07:00
Jan de Mooij
332dd47a4c Bug 977921 - Override ASan malloc_context_size to save memory. r=decoder
--HG--
extra : rebase_source : 500882c214de079c1d493e21a9ee91c3da743226
2014-02-28 16:33:25 +01:00
Bill McCloskey
ad8c727e10 Bug 960783 - Support "new out-of-process window" menu item in nightly (r=felipe,bsmedberg,trevor,ted) 2014-02-11 09:01:08 -08:00
Ehsan Akhgari
8e5a0410a9 Bug 957729 - Disable the slow script signal handler by default when running mochitests under a debugger through mach; r=gps 2014-02-07 23:25:45 -05:00
Honza Bambas
c77b3c609a Bug 961147 - Easy way to get NSPR logs from tryserver mochitests, r=ted 2014-01-22 18:54:49 +01:00
Andrew Halberstadt
d6463a8d9e Bug 957768 - Fix mochitest no summary error when --hide-subtests is used, r=jmaher 2014-01-17 11:26:31 +08:00
Andrew Halberstadt
a7ebe7291d Bug 957768 - Add an option to hide mochitest subtest results, r=jmaher 2014-01-09 15:41:54 -05:00
William Lachance
b14f771ccc Bug 924253 - Make perl stack fixer process to not read directly from firefox's pipe in mochitest;r=ted 2013-12-10 19:15:25 -05:00
Nathan Froyd
de3ea923d8 Bug 943734 - escape URL arguments in mochitests for the benefit of LLDB; r=jmaher 2013-12-03 13:01:30 -05:00
Mark Hammond
acd77dfc0d Bug 932186 - Allow mach to specify a manifest file as a test path. r=ted 2013-11-25 10:33:11 +11:00
Nathan Froyd
495acfdcf4 Bug 940637 - part 1 - add dump options to runtests.py and propagate to mochitests; r=jmaher 2013-11-21 11:33:43 -05:00