Commit Graph

298 Commits

Author SHA1 Message Date
Kaustabh Datta Choudhury
20888ad054 Bug 1162003 - Enable run-by-dir mode on Fx desktop mac debug platform and re-enable a few tests. r=jmaher 2015-09-28 10:54:22 -04:00
Julian Seward
ad8e3b37e6 Bug 1185244 - Improve mach support for running mochitests on Valgrind. r=jgraham, njn. 2015-09-28 12:01:42 +02:00
Kaustabh Datta Choudhury
f58f529429 Bug 1162003 - Enable run-by-dir mode for mochitest_chrome on Fx desktop opt builds. r=jmaher 2015-09-23 13:39:45 -04:00
Andrew Comminos
2d3479e941 Bug 1170342 - Don't disable XInput2 for mochitests on GTK3, off by default now. r=karlt 2015-09-22 22:25:23 -07:00
Wes Kocher
ca09e9719a Backed out changeset feceb41f1c3c (bug 1185244) for breaking running tests locally CLOSED TREE a=backout 2015-09-22 17:08:37 -07:00
Julian Seward
a9dcbc18a5 Bug 1185244 - Improve mach support for running mochitests on Valgrind. r=jgraham, njn. 2015-09-22 12:00:57 +02:00
Kaustabh Datta Choudhury
1306ff3c92 Bug 1162003 - Enable run-by-dir mode on Fx desktop debug & ASAN builds. r=jmaher 2015-09-10 09:52:00 +02:00
Nathan Froyd
f8b55ca891 Bug 1196430 - part 7 - teach process_leak_log how to symbolicate leaked object stacks; r=mccr8 2015-08-26 19:41:43 -04:00
Nathan Froyd
0c4198a14a Bug 1196430 - part 6 - move cut-and-paste stack fixer code into mozrunner; r=wlach
This code is cut-and-pasted in several different places around the tree.
Let's put it in a common place.
2015-08-26 19:57:36 -04:00
Nathan Froyd
31e6934af8 Bug 1198944 - remove vmware recording support from mochitest; r=khuey
VMWare's record/replay bits are unsupported, and they only work with
programs compiled with VS2010, which we no longer support.
2015-08-27 16:00:14 -04:00
Andrew Halberstadt
f301cb9805 Bug 1199241 - Average runtime data across platforms instead of keeping it distinct, r=jgriffin
Keeping distinct platform runtime files takes up a lot of space. It also adds complexity and
greater possibility for mistakes, if a file for some arbitrary platform (like pgo) doesn't
exist, there will be a failure. This patch removes all platform specific runtime files and
replaces them with a single per suite file. The times in this file are averaged across all
platforms the tests run on. With the added space savings, we take into account the 50th
percentile of tests, instead of the 90th.
2015-08-27 17:37:26 -04:00
Vaibhav Agrawal
ecb57cc8d5 Bug 1197543 - Add --extra-mozinfo-json option in mochitest to filter tests for a given mozinfo file. r=ahal
CLOSED TREE
2015-08-22 18:57:19 -07:00
Vaibhav Agrawal
228761e931 Bug 1197541 - Add --dump-tests option to mochitest and xpcshell for all tests that will be run. r=ahal 2015-08-21 17:16:11 -07:00
Andrew Halberstadt
67cec80bd8 Bug 1185761 - [mochitest] Allow boolean values to --keep-open for overriding the default, r=ted
Most of the time the default is to close the browser after tests run. And that can be overridden with
--keep-open. But in some corner cases, the default is to leave the browser open after tests have run.
In these cases, it is not currently possible to override.

