Commit Graph

4378 Commits

Author SHA1 Message Date
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
Dave Hunt
bfc008464e Bug 919923 - Create a section in the HTML report with build details. r=jgriffin 2014-04-04 08:19:23 -04:00
Benjamin Smedberg
cd2fddc1ce Bug 986582 - Get rid of the toolkit.telemetry.enabledPreRelease pref and make the toolkit.telemetry.enabled pref do the right thing for beta users who are testing a final release build, r=rnewman
--HG--
extra : rebase_source : 43f70e2c1c3207f37ba0789245958cb0c34187f6
2014-04-03 14:55:42 -04:00
Carsten "Tomcat" Book
a084d4feba Backed out changeset 0f91a3f28a44 (bug 976205) per request - incorrect patch 2014-04-04 14:46:51 +02:00
Ryan VanderMeulen
6e9126439e Merge m-c to fx-team on a CLOSED TREE. 2014-04-04 15:06:31 -04:00
Jim Chen
0d00aee3a9 Bug 989046 - b. Drop JSON.stringify when calling handleGeckoMessage; r=mfinkle 2014-04-04 12:33:50 -04:00
Gregory Szorc
73566b4041 Bug 989137 - Part 11: Make service initialization and uninitialization more robust; r=gfritzsche
Subsequent patches were running into race conditions and bugs related to
Experiments instance initialization state. This patch plugs the
necessary holes in initialization state management to unblock work.

The fixes are far from robust. There are still race conditions and bugs.
They should probably be addressed later.

--HG--
extra : rebase_source : 5f0c7fa1f554d09a21b1452506884dc771cb829d
2014-04-07 14:11:31 -07:00
James Graham
785ced5594 Bug 991727 - Update mozprocess version due to API change, r=ahal 2014-04-03 22:19:31 +01:00
David Burns
1e5026eb9e Bug 967179: Enable b2g tests that do not need to be disabled; r=mdas 2014-04-03 22:14:57 +01:00
David Burns
08d7ee7fbe Bug 991242: Remove Marionette unit test as this is covered by Gaia testing; r=jgriffin 2014-04-03 22:01:26 +01:00
David Rajchenbach-Teller
66275b087b Bug 976205 - Uncaught async exceptions now cause xpcshell tests to fail. r=paolo, r=ted 2014-04-03 16:18:21 -04:00
David Burns
e7e442aff8 Bug 882687: Fixing test position test; r=mdas 2014-04-08 01:13:31 +01:00
David Burns
fa16197a34 Bug 811796: Add missing test files to the manifest; r=jgriffin 2014-04-08 01:09:30 +01:00
Joel Maher
5cc0fe0bad backout d459cc1b5a94 for robocop failures (bug 912243) 2014-04-07 08:45:15 -04:00
Carsten "Tomcat" Book
df1e13d999 Merge mozilla-central to mozilla-inbound 2014-04-07 13:56:36 +02:00
Vaibhav Agrawal
e3e4a8663c Bug 912243 - Mochitest shouldnt chdir in __init__; r=jmaher 2014-04-07 06:46:29 -04:00
Henrik Skupin
5a0c41621e Bug 990797 - TPS CI errors out when trying to e-mail results. r=jgriffin DONTBUILD
--HG--
extra : rebase_source : bae20ab39a994bb6116add086e8f8c6735e8808e
2014-04-02 20:54:07 +02:00
James Graham
d5714a2ac3 Bug 985606 - Improve API for reading structured logs, r=ahal 2014-04-02 14:32:41 +01:00
Jonathan Griffin
28124e2548 Bug 989048 - Use TimeoutException instead of Exception for emulator startup timeouts, r=mdas 2014-04-01 10:02:09 -07:00
Ted Mielczarek
bfdc430b35 bug 990266 - use mozinfo in xpcshell selftests r=jmaher 2014-04-01 16:02:58 -04:00
Ryan VanderMeulen
6a3fa988ca Merge inbound to m-c. 2014-04-01 16:45:00 -04:00
David Rajchenbach-Teller
69c5551bb6 Bug 988844 - do_register_cleanup now accepts asynchronous cleanup functions. r=ted 2014-03-31 04:36:00 +02:00
Mike Hommey
edf4794405 Bug 988168 - Better integrate gtest libxul in the build system. r=mshal. DONTBUILD
--HG--
rename : toolkit/library/Makefile.in => toolkit/library/libxul.mk
rename : toolkit/library/moz.build => toolkit/library/libxul.mozbuild
2014-03-31 13:21:38 +02:00
Mike Hommey
3dbd6f1f57 Backed out changeset 561b9329d832 (bug 988168) for wrong attribution. 2014-04-01 13:17:50 +09:00
Jacek Caban
258449c186 Bug 988168 - Better integrate gtest libxul in the build system. r=mshal
--HG--
rename : toolkit/library/Makefile.in => toolkit/library/libxul.mk
rename : toolkit/library/moz.build => toolkit/library/libxul.mozbuild
2014-03-31 13:21:38 +02:00
Geoff Brown
4ba9807bcb Bug 967704 - Skip a few more tests on Android 2.3 2014-03-31 21:30:07 -06:00
David Burns
78e42a825b Bug 989370: Update Marionette Stale Element Reference exception to give a meaningful explanation; r=jgriffin 2014-03-31 21:02:06 +01:00
Henrik Skupin
f417985cb0 Bug 989282 - [tps] Add debug mode for detailed inspection of Sync. r=jgriffin DONTBUILD
--HG--
extra : rebase_source : ae88bb67270e63df32a931780f20aa4db0c62674
2014-03-31 20:17:09 +02:00
James Graham
814fe694ee Bug 989961 - Update mozrunner version, r=ahal 2014-03-31 15:13:36 +01:00
James Graham
2dd819a431 Bug 981190 - Remove add added files when cleaning up after using B2GRunner on a device, r=ahal 2014-03-31 15:13:36 +01:00
James Graham
8adff63646 Bug 988382 - Allow B2GRunner to be created without starting a marionette session, r=ahal 2014-03-31 15:13:35 +01:00
Dan Minor
a69c12157d Bug 988849 - Add mach target for jit tests; r=gps 2014-03-27 10:16:14 -04:00
Peter Van der Beken
e72e412aac Bug 988334 - Stop reusing SpecialPowers for different windows. r=jmaher.
--HG--
extra : rebase_source : ffeb4f2d49c6a20a95cc3ca0da63b49c10dee904
2014-03-24 21:12:41 +01:00
Mike Hommey
b4ed5e9a80 Backout changesets ca413634eba3 and a92851ff7444 (bug 988168) for likely windows PGO perf regression 2014-03-29 16:49:19 +09:00
Wes Kocher
ab88e0d360 Merge m-c to inbound 2014-03-28 17:04:03 -07:00
Wes Kocher
a7366bf369 Merge fx-team to m-c 2014-03-28 16:48:17 -07:00
Mike Hommey
d55f8470ad Bug 988168 - Better integrate gtest libxul in the build system. r=mshal
--HG--
rename : toolkit/library/Makefile.in => toolkit/library/libxul.mk
rename : toolkit/library/moz.build => toolkit/library/libxul.mozbuild
2014-03-29 07:50:08 +09:00
Bill McCloskey
f44f9436ac Bug 986163 - Fix webapprt tests (r=ted) 2014-03-28 15:50:28 -07:00
Ed Morley
7f4bec21b3 Backed out changeset 065ea2da5d6a (bug 988334) 2014-03-28 17:14:56 +00:00
Wes Kocher
9ba828f8fc Merge m-c to fx-team 2014-03-27 20:24:15 -07:00
Gregory Szorc
1b3f1ac5c7 Bug 973992 - Support experiments add-ons; r=Unfocused
A new type of add-on is introduced: experiments.

