Commit Graph

112 Commits

Author SHA1 Message Date
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
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
Nathan Froyd
ebc2aa3433 Bug 938289 - part 2 - add mochitest support for specifying DMD paths; r=jmaher 2013-11-13 14:48:10 -05:00
Tim Taubert
43e6f8fbea Bug 932898 - Bring back the shutdown leak detector r=ted
From 246109686e62e3231ccba74a84adaa0774f2a1af Mon Sep 17 00:00:00 2001
2013-11-20 21:53:08 +01:00
Ryan VanderMeulen
a71b7b3297 Backed out changeset 53627e59f761 (bug 932898) for mochitest-mc timeouts. 2013-11-20 14:30:30 -05:00
Tim Taubert
baf875e928 Bug 932898 - Bring back the shutdown leak detector r=ted 2013-11-01 11:25:17 +01:00
Ted Mielczarek
4b8bd6bfb0 bug 914925 - fix --debugger for mochitest on OS X. r=jmaher 2013-09-16 14:44:25 -04:00
Joel Maher
ab624d3c81 Bug 939719 - stop packaging tests.jar up during a build. r=ted 2013-11-18 13:38:37 -05:00
Mark Hammond
a50d414dc5 Bug 883858 followup - disabled tests are passed to the JS test runner which reports them as skipped. r=jmaher 2013-11-18 15:09:01 +11:00
Mark Hammond
9b6101f326 Bug 883858 - pass disabled tests to the test runner and have them reported in the test log. r=jmaher 2013-11-07 10:49:41 +11:00
Ted Mielczarek
b4bf92d782 bug 932349 - make Mochitest use kill_on_timeout=False and an onTimeout handler. r=jhammel 2013-11-06 09:14:23 -05:00
Mark Hammond
b3c4ea0f74 Bug 932149 - add --e10s option to mach's mochitest commands and to testrunner.py. r=ted 2013-11-04 10:07:49 +11:00
Felipe Gomes
001e65b418 Bug 932144 - Add option to break into debugger on test failure. r=jmaher 2013-11-01 17:23:34 -02:00
Bill McCloskey
db31fb8d21 Bug 931279 - Allow people to start running at a given test (r=jmaher) 2013-10-28 12:24:55 -07:00
Gijs Kruitbosch
80f4889f4f Bug 895471 - part 1: allow passing the flag to mochitest-browser, r=ted 2013-10-21 18:12:12 +02:00
Christian Holler
e8b8daef7c Bug 925873 - Make mochitest emit TEST-UNEXPECTED-FAIL on non-zero exit code. r=ted.
--HG--
extra : rebase_source : 17eb855e9bdc1b22c1187ede1dbb1b820f230290
2013-10-21 13:46:49 +02:00
Chris Double
0bddfb845a Bug 921239 - Mochitest-plain --repeat fails with PLAIN_LOOP_PATH not defined - r=jgriffin
--HG--
extra : rebase_source : 3815e9c97d56ba9027e2e36bd908722a03b836d0
2013-10-11 13:29:06 +13:00
Jeff Hammel
27c0972b9f Bug 921676 - mochitest screenshots fallout from bug 746243;r=ted 2013-10-05 15:28:34 -07:00
Jeff Hammel
c4f66c8fc5 Bug 920728 - gdb won't start with mochitest-browser;r=ted 2013-10-01 16:53:19 -07:00
Jeff Hammel
f0a08306e2 Bug 922666 - Windows Mochitest "NameError: global name 'subprocess' is not defined" in killAndGetStack();r=edmorley
--HG--
extra : rebase_source : ad0fe201c5b1d6af79e2c60859f8f561e44708ca
2013-10-01 15:09:46 -07:00
Jeff Hammel
8414270e88 Bug 921509 - OS X "OSError: [Errno 3] No such process" in runtests.py::killAndGetStack();r=ted 2013-10-01 10:47:05 -07:00
Andrew Halberstadt
b150c38ee9 Bug 920718 - Update b2g desktop mochitests for bug 746243, r=jhammel 2013-09-26 09:58:08 -04:00
Jeff Hammel
ee0512a05f Bug 920152 - UnboundLocalError: local variable browserProcessId referenced before assignment;r=edmorley 2013-09-24 11:27:18 -07:00
Jeff Hammel
18cf2dd6e8 Bug 746243 - port Mochitest to Mozbase;r=ted 2013-09-23 07:47:48 -07:00
Ed Morley
ae9302a264 Bug 917817 - Make several more python test harness failure modes TBPL parsable; r=jmaher 2013-09-19 13:20:17 +01:00
Fabrice Desré
595ce186af Bug 894927 - Use xhtml instead of xul for b2g main window. r=ochameau
--HG--
rename : b2g/chrome/content/shell.xul => b2g/chrome/content/shell.html
2013-08-28 14:35:34 -07:00
Ryan VanderMeulen
f41dc068e8 Backed out changeset 5c25126b9c76 (bug 894927) for causing bug 911751 on a CLOSED TREE.
--HG--
rename : b2g/chrome/content/shell.html => b2g/chrome/content/shell.xul
2013-09-03 20:51:30 -04:00
Ryan VanderMeulen
7ed6f218ff Merge m-c to b2g-inbound. 2013-08-29 00:24:45 -04:00
Andrew Halberstadt
4104fc828d Bug 908874 - Add mach command to run b2g mochitests, r=jgriffin,gps, DONTBUILD, a=NPOTB 2013-08-28 10:08:50 -04:00
Fabrice Desré
e4df86208c Bug 894927 - Use xhtml instead of xul for b2g main window. r=ochameau
--HG--
rename : b2g/chrome/content/shell.xul => b2g/chrome/content/shell.html
2013-08-28 14:35:34 -07:00
Geoff Brown
1aa6b9c2f8 Bug 908275 - Improve logging of xpcshell args in mochitests; r=jmaher 2013-08-23 09:11:43 -06:00
Andrew Halberstadt
3117d69ff2 Bug 903034 - Fix b2g desktop mochitest regression, r=jgriffin 2013-08-14 13:57:43 -04:00
Joel Maher
414a3b5080 Bug 868158 - mochitests should support manifest format. r=ted 2013-08-02 08:48:06 -04:00
Ryan VanderMeulen
37174a2eb7 Merge m-c to fx-team. 2013-07-30 13:12:26 -04:00
Masatoshi Kimura
ba55c7651f Bug 898903 - Prevent env["PATH"] from becoming Unicode on Windows. r=jgriffin 2013-07-30 10:02:28 -04:00
Jeff Hammel
8ca165a5cb Bug 688667 - refactor automation.py into mozprocess and mozprofile and load via virtualenv. r=jmaher 2013-07-30 08:30:40 -04:00
Andrew Halberstadt
7ddfcce735 Bug 865349 - Refactor B2G mochitests off automation.py and onto mozbase, r=jgriffin,ted 2013-07-26 14:40:04 -04:00