This patch allows the syntax --keep-open or --keep-open=false, the latter overrides the edge case
default.
2015-08-06 17:40:54 -04:00
Kaustabh Datta Choudhury
79beb7ae9f Bug 1162003 - Enable run-by-dir mode on Fx desktop opt builds. r=jmaher 2015-08-11 08:25:00 -04:00
Julien Pagès
6e0fa8b546 Bug 1091285 - move dumpScreen in a new mozscreenshot package. r=jgriffin
This also completely remove build/automationutils.py.
2015-07-29 17:50:16 +02:00
Myk Melez
d63a645223 Bug 1181867 - move -runtime flag to runtests.py so it gets set in automation; r=jland,ahalberstadt 2015-07-20 09:38:49 -07:00
Andrew Halberstadt
5c1241cd79 Bug 1014760 - Move mozlog.structured to mozlog; Move mozlog to mozlog.unstructured, r=jgraham
Mozlog currently has two implementations. The top level package is based on the logging module and is
deprecated. The newer structured logging implementation lives in mozlog.structured. This patch swaps the
two, so the top level mozlog module contains the recommended implementation, while mozlog.unstructured
contains the old one.
2015-07-16 10:38:40 -04:00
Chris Manchester
fc7bb6e30c Bug 890026 - Use kill_and_get_minidump in place of crashinject.exe in mochitest so we can stacks from more hangs. r=ted 2015-07-15 16:52:27 -07:00
Julien Pagès
cea392c6db Bug 1091274 - Move leak log functions out of automationutils and into mozbase. r=jgriffin 2015-07-03 07:04:22 +02:00
Julien Pagès
39a716c667 Bug 1091284 - Remove systemMemory, environment from automationutils. r=jgriffin 2015-07-01 22:00:07 +02:00
Julien Pagès
27383e58e6 Bug 1178154 - move ShutdownLeaks and LSANLeaks from automationutils to mochitest. r=jgriffin 2015-06-29 20:09:51 +02:00
Andrew Halberstadt
2651e9f398 Bug 1171971 - Move test_paths argument out of mach and into mochitest; remove --test-path, r=chmanchester 2015-06-05 13:28:29 -04:00
Andrew Comminos
30e76a5431 Bug 1173971 - Force core Xlib events on GTK3. r=karlt 2015-06-12 06:55:00 -04:00
Jonathan Griffin
ccfd20e83f Bug 1173114 - Fallback to chunk-by-dir if runtimes file not found, r=ahal 2015-06-10 10:12:31 -07:00
Geoff Brown
c940499af6 Bug 1026290 - Avoid TypeError during Android mochitest-chrome; r=chmanchester 2015-06-08 13:36:33 -06:00
Andrew Halberstadt
8162ad7d63 Bug 1155338 - Move mach command arguments into mochitest harness, r=chmanchester,gbrown 2015-04-30 13:47:01 -04:00
Phil Ringnalda
32ac011754 Back out f4f4e2be3765 (bug 1155338) for Android 4.0/debug mochitest bustage
CLOSED TREE
2015-05-04 18:28:16 -07:00
Andrew Halberstadt
8d7332d88e Bug 1155338 - Move mach command arguments into mochitest harness, r=chmanchester,gbrown 2015-04-30 13:47:01 -04:00
Randell Jesup
c061231d6b Bug 1159300: Add a clone of gmp-fake that doesn't do decryption r=glandium,cpearce 2015-04-30 00:52:26 -04:00
Joel Maher
807b01126e Bug 1157852 - Mochitest DevTools test directories run multiple times. r=ahal 2015-04-27 08:43:07 -04:00
Nathan Froyd
456eff18a5 Bug 1158227 - part 1 - don't run TSan on test tools or the xpcshell HTTP server in mochitests; r=jmaher 2015-04-23 16:35:22 -04:00
Mike Conley
10928e993b Bug 1152864 - Disable unsafe CPOW warnings when running mochitests by default, and add option to re-enable. r=ahal.
--enable-cpow-warnings can now be passed when running a mochitest to re-enable the warnings,
should one wish to do that.
2015-04-10 13:45:22 -04:00
Doug Turner
a6e0589495 Bug 1038811 - Push Notifications - Allow MOZ_DISABLE_NONLOCAL_CONNECTIONS for push subsuite. r=ahalberstadt/jgriffin 2015-04-10 20:19:29 -07:00
Ehsan Akhgari
6dbf6f275e Bug 1152872 - Don't attempt to leak-check the tools that we run as part of the setup for the mochitest suite; r=mccr8 2015-04-09 14:11:09 -04:00
Andrew Halberstadt
0f300312cf Bug 1147129 - upgrade mochitest from optparse to argparse and move android cli to mochitest_options.py, r=chmanchester 2015-03-24 17:42:24 -04:00
Andrew Halberstadt
baf7554392 Bug 987360 - Add ability to tag tests with arbitrary strings and run them, r=chmanchester
Add a `tags` attribute to a test or DEFAULT section in a manifest:

[test_foo]
tags = foo

Then run all tests with a given tag by passing in `--tag foo` to a supported test harness. So far mochitest, xpcshell and marionette are supported.
2015-03-19 16:15:33 -04:00
Andrew Halberstadt
2e8d5ebe71 Bug 1142050 - Add --chunk-by-runtime option to mochitest, r=jmaher
With --chunk-by-runtime enabled, test runtime data collected from automation is used to try and make all chunks take the same amount of time. So far only data for mochitest browser-chrome is added.
2015-03-26 15:21:45 -04:00
Ryan VanderMeulen
beab04f3c0 Backed out changesets acbab9e22691 and 3c34fd480729 (bug 987360) for Android/B2G xpcshell bustage.
CLOSED TREE
2015-03-27 13:12:19 -04:00
Andrew Halberstadt
90da2d6c5b Bug 987360 - Add ability to tag tests with arbitrary strings and run them, r=chmanchester
Add a `tags` attribute to a test or DEFAULT section in a manifest:

[test_foo]
tags = foo

Then run all tests with a given tag by passing in `--tag foo` to a supported test harness. So far mochitest, xpcshell and marionette are supported.
2015-03-19 16:15:33 -04:00
Vaibhav Agrawal
4c0d44425d Bug 1144573 - Cleanup after removing android*.json. r=ahal, r=jmaher
CLOSED TREE
2015-03-26 14:39:57 +08:00
Geoff Brown
ae4f048e29 Bug 1145364 - Use more portable ps command line for orphan cleanup; r=kmoir 2015-03-20 13:50:14 -06:00
Chris Manchester
fb127b3720 Bug 1145444 - r=jmaher 2015-03-20 12:30:37 -07:00
Jeff Gilbert
03f69c3639 Bug 1143218 - Use mochitest subsuites to specify webgl tests. r=jmaher,gbrown 2015-03-18 17:19:22 -07:00
Ehsan Akhgari
1ef55e73cb Bug 1145375 - Don't kill the debugger if the user Ctrl-C's as running a mochitest; r=ted 2015-03-19 15:27:00 +01:00
Geoff Brown
5ac0176a76 Bug 1084614 - Clean up orphan servers before starting mochitests or reftests; r=kmoir 2015-03-19 11:01:01 -06:00
Andrew Halberstadt
3905a9d254 Bug 1144194 - Only parse test manifests once in mochitest, r=jmaher 2015-03-17 16:18:34 -04:00
Joel Maher
cc9d5e881c Bug 1143010 - Stopping a mochitest-browser run is rocket science. r=ted 2015-03-16 11:33:35 -04:00
Andrew Halberstadt
37afafc1a3 Bug 1131098 - Make mochitest use manifestparser's chunking algorithms and remove JS based ones, r=jmaher 2015-03-10 09:55:30 -04:00
Bob Owen
3ec652be22 Bug 1137166: Change the Content moreStrict sandbox pref to an integer to indicate the level of sandboxing. r=tabraldes 2015-03-10 08:03:12 +00:00