Commit Graph

1836 Commits

Author SHA1 Message Date
William Lachance
d407cd825b Bug 996862 - Remove use of mozdevice's networktools. r=ahal 2014-04-21 11:03:51 -04:00
Cameron McCormack
b22f8622e0 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
aa859b7748 Bug 993326 - Automatically restore apps launchable value. r=fabrice 2014-04-17 16:43:04 -04:00
David Rajchenbach-Teller
c16bdacd83 Bug 991040 - Uncaught async exceptions in mochitests now cause warnings. r=ted 2014-04-17 16:23:23 -04:00
Vaibhav Agrawal
532956cd3e Bug 912243 - Mochitest shouldnt chdir in __init__. r=jmaher 2014-04-16 10:29:39 -04:00
Manish Goregaokar
17f55bc6ed Bug 991348 - Give the ability to take screnshots on all test failures. r=jmaher 2014-04-12 04:23:00 +02:00
Randell Jesup
de9c6f2f9e Bug 992436 - Force wakelock in B2G mochitests to reduce timeouts. r=jgriffin
CLOSED TREE
2014-04-07 14:39:16 -04:00
Ms2ger
161b37e9c0 Backed out changeset c63d8f19a893 for failures in Android mochitests. 2014-04-12 12:00:37 +02:00
Manish Goregaokar
91a087f85c Bug 991348 - Support taking screenshots on all test failures in mochitests; r=jmaher 2014-04-12 11:08:34 +02:00
Tim Taubert
617920f1c0 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
2cb4e7bc1d Backed out changeset df3c1971ecdc (bug 984930) 2014-04-11 12:54:56 -04:00
Joel Maher
97f8165ef6 Bug 984930 - Create mochitest-dt [temporarily turn off --subsuite]. r=mratcliffe 2014-04-10 15:00:56 -04:00
Michael Ratcliffe
d0f5dae6ab Bug 983948 - Add mach mochitest-devtools r=jmaher 2014-03-25 16:52:53 +00:00
Vicamo Yang
e58c108d84 Bug 975442: recognize as emulator if device name begins with 'emulator'. r=jgriffin 2014-04-09 10:14:07 +08:00
Tim Taubert
a8ae9cf917 Bug 842511 - Specify a character set for directory listings r=gavin 2014-04-06 06:01:49 +02:00
Phil Ringnalda
abdac31cf1 Merge m-i to a CLOSED TREE m-c 2014-04-06 09:51:58 -07:00
Geoff Brown
89945d69f0 Bug 986738 - End robocop tests with nsIAppStartup.quit(); r=snorp 2014-04-04 12:11:21 -06:00
Neil Deakin
f9e1db1ab8 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
ebe098a475 Bug 989046 - b. Drop JSON.stringify when calling handleGeckoMessage; r=mfinkle 2014-04-04 12:33:50 -04:00
Ryan VanderMeulen
0d5b7940ce Merge inbound to m-c. 2014-04-01 16:45:00 -04:00
Geoff Brown
e1d0b6f106 Bug 967704 - Skip a few more tests on Android 2.3 2014-03-31 21:30:07 -06:00
Bill McCloskey
8fecb12663 Bug 986163 - Fix webapprt tests (r=ted) 2014-03-28 15:50:28 -07:00
Geoff Brown
de5f1fff31 Bug 967704 - Skip more mochitests on Android 2.3 only 2014-03-28 11:39:14 -06:00
Nathan Froyd
65f2050ac7 Bug 969437 - part 1 - introduce a --quiet option for mochitests; r=jmaher 2014-03-07 11:42:07 -05:00
Ryan VanderMeulen
a14baa39be Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Gregory Szorc
4ff214391e 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
ad523f117c 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
618b2c258b Merge fx-team to m-c 2014-03-25 20:03:13 -07:00
Wes Kocher
6b9908e2fe Merge inbound to m-c 2014-03-25 19:54:55 -07:00
Alexandre Poirot
33a65e9ccd Bug 965257 - Expose Assert.jsm in mochitest-plain chrome script. r=ted 2014-03-25 12:03:21 -04:00
Gregory Szorc
5553d9f539 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
f0147b16ce Bug 983948 - Temporarily increase the per-test browser-chrome default timeout to 45 seconds 2014-03-23 16:55:34 -07:00
Jonathan Griffin
05107f9406 Bug 979650 - Always build with Marionette for Firefox, b2g desktop, r=ted 2014-03-11 13:22:34 -07:00
Kevin Cox
a844a7ae48 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
26270a19ca Bug 980278 - Remove DataContainerEvent dependency from Mochitest. r=jmaher 2014-03-21 13:00:00 +09:00
Paolo Amadini
fbdf098874 Bug 985954 - Remove deprecated promise.js usage in the testing framework. r=ted 2014-04-01 13:45:48 +02:00
Vaibhav Agrawal
710c031709 Bug 908945 - Fix automation.py's exit code handling; r=jmaher 2014-03-26 06:14:51 -04:00
Wes Kocher
5e8506e0a5 Merge m-c to inbound 2014-03-25 20:21:17 -07:00
Brian Birtles
6fb124d929 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
0f227f399d Bug 967704 - Disable a few tests on Android 2.3 for intermittent failures 2014-03-20 17:16:40 -06:00
Carsten "Tomcat" Book
173ff6dc38 Merge mozilla-central to b2g-inbound 2014-03-19 16:30:49 +01:00
Andrew Halberstadt
a97cdd879e Bug 983262 - Remove obsolete b2g mochitest json manifests, r=jmaher 2014-03-19 11:23:29 -04:00
Bill McCloskey
f218f37e25 Bug 983921 - Rename test_SimpleTestGetTestFileURL.html so it doesn't get skipped (r=jmaher)
--HG--
rename : testing/mochitest/tests/Harness_sanity/test_SimpleTestGetTestFileURL.html => testing/mochitest/tests/Harness_sanity/test_SimpletestGetTestFileURL.html
2014-03-15 08:43:35 -07:00
Bill McCloskey
fd05f3eb04 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 21:38:19 -07:00
Wes Kocher
3b83e5bb22 Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
e784b5aef6 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Geoff Brown
a9e0db635d Bug 983406 - Fix syntax error in androidx86.json; r=jmaher 2014-03-13 16:59:01 -06:00
Bill McCloskey
006786a6b4 Backed out changeset d6261f65070a 2014-03-13 15:52:27 -07:00
Bill McCloskey
ed100f425c Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Vaibhav Agarwal
c75ff964a1 Bug 971132 - B2G mochitests should use the new manifest format for runtests; r=jmaher 2014-03-13 10:40:10 -04:00