Commit Graph

1817 Commits

Author SHA1 Message Date
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
Wes Kocher
704fbcc14f Merge b2g-inbound to m-c 2014-03-12 19:51:10 -07:00
Dave Hylands
f1ea45eb4c Bug 959591 - Add a test to verify functionality. r=fabrice 2014-03-12 14:15:05 -07:00
Ryan VanderMeulen
2b56627de4 Merge m-c to b2g-inbound. 2014-03-12 11:33:22 -04:00
David Clarke
b896eea776 Bug 981217 - Make the wifi connection more rubust during testing. r=ahal 2014-03-12 08:29:23 -04:00
Andrew Halberstadt
0d3ad74d44 Bug 974069 - Add 'manifests' back to DIRS in testing/mochitest, r=ted 2014-03-11 13:40:43 -04:00
Vaibhav Agarwal
d126a07311 Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher 2014-03-12 06:16:12 -04:00
Geoff Brown
537cfcdff4 Bug 967704 - Add android23.json to mochitest Makefile.in; r=jmaher 2014-03-12 09:42:00 -06:00
Vaibhav Agarwal
910cf28c11 Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-12 11:41:08 -04:00
Geoff Brown
0c15e4a428 Bug 967704 - Add android23.json for Android 2.3 mochitests; r=jmaher 2014-03-10 19:56:31 -06:00
Nathan Froyd
60cd903626 Bug 979936 - delete unused `quiet' param-handling code in setup.js; r=jmaher 2014-03-05 12:39:46 -05:00
Brian Birtles
730325e4c1 Bug 979161 part 4 - Add a non-flushing version of waitForAllPaints to paint_listener.js; r=mattwoodrow
This patch adds waitForAllPaints which does *not* call getBoundingClientRect
since that can cause a flush. Sometimes this flush is undesirable since it can
mask bugs in the code under test which should be performing this flush itself.
2014-03-10 13:47:12 +09:00
Brian Birtles
80173f8459 Bug 979161 part 3 - Use SpecialPowers.getDOMWindowUtils in paint_listener.js; r=mattwoodrow
We can't just use SpecialPowers.DOMWindowUtils since otherwise we end up with
a DOMWindowUtils object that is bound to the parent object.
2014-03-10 13:47:12 +09:00
Brian Birtles
ad94336c66 Bug 979161 part 2 - Wrap long lines in paint_listener.js; r=mattwoodrow
And also simplify the code somewhat
2014-03-10 13:47:12 +09:00
Brian Birtles
88ee802b65 Bug 979161 part 1 - Wrap up paint_listener.js so it doesn't leak globals; r=roc 2014-03-10 13:47:12 +09:00
Joel Maher
3f2c305c8d Bug 970925 - (backout canvas webgl) convert testing/mochitest/android.json into skip-if statements in mochitest.ini files. r=gbrown CLOSED TREE 2014-03-06 16:49:37 -05:00
Vaibhav Agarwal
bb9b55bec2 Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher 2014-03-06 13:42:47 -05:00
Vaibhav Agarwal
1dd6d7f149 Bug 971132 - B2G mochitests should use the new manifest format [directories]; r=jmaher 2014-03-06 13:42:45 -05:00
Vaibhav Agarwal
64e20261db Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-06 13:42:43 -05:00
Ted Mielczarek
952bbfe243 Bug 977699 - Move the few remaining mochitests to manifests. r=jmaher 2014-03-04 15:54:31 -05:00