Commit Graph

1727 Commits

Author SHA1 Message Date
Gavin Sharp
c607f79fa9 Bug 896711: remove BrowserChromeTests.runWhenReady because it's being abused, r=dao/ttaubert/vporof 2013-07-27 17:32:40 -07:00
Gijs Kruitbosch
47a7b46794 Bug 1004410 - allow running mochitests against an arbitrary binary, r=jmaher
--HG--
extra : rebase_source : ba7e34aaffe2dd845b8717a34dc27c7f59983534
2014-05-01 11:05:36 +01:00
Vicamo Yang
120e5aad58 Bug 996443: carry emulator arch automatically for mach commands. r=ahal 2014-05-01 00:57:39 +08:00
Myk Melez
01123e80fe Bug 1001681 - define Task to fix webapprt-test-chrome tests; r=jmaher 2014-04-26 14:05:46 -07:00
Masayuki Nakano
a47b044528 Bug 998188 part.5 Fix orange and improve EventUtils.js and ChromeUtils.js r=smaug 2014-04-26 08:52:13 +09:00
Masayuki Nakano
6de1b7019c Bug 998188 part.1 Add test for this crash on debug build r=ehsan 2014-04-26 08:52:12 +09:00
Andrew McCreight
8da461bde5 Bug 949607, part 2 - Add and use runNextCollectorTimer. r=smaug 2014-04-25 13:21:04 -07:00
Marco Castelluccio
799c1a2a9c Bug 1000512 - If a test cleanup function returns a promise, wait for it to be resolved before running other tests. r=jmaher 2014-04-24 16:34:00 +02: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
Nathan Froyd
f359659e38 Bug 999407 - add --setenv option for mochitests run through mach; r=jmaher
DONTBUILD because NPOTB
2014-04-22 09:09:47 -04:00
William Lachance
a29417e3f7 Bug 996862 - Remove use of mozdevice's networktools. r=ahal 2014-04-21 11:03:51 -04: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
Marco Castelluccio
1bd0344246 Bug 993326 - Automatically restore apps launchable value. r=fabrice 2014-04-17 16:43:04 -04:00
David Rajchenbach-Teller
7886ee3b33 Bug 991040 - Uncaught async exceptions in mochitests now cause warnings. r=ted 2014-04-17 16:23:23 -04: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
Randell Jesup
dec2b9db87 Bug 992436 - Force wakelock in B2G mochitests to reduce timeouts. r=jgriffin
CLOSED TREE
2014-04-07 14:39:16 -04: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
Tim Taubert
8eddc2ac1c Bug 995266 - Prevent mochitest-browser harness from leaking due to SimpleTest overrides. r=ted
CLOSED TREE
2014-04-11 17:57:59 +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
Vicamo Yang
bca7e5f97b Bug 975442: recognize as emulator if device name begins with 'emulator'. r=jgriffin 2014-04-09 10:14:07 +08:00
Tim Taubert
09db36a7d7 Bug 842511 - Specify a character set for directory listings r=gavin 2014-04-06 06:01:49 +02:00
Phil Ringnalda
125cfa9c03 Merge m-i to a CLOSED TREE m-c 2014-04-06 09:51:58 -07:00
Geoff Brown
23ec106d71 Bug 986738 - End robocop tests with nsIAppStartup.quit(); r=snorp 2014-04-04 12:11:21 -06:00
Neil Deakin
27ad778ee7 Bug 475981, remove titles from a bunch of tests, fixing box wrapped in a block warnings,r=neil 2014-04-04 13:11:12 -04:00
Jim Chen
0d00aee3a9 Bug 989046 - b. Drop JSON.stringify when calling handleGeckoMessage; r=mfinkle 2014-04-04 12:33:50 -04:00
Ryan VanderMeulen
6a3fa988ca Merge inbound to m-c. 2014-04-01 16:45:00 -04:00
Geoff Brown
4ba9807bcb Bug 967704 - Skip a few more tests on Android 2.3 2014-03-31 21:30:07 -06:00
Bill McCloskey
f44f9436ac Bug 986163 - Fix webapprt tests (r=ted) 2014-03-28 15:50:28 -07:00
Geoff Brown
38f8f4b8a3 Bug 967704 - Skip more mochitests on Android 2.3 only 2014-03-28 11:39:14 -06: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
df9137da98 Bug 987414 - Pass multiple test arguments to mach testing commands; r=ahal
Previously, mach xpcshell-test and mochitest-* were limited to a single
test "path" argument. This patch enables multiple arguments to be passed
in.

TestResolver in the build system has gained the ability to process
multiple paths in a single invocation. The mach commands have been
modified to utilize this new feature.

Only mach code paths that pass manifestdestiny.TestManifest instances
into the test runner can accept multiple arguments. This is because
there is no other way to pass a custom set of tests into the test
runner. If multiple test arguments are used but not supported, a warning
is emitted.

--HG--
extra : rebase_source : 1ce1328a969f654e7b43a7a0bdd15ed86f5ceb21
2014-03-24 16:19:57 -07: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
Wes Kocher
622986d217 Merge inbound to m-c 2014-03-25 19:54:55 -07:00
Alexandre Poirot
7b3b1cc88a Bug 965257 - Expose Assert.jsm in mochitest-plain chrome script. r=ted 2014-03-25 12:03:21 -04: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
Phil Ringnalda
9d692a7cba Bug 983948 - Temporarily increase the per-test browser-chrome default timeout to 45 seconds 2014-03-23 16:55:34 -07:00
Jonathan Griffin
2c813577a2 Bug 979650 - Always build with Marionette for Firefox, b2g desktop, r=ted 2014-03-11 13:22:34 -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
Masatoshi Kimura
f2e161d6fb Bug 980278 - Remove DataContainerEvent dependency from Mochitest. r=jmaher 2014-03-21 13:00:00 +09:00
Paolo Amadini
c873a36b5d Bug 985954 - Remove deprecated promise.js usage in the testing framework. r=ted 2014-04-01 13:45:48 +02:00
Vaibhav Agrawal
5d191ae6fd Bug 908945 - Fix automation.py's exit code handling; r=jmaher 2014-03-26 06:14:51 -04:00
Wes Kocher
0bdcbe2b41 Merge m-c to inbound 2014-03-25 20:21:17 -07:00
Brian Birtles
8039fdb1db Bug 986367 - Make paint_listener.js check for paint suppression; r=mattwoodrow
This patch adds an extra check for paint suppression when waiting for paint
events. This is because on some platforms (notably B2G) we can think all paints
have completed because paint suppression is in effect and as a result call the
callback too soon.

This patch use window.setTimeout(..., 0) to wait for paint suppression to finish
before preceding to check for pending paint events.

When the refresh driver is under test control, if we detect that paint events
are pending we need to force a refresh driver tick. This patch adds that tick.
I suppose we had previously never hit this situation before and never noticed
this.

This patch also rearranges the main loop so that early returns appear first and
calling the callback appears at the end.
2014-03-26 09:20:07 +09:00
Geoff Brown
5c92b15fcb Bug 967704 - Disable a few tests on Android 2.3 for intermittent failures 2014-03-20 17:16:40 -06:00