Experiments are add-ons that conduct data experiments. They are deployed
to compatible clients and collect additional information about the
client.

--HG--
extra : rebase_source : 98a612933978b3e4bcfb83da9f6a9782c62dc0da
extra : amend_source : 9347a56bc3034c7ea1e50918278c6b9cc1270521
2014-03-19 15:02:58 -07:00
Peter Van der Beken
0838bd8fea Bug 988334 - Stop reusing SpecialPowers for different windows. r=jmaher. 2014-03-24 21:12:41 +01:00
Marco Castelluccio
2982bfa483 Bug 981249 - Test app launch. r=myk
--HG--
rename : toolkit/webapps/tests/test_hosted.xul => toolkit/webapps/tests/test_hosted_launch.xul
rename : toolkit/webapps/tests/test_packaged.xul => toolkit/webapps/tests/test_packaged_launch.xul
2014-03-27 12:56:00 +01:00
Andrei Eftimie
807e96807c Bug 983642 - [tps] AddonRepository.getAddonsByIDs fails in mutiple tps tests. r=hskupin DONTBUILD
--HG--
extra : rebase_source : 51ed8adff60cd7a0ddcd9c7c36a81f3510350089
2014-03-27 20:06:56 +01:00
Nathan Froyd
b21858b43c Bug 969437 - part 2 - add --quiet option to all mochitest configurations; r=ahal 2014-03-24 12:11:59 -04: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
Geoff Brown
38f8f4b8a3 Bug 967704 - Skip more mochitests on Android 2.3 only 2014-03-28 11:39:14 -06: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
Nicholas Hurley
46d35cb55e Bug 965869 (part 2) - HTTP/2 draft10 tests. r=mcmanus 2014-03-26 10:58:11 -07:00
Carsten "Tomcat" Book
2f4a7008fd Backed out changeset 6d2ffe8dc046 (bug 981249) for Linux ASAN test failure 2014-03-26 11:43:16 +01:00
Vaibhav Agrawal
5d191ae6fd Bug 908945 - Fix automation.py's exit code handling; r=jmaher 2014-03-26 06:14:51 -04:00
Marco Castelluccio
4709051549 Bug 981249 - Test app launch r= myk
--HG--
rename : toolkit/webapps/tests/test_hosted.xul => toolkit/webapps/tests/test_hosted_launch.xul
rename : toolkit/webapps/tests/test_packaged.xul => toolkit/webapps/tests/test_packaged_launch.xul
2014-03-24 15:14:00 +01:00
Henrik Skupin
bfca5397f9 Bug 987147 - [tps] Re-add support for old sync authentication. r=jgriffin DONTBUILD 2014-03-26 07:30:33 +01:00
Fredrik Broman
b1bd8b4503 Bug 874476 - [mozrunner] Tilde character not expanded for application arguments. r=hskupin, r=ahal
--HG--
extra : rebase_source : a9e3a6843b560b2382433efbc294c9174f390870
2014-03-25 22:47:56 +01: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
Andrew Halberstadt
6b323bae64 Bug 981030 - Create platform specific mozharness files for storing test harness options, r=aki 2014-03-20 15:25:43 -04:00
Andrew Halberstadt
ca934641fa Bug 985403 - Refactor MarionetteBaseRunner.start_marionette and pass in symbols_path by default, r=mdas 2014-03-20 11:41:11 -04:00
Dave Hunt
bfb6cdcfe0 Bug 979512 - Add a command line option to split the tests and run a specified chunk. r=jgriffin 2014-03-20 09:27:29 -04:00
Vicamo Yang
9a1921f04d Bug 985537: add runEmulatorShell to Marionette. r=mdas 2014-03-20 13:01:25 +08:00
Carsten "Tomcat" Book
25e80771a2 Merge mozilla-central to b2g-inbound 2014-03-19 16:30:49 +01:00
Andrew Halberstadt
c5299fccd1 Bug 983262 - Remove obsolete b2g mochitest json manifests, r=jmaher 2014-03-19 11:23:29 -04:00
Ryan VanderMeulen
6491cce8ea Backed out changeset a3fe19cdb618 (bug 938019) for robocop failures.
CLOSED TREE
2014-03-18 12:35:53 -04:00
Brian Hackett
ecdbf6f6c8 Bug 972817 - Enable type inference unconditionally, r=jandem. 2014-03-18 09:05:16 -06:00
Bill McCloskey
cf346004ee Bug 938019 - Run mochitests from manifests (r=ted,gps) 2014-03-18 08:03:51 -07:00
Chris AtLee
5c62923c97 Bug 984061: Make package-tests safe with -j >1 r=glandium 2014-03-18 10:06:27 -04:00
Andreas Tolfsen
acb5b5b233 Bug 979299 - Reduce fragility in real time test. r=dburns
Sometimes the clock.sleep(0.1) may take shorter than 0.1 seconds.  This
isn't a test about precision in Python, but rather that the SystemClock
wrapper works as intended and returns a somewhat expected value.
2014-03-17 17:40:16 -04:00
William Lachance
40b7f3a0f3 Bug 978333 - Try to use localhost for marionette webserver if possible. r=jgriffin 2014-03-17 15:28:23 -04:00
Vikas Mishra
7b95cc5017 Bug 959517 - Clarify connection error message, r=mdas 2014-03-17 22:19:35 +05:30
Vikas Mishra
46cd4c8a90 Bug 974891 - Move TestCapabilities to test_capabilities.py file. r=ato 2014-03-14 23:57:03 +05:30
Bill McCloskey
e2a704f342 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
Henrik Skupin
5684142d7a Bug 966434 - Refactor tps for fxaccounts and old sync authentication support. r=jgriffin 2014-03-14 21:13:38 +01:00
James Graham
3a381e70cf Bug 983287 - Update the version of mozlog now structured logging has landed, r=wlach 2014-03-14 12:36:25 +00:00
Bill McCloskey
aa5f40a77e 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
53b7c0d896 Merge m-c to inbound despite the CLOSED TREE 2014-03-13 19:58:47 -07:00
Wes Kocher
a3277d291d 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
f4f6bf8e4d 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
b438829b3c Bug 983406 - Fix syntax error in androidx86.json; r=jmaher 2014-03-13 16:59:01 -06:00
Bill McCloskey
7193069fa0 Backed out changeset d6261f65070a 2014-03-13 15:52:27 -07:00
Bill McCloskey
69a746922b 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
74d0d984a3 Bug 971132 - B2G mochitests should use the new manifest format for runtests; r=jmaher 2014-03-13 10:40:10 -04:00
Wes Kocher
d3699eaf73 Merge b2g-inbound to m-c 2014-03-12 19:51:10 -07:00
Dave Hylands
e651093286 Bug 959591 - Add a test to verify functionality. r=fabrice 2014-03-12 14:15:05 -07:00
Ryan VanderMeulen
f06b210e1a Merge m-c to b2g-inbound. 2014-03-12 11:33:22 -04:00
David Clarke
5c33bc2f44 Bug 981217 - Make the wifi connection more rubust during testing. r=ahal 2014-03-12 08:29:23 -04:00
Jonathan Griffin
58a8088aa9 Bug 982361 - Bump marionette_client to 0.7.6, r=AutomatedTester 2014-03-11 18:16:54 -07:00
Vaibhav Agarwal
262a9b4cd4 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