Commit Graph

4981 Commits

Author SHA1 Message Date
Wes Kocher
9eebe50a0d Merge m-c to fx-team 2014-07-15 17:50:18 -07:00
William Lachance
eca294eaa0 Bug 1037642 - Fix assumption that we will be able to send all data in devicemanagerSUT in one shot. r=mcote 2014-07-15 14:09:04 -04:00
Tom Schuster
9777274923 Bug 673569 - Let each frame script have its own scope (r=smaug) 2014-06-13 19:56:38 +02:00
Chris Manchester
2f9c833e29 Bug 1037318 - Log a test_start and test_end message for skipped tests in marionette.;r=jgraham 2014-07-16 19:07:21 -04:00
David Burns
8d69fe5527 Bug 1036365: Implement element.rect to marionette for getting element size and location; r=mdas 2014-07-16 20:58:37 +01:00
Ryan VanderMeulen
5b3bcd473a Backed out changeset 3b96e18dd924 (bug 1030442) for Windows Marionette failures. 2014-07-15 12:23:47 -04:00
Malini Das
569cdd6fd6 Bug 1030442 - Be able to set and clear prefs at gecko startup, r=jgriffin 2014-07-15 11:21:58 -04:00
Armen Zambrano Gasparnian
dca074ab69 Bug 1026710 - Make DeviceManagerADB use mozprocess to allow logging. r=wlach
Up until now, mozdevice has been using subprocess. The switch gives us the
ability to log adb commands and its output. This will be mainly used
for the Firefox OS cert suite.
2014-07-15 08:59:48 -04:00
Carsten "Tomcat" Book
428877b622 Backed out changeset b81f9a774059 (bug 1022612) 2014-07-15 10:30:42 +02:00
Robert O'Callahan
096d5f3c60 Bug 1022612. Part 7: Enable APZC for IPC reftests. r=billm
--HG--
extra : rebase_source : 2b6f6af95eaa2fdc1a5cc63ff2e907ddf8e8b83c
2014-06-25 18:38:05 +12:00
Chris Manchester
55412671b3 Bug 1035551 - Add an in-tree config for marionette tests.;r=ahal 2014-07-14 16:02:39 -04:00
Bobby Holley
aa599cde5c Bug 856067 - Waive Xrays when SpecialPowers encounters an Opaque XrayWrapper. r=gabor 2014-07-14 10:09:06 -07:00
Carsten "Tomcat" Book
845c7a4d1b merge mozilla-inbound to mozilla-central a=merge 2014-07-14 14:34:36 +02:00
Vaibhav Agrawal
e30c97e57a Bug 1028226 - Clean up the code for manifest parsing. r=jmaher 2014-07-10 09:38:00 +02:00
Alfredo Yang
98b14a5dcc Bug 984274 - Remove WebappsUpdateTimers in B2G mochitests. r=fabrice 2014-06-30 23:59:00 -04:00
Ryan VanderMeulen
27a0fdf6de Merge inbound to m-c. a=merge 2014-07-11 16:34:56 -04:00
Henrik Skupin
bdbcf337de Bug 1037464 - Upgrade virtualenv to 1.11.6 because of installation issue [bustage fix]. r=ahal a=testonly DONTBUILD 2014-07-11 17:39:20 +02:00
Ryan VanderMeulen
d07265abdf Merge inbound to m-c on a CLOSED TREE. a=merge 2014-07-10 18:22:38 -04:00
Joel Maher
96a2b1ddeb Bug 1037375 - update talos to get latest bits for tp5o_scroll, glterrain, and other fixes. r=avih 2014-07-11 10:51:12 -04:00
Carsten "Tomcat" Book
f0569c8ad2 Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows 2014-07-11 14:15:29 +02:00
Mike Hommey
07267c6f7f Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal 2014-07-11 19:06:55 +09:00
William Lachance
73ef4ef1b2 Bug 1036624 - Don't package mozdevice and mozinfo for xpcshell tests. r=ted 2014-07-09 17:06:25 -04:00
Myk Melez
757690ea44 Bug 1036695 - enable mozApps debug logging when running tests; r=fabrice 2014-07-10 09:41:44 -07:00
Lebedev Maksim
b134941048 Bug 976963 - Resolve issues with tests on B2G system. r=smaug 2014-07-09 01:03:00 -04:00
Ahmed Kachkach
c4872d76ea Bug 886570 - Initial integration of structured logs in mochitest. r=ahal,Ms2ger 2014-07-10 13:33:00 +02:00
Dave Townsend
c60838ee23 Bug 1035508: Switch to the correct directory before running jetpack tests. r=gps 2014-07-10 08:29:56 -07:00
Carsten "Tomcat" Book
0dea121078 merge mozilla-inbound to mozilla-central a=merge 2014-07-10 14:47:01 +02:00
Vicamo Yang
2bf74b839c Backed out changeset 506038ddee2c (bug 1000040) for causing bug 1035172 2014-07-10 13:27:49 +08:00
Vaibhav Agrawal
b2d92da5f8 Bug 1036374 - Adding a binary search algorithm for bisection of failing tests. r=jmaher 2014-07-09 13:20:00 +02:00
Luv Agarwal
d367464dda Bug 997770 - Allow users to explicitly input the connection timeout. Also the version of marionette_transport is updated from 0.2 to 0.3. r=mdas 2014-07-04 23:33:00 +02:00
Chris Manchester
94715bbaf3 Backed out changeset c33ec815962f (bug 1036639) for windows checktest failures. 2014-07-09 21:51:07 -04:00
Chris Manchester
cb2c38a0da Bug 1036639 - Report correct filename from xpcshell/head.js when using do_check_* assertion functions.;r=gps 2014-07-09 20:39:18 -04:00
Ting-Yu Lin
00d2bb924f Bug 982560 - Fix mach fails to find tests in subdirectory. r=gps
Make the test paths relative to topsrcdir before passing them to
TestResolver. Also do not passing cwd to TestResolver since it will
filter out tests that do not live under the directory where the mach
command is executed.

Verification steps:
Execute a mach test command from any subdirectory. For example:
$ cd testing/tps/
$ ../../mach xpcshell-test ../../services/fxaccounts/tests/xpcshell/
$ ../../mach test ../../services/fxaccounts/tests/xpcshell/
2014-07-01 23:21:00 +02:00
Mats Palmgren
d19bc406fa Bug 785753 - Adding two crashtests. 2014-07-13 13:01:43 +00:00
Bob Clary
39fa91cf3b Bug 1035254 - [mozdevice] - Add ADBAndroid.get_battery_percentage(), r=wlach, DONTBUILD. 2014-07-10 06:46:23 -07:00
Chris Manchester
2f3284b56d Bug 1036392 - Add a parameter to the structured log api for stacks in test_status and test_end.;r=jgraham 2014-07-10 09:21:22 -04:00
Chris Manchester
f367a664b7 Bug 1036639 - Report correct filename from xpcshell/head.js when using do_check_* assertion functions.;r=gps 2014-07-09 20:24:59 -04:00
Nils Ohlmeier [:drno]
a6e7754006 Bug 1017332 - increase WebRTC logging on B2G emulator to match desktop levels. r=bwc 2014-07-08 17:00:00 +02:00
Bobby Holley
eb8972c288 Bug 1034244 - Hoist SpecialPowers Xray waiving into a separate function so that we can apply it at each stage when climbing the prototype chain. r=mrbkap 2014-07-09 15:23:53 -07:00
Bobby Holley
769638973e Bug 1034244 - Follow the prototype chain of the underlying object in SpecialPowers wrapping. r=mrbkap 2014-07-09 15:23:53 -07:00
Bobby Holley
7be2429a67 Bug 1034244 - Include TypedArrays in SpecialPowers Xray waiving list. r=mrbkap
Our Xrays to TypedArrays basically just say "this will be slow - clone instead".
Let's just have SpecialPowers waive Xrays for them to make things work less
surprisingly.
2014-07-09 15:23:53 -07:00
Bobby Holley
22bc7f4c6d Bug 1034244 - Check only for WN Xrays when deciding whether the prototype is useless. r=mrbkap 2014-07-09 15:23:53 -07:00
Mike Shal
28334d8ce3 Bug 1036566 - use 'mkdir -p' before packaging tests; r=gps 2014-07-09 13:36:58 -04:00
Mike Shal
36ac1c9669 Bug 1036557 - Fix 'make check' with no MOZ_OBJDIR; r=glandium 2014-07-07 19:55:51 -04:00
Chris Manchester
1118dd9934 Bug 1044751 - Add command line options for configuring log level of formatters in mozlog.structured.;r=jgraham 2014-08-05 22:54:12 -04:00
William Lachance
82332aa661 Bug 1037707 - Allow setting dmcli's verbose mode via environment variable. r=mcote 2014-07-14 16:01:11 -04:00
William Lachance
6571f5f33c Bug 1036530 - Instantiate / initialize device root only when needed in mozdevice. r=bc 2014-07-11 15:29:30 -04:00
Ryan VanderMeulen
c9aaac00ed Backed out 46 changesets (bug 1022612) for B2G mochitest permafails on a CLOSED TREE.
Backed out changeset 34b3014a3112 (bug 1022612)
Backed out changeset 6ae9316fd909 (bug 1022612)
Backed out changeset b8f3749c95eb (bug 1022612)
Backed out changeset caab10bf6ca3 (bug 1022612)
Backed out changeset 0c57c620c898 (bug 1022612)
Backed out changeset fac64141a00a (bug 1022612)
Backed out changeset bf0df1c9d68b (bug 1022612)
Backed out changeset b42054800020 (bug 1022612)
Backed out changeset 667793b21194 (bug 1022612)
Backed out changeset f14ada64fe1b (bug 1022612)
Backed out changeset 75b837686bdf (bug 1022612)
Backed out changeset 66de53183a22 (bug 1022612)
Backed out changeset 0ff86ced4d46 (bug 1022612)
Backed out changeset 18eecc5b1ef7 (bug 1022612)
Backed out changeset 2763c4878de5 (bug 1022612)
Backed out changeset b72413ecc385 (bug 1022612)
Backed out changeset b23f1081afb8 (bug 1022612)
Backed out changeset f7e2c6a72043 (bug 1022612)
Backed out changeset 959917c9027d (bug 1022612)
Backed out changeset 0268a46f4880 (bug 1022612)
Backed out changeset 3388856a80ad (bug 1022612)
Backed out changeset e4b17cf0f806 (bug 1022612)
Backed out changeset 2f4e9da0e4b6 (bug 1022612)
Backed out changeset 489f6a7c0c03 (bug 1022612)
Backed out changeset 8369d9ad7ad3 (bug 1022612)
Backed out changeset 0758d2a06002 (bug 1022612)
Backed out changeset f2ae9cb22edb (bug 1022612)
Backed out changeset 9c48c6ee5dc2 (bug 1022612)
Backed out changeset fe7134400f08 (bug 1022612)
Backed out changeset cc2c5397ca8b (bug 1022612)
Backed out changeset a3d1a3e8b39d (bug 1022612)
Backed out changeset 8974b74b0eb0 (bug 1022612)
Backed out changeset 75f7dbb5a2a6 (bug 1022612)
Backed out changeset 2aa04a071e60 (bug 1022612)
Backed out changeset f2ab1bcd4c39 (bug 1022612)
Backed out changeset da9152b6ea29 (bug 1022612)
Backed out changeset 58abf5b0e148 (bug 1022612)
Backed out changeset 797058a09ad2 (bug 1022612)
Backed out changeset ea3e99a92ff0 (bug 1022612)
Backed out changeset adc4a4a7aa73 (bug 1022612)
Backed out changeset 7b18dedd1505 (bug 1022612)
Backed out changeset 055dd1921e8e (bug 1022612)
Backed out changeset 42fa2c97e989 (bug 1022612)
Backed out changeset cd594236388f (bug 1022612)
Backed out changeset 9eadc5fee43d (bug 1022612)
Backed out changeset 5cc8d30ff7c9 (bug 1022612)
2014-07-17 11:24:47 -04:00
Dave Hunt
d2c5ea5656 Bug 1034044 - Remove dependency on Marionette session from get_device_manager. r=jgriffin 2014-07-15 12:12:00 +02:00
Martijn Wargers
cd9022a952 Bug 945781 - Remove ChromePowers.js. r=jmaher 2014-07-14 23:40:49 +02:00
Robert O'Callahan
02bea4736b Bug 1022612. Part 7: Enable APZC for IPC reftests. r=billm
--HG--
extra : rebase_source : 79e216bfb54db5df2c69b6e3c78fcd421cf5246b
2014-06-25 18:38:05 +12:00
Arnav Sharma
3367b52344 Bug 1037532 - "mozversion should have documentation on how to use its API". r=wlachance 2014-07-16 12:56:00 +02:00
Chris Manchester
bd0758dd52 Bug 956739 - Move marionette tests to structured logging.;r=mdas 2014-01-16 14:58:56 +00:00
Carsten "Tomcat" Book
518f246c5e merge fx-team to mozilla-central a=merge 2014-07-08 15:10:56 +02:00
Gregory Szorc
54c4d3b9ae Bug 1033836 - Convert TESTING_JS_MODULES to moz.build; r=glandium
--HG--
extra : rebase_source : 1cd9e402c507260358af7a93c6fb2fc91c24994b
2014-07-02 16:43:41 -07:00
Bob Clary
585c45ebdf Bug 1034406 - [mozdevice] Do not allow ADBCommand to be instantiated, r=wlach, DONTBUILD. 2014-07-07 08:19:35 -07:00
Carsten "Tomcat" Book
98666c6194 Merge mozilla-central to mozilla-inbound 2014-07-07 15:20:32 +02:00
Carsten "Tomcat" Book
ffe62657dc merge b2g-inbound to mozilla-central a=merge 2014-07-07 15:05:36 +02:00
Vaibhav Agrawal
8dd0e39442 Bug 1014125 - Bisection Base Patch. r=ahal 2014-07-04 13:55:00 +02:00
Andrew Comminos
e31c58cd7c Bug 958868 - Add support for delta line and page accumulation; r=masayuki, sr=smaug 2014-07-07 18:54:14 +09:00
John Shih
e86c00dca8 Bug 1000040 - Part 3: Test cases. r=vchang, f=vyang 2014-06-12 16:07:23 +08:00
Geoff Brown
736358712e Bug 1031103 - Enable test_bug659743.xml on Android 2.3; no review 2014-07-03 22:11:42 -06:00
Geoff Brown
bec27a7f46 Bug 1027802 - Try to get ANR report and stack trace when Fennec hangs; r=jmaher 2014-07-03 22:11:41 -06:00
Jonathan Griffin
3c28d0ebcd Bug 1033824 - Bump Marionette to 0.7.11, r=mdas 2014-07-03 16:17:18 -07:00
Ryan VanderMeulen
9698c53e85 Merge inbound to m-c. a=merge 2014-07-03 17:03:48 -04:00
Ryan VanderMeulen
5183e35648 Merge m-c to b2g-inbound. a=merge 2014-07-03 12:38:30 -04:00
Carsten "Tomcat" Book
cc1a9a6473 merge mozilla-inbound to mozilla-central a=merge 2014-07-03 13:46:41 +02:00
Henrik Skupin
c9f8a045da Bug 1033680 - TPS should use mozversion to retrieve the application data. r=jgriffin a=testonly DONTBUILD
---
 testing/tps/setup.py          | 1 +
 testing/tps/tps/testrunner.py | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
2014-07-03 07:27:06 +02:00
Henrik Skupin
0a65320273 Bug 1032853 - TPS infinitely loops through the same phase of a test. r=ahal a=testonly DONTBUILD
---
 testing/tps/tps/firefoxrunner.py | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

--HG--
extra : rebase_source : 7785bb543c0d44ce6dd3380c8ce1db3bff88cdad
2014-07-02 15:37:30 +02:00
Alexandre Lissy
72425727e0 Bug 1032799 - Pass -chrome argument to B2G Desktop. r=jgriffin 2014-07-02 01:49:00 -04:00
Wes Kocher
95c0805c79 Merge m-c to inbound 2014-07-02 17:46:56 -07:00
Wes Kocher
20f50977c0 Merge m-c to inbound 2014-07-02 17:44:20 -07:00
Geoff Brown
e1976df582 Bug 981889 - Enable content/media/webaudio/test mochitests on Android 2.3; no review 2014-07-02 18:43:41 -06:00
Geoff Brown
e0bc9763a7 Bug 981898 - Enable content/media/test mochitests on Android 2.3; no review 2014-07-02 18:43:40 -06:00
Jonathan Griffin
9fca7d1267 Bug 1033033 - Don't access the device_manager during __init__, r=mdas 2014-07-02 15:23:10 -07:00
Mike Hommey
6f03a33e5f Bug 762358 - Re-run configure when mozconfig changed in a significant way. r=gps
This adds a format option to mach environment and uses it in client.mk to
create a .mozconfig.json in the objdir, containing all the relevant data
from mozconfig. If the mozconfig doesn't change in a way that alters that
data, we still skip configure.

At the same time, use mach environment in place of mozconfig2configure and
mozconfig2client-mk, which makes us now have only one mozconfig reader.

Also, in the mozconfig reader, keep track of environment variables (as
opposed to shell variables), so that changes such as a variable that was
exported not being exported anymore is spotted. At the opposite, in order
for irrelevant environment variable changes not to incur in re-running
configure, only a set of environment variables are stored when they are
unmodified. Otherwise, changes such as using a different terminal window,
or even rebooting, would trigger reconfigures.

Finally, make mach environment emit both MOZ_OBJDIR and OBJDIR for
client.mk, and cleanup some objdir-related things in client.mk..
At the same time, make the mozconfig reader take MOZ_OBJDIR from the
environment if it is defined there and not in the mozconfig.
2014-07-03 07:15:31 +09:00
James Graham
4436087710 Bug 1033458 - Update mozrunner version, r=ahal. 2014-07-02 22:20:53 +01:00
James Graham
97d18f9971 Bug 1032136 - Make mozrunner 6 work for on-device B2G testing, r=ahal. 2014-07-02 22:20:52 +01:00
Henrik Skupin
f2496b402d Bug 1033703 - Pin TPS to specific versions of mozbase packages. r=ahal a=testonly DONTBUILD
---
 testing/tps/setup.py | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
2014-07-03 16:06:27 +02:00
Ed Morley
755d4aeff4 Bug 1027574 - Mozrunner should use logcat format 'time' not 'threadtime'; r=ahal 2014-07-04 15:04:16 +01:00
Marco Castelluccio
220c26d71b Bug 1028987 - Don't use Task.jsm to wait for cleanup function promises. r=jmaher 2014-07-04 14:41:24 +02:00
Borting Chen
1bfa28466d Bug 951976 - part 2, Test cases. r=gene 2014-05-12 18:55:49 +08:00
Henrik Skupin
72235dc8cd Bug 1034722 - Upgrade virtualenv to 1.10.1 for TPS environment creation. r=jgriffin DONTBUILD 2014-07-07 22:58:17 +02:00
Chris Manchester
6ba14fdd35 Bug 1035006 - Fix pyflakes warnings in mozbase.;r=wlach 2014-07-07 14:51:34 -04:00
Sylvestre Ledru
63dfdf6b1e Bug 991866: Catch the exception and returns the iso8859-1 string. In some cases, the display was failing r=ahal
--HG--
extra : rebase_source : 2a913276a15f721d3a9f07783735544bf292ec7e
2014-07-04 12:07:38 +02:00
Wes Kocher
426690253a Merge inbound to m-c a=merge 2014-07-01 16:42:57 -07:00
Henrik Skupin
39f93709a2 Bug 1032787 - [tps] FirefoxRunner should not reset environment variables. r=aeftimie a=testonly DONTBUILD 2014-07-01 17:30:58 +02:00
Chris Manchester
5b352e1995 Bug 1030845 - Modify mozlog.structured's tbplformatter to comply with tbpl. r=edmorley,jgraham 2014-07-01 10:42:16 -04:00
Wes Kocher
d008715ddd Merge fx-team to m-c a=merge 2014-06-30 18:22:10 -07:00
Wes Kocher
5f7f1cf2bb Merge inbound to m-c a=merge 2014-06-30 18:00:36 -07:00
Andrew Halberstadt
89116d2d4e Bug 1031415 - Fix bad exception handling in emulator.wait_for_system_message(), r=jgriffin 2014-06-30 16:28:00 -04:00
Cosmin Malutan
3c605132ab Bug 1032114 - TPS fails to decode Windows file paths in config file. r=hskupin a=testonly DONTBUILD 2014-06-30 16:16:17 +02:00
Gijs Kruitbosch
2db2ab5eb6 Bug 1030149 - dummify all the sync prefs, r=ttaubert 2014-06-25 16:32:06 +01:00
Geoff Brown
cbbabf181b Bug 1031103 - Skip test_bug659743.xml on Android 2.3 for too many intermittent time outs; no review 2014-06-27 13:59:29 -06:00
Jim Blandy
15b78ecf33 Bug 800200: Remove references to JSD from outside js/jsd. r=mccr8,bholley,ted,smaug 2014-06-27 11:05:08 -07:00
J. Ryan Stinnett
936fa498cb Bug 975591 - Part 1: Add device discovery service. r=paul
--HG--
rename : toolkit/devtools/moz.build => toolkit/devtools/discovery/moz.build
rename : toolkit/devtools/moz.build => toolkit/devtools/discovery/tests/moz.build
2014-06-26 16:40:00 +02:00
Ryan VanderMeulen
3fb7520283 Merge inbound to m-c on a CLOSED TREE. a=merge 2014-06-26 17:13:04 -04:00
Geoff Brown
cad062f7f5 Bug 1030942 - Skip test_no_arr_points.html on Android 2.3, no review, on a CLOSED TREE 2014-06-26 14:01:41 -06:00
Kartikaya Gupta
1d49cdc46b Bug 1030805 - Stop claiming all gtests are AsyncPanZoomController tests. r=BenWa 2014-06-26 12:19:33 -04:00
Ryan VanderMeulen
bba1283771 Backed out changeset e4c57f58a0ad (bug 956739) for changing Marionette failure output in a TBPL-unfriendly way. 2014-06-26 12:00:55 -04:00
Bob Clary
84cafa2af4 Bug 1012711 - Add adb.py to devicemanager package, -correcting bugnumber- r=wlach. DONTBUILD a=sheriffduty 2014-06-26 16:20:12 +02:00
Carsten "Tomcat" Book
4a581018ef Backed out changeset 1fd65e3c2f4a (bug 1012712) 2014-06-26 16:18:34 +02:00
Carsten "Tomcat" Book
39ff1551ea merge fx-team to mozilla-central a=merge 2014-06-26 15:33:24 +02:00
Wes Kocher
c8c625d1b9 Merge m-c to fx-team a=merge 2014-06-25 18:44:50 -07:00
Bob Clary
adf1fa16ff Bug 1012712 - Add adb.py to devicemanager package, r=wlach. DONTBUILD 2014-06-25 21:08:41 -07:00
Carsten "Tomcat" Book
23d6a7ded4 Merge mozilla-central to mozilla-inbound 2014-06-25 15:42:28 +02:00
Carsten "Tomcat" Book
1bcd668f88 merge mozilla-inbound to mozilla-central a=merge 2014-06-25 15:28:19 +02:00
Cosmin Malutan
618f81817b Bug 1028030 - Add placeholders for email and password in TPS config file. r=hskupin a=test-only DONTBUILD 2014-06-25 15:11:42 +02:00
David Rajchenbach-Teller
a82c78cd53 Bug 1023787 - Make Task.jsm stack rewriting play nicely with xpcshell and mochi tests. r=paolo, r=mikedeboer 2014-06-20 14:23:00 -04:00
Andrew McCreight
5c8d2af685 Bug 1023368 - Non-fatally provide information about the LLVM symbolizer in cppunittests. r=jmaher 2014-06-24 11:27:39 -07:00
Andrew Halberstadt
e30a35bbc9 Bug 1028746 - Running mach mochitest-remote from gecko srcdir raises AttributeError instead of being helpful, r=gps, DONTBUILD, a=NPOTB 2014-06-24 13:47:19 -04:00
Patrick McManus
6d4aa948ec bug 1027364 - multiple http/2 header frames on same stream r=hurley 2014-06-19 23:42:29 -04:00
Vaibhav Agrawal
45213e82ee Bug 925699 - pymake/mach mochitest-plain don't delete the temporary profile. r=jmaher 2014-06-24 12:02:07 -04:00
Joel Maher
7024beae58 Bug 1028999 - Update talos to get recent changes. r=avih 2014-06-24 11:26:08 -04:00
Carsten "Tomcat" Book
eed482899c Backed out changeset 3a5789d0e7e0 (bug 883339) suspicion of causing Exception: Ambiguous symbol file for xul.pdb failure on a CLOSED TREE 2014-06-24 13:35:26 +02:00
Carsten "Tomcat" Book
8be0d4bc98 Backed out changeset 8499eefa342e (bug 958868) for m2 test failures on a CLOSED TREE 2014-06-24 12:49:47 +02:00
Vaibhav Agrawal
34b269b85c Bug 925699 - pymake/mach mochitest-plain don't delete the temporary profile. r=jmaher 2014-06-23 11:24:00 +02:00
Andrew Comminos
156004b042 Bug 958868 - Add support for delta line and page accumulation; r=masayuki, sr=smaug 2014-06-24 18:02:11 +09:00
Ting-Yu Lin
4c7c85652e Bug 951654 - Fix unable to locate element box0 intermittently. r=automatedtester
Set search timeout to 30 seconds so that box0 could have enough time to
appear. The original timeout 3 seconds might be too short when try
servers have heavy loading.
2014-06-23 02:54:00 +02:00
Geoff Brown
8e59ee35ac Bug 1028918 - Re-enable test_MediaSource.html on Android 2.3; no review 2014-06-23 21:17:02 -06:00
Brian Smith
2ea2825f08 Bug 883339: Enable "mach gtest" on Windows, but leave GTest disabled for "make check", r=glandium
--HG--
extra : rebase_source : e62eac1e5e70293d3c9df5406c996097abccbd3a
2014-06-08 19:00:58 -07:00
Jim Blandy
4d6a633bba Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Brian Smith
85e25965c9 Bug 883339: Enable GTest on Windows except for PGO builds, r=glandium
--HG--
extra : rebase_source : d438645a363b72affb8e754a760ac92dfacaac5b
2014-06-08 19:00:58 -07:00
Wes Kocher
20e8bbb46d Merge m-c to inbound a=merge 2014-06-23 18:59:54 -07:00
Wes Kocher
17ccd46921 merge b2g-inbound to m-c a=merge 2014-06-23 18:55:45 -07:00
David Burns
d5d64c921c Bug 1024642: Remove extra white space from files, no functional changes; r=dbaron 2014-06-23 10:24:16 +01:00
David Burns
a495f58aea bug 1024642: Add rebeccapurple to mochitest colors; r=jmaher 2014-06-23 10:24:08 +01:00
Projjol
416668b7a1 Bug 1021049 - Incorporate more basic information into marionette documentation. r=wlach 2014-06-23 11:34:55 -04:00
Ed Morley
0dff097299 Backed out changeset 1566b80f6c2b (bug 1026181) since the curses module isn't available 2014-06-23 17:20:02 +01:00
Thinker K.F. Li
ac3370118d Bug 1018705 - Install the test component of startupcache as one of EXTRA_COMPONENTS. r=gps 2014-06-20 23:36:00 -04:00
Bevis Tseng
9022127a2a Bug 921326 - Part 5: Add manifest.ini into webapi tests in marionette unit-tests.ini. r=htsai 2014-06-17 13:26:31 +08:00
James Graham
6de285fc0b Bug 1026181 - Make mach terminal formatter work outside mach context, r=wlach 2014-06-23 16:20:42 +01:00
Ed Morley
68344ef586 Backed out changeset 154690942f4d (bug 1027607) for morphing the test names to something that causes greater false positives 2014-06-23 15:56:01 +01:00
Ed Morley
73707d1cc0 Backed out changeset 3399263d2702 (bug 1027607) 2014-06-23 15:54:43 +01:00
Geoff Brown
2fbcaa2826 Bug 1028918 - Disable content/media/mediasource/test/test_MediaSource.html on Android 2.3; r=me 2014-06-23 08:35:52 -06:00
Andrew Halberstadt
7b3da6caf1 Bug 1027607 - Add missing 'self' on a CLOSED TREE, r=bustage 2014-06-23 08:45:52 -04:00
Andrew Halberstadt
6b61c5ac47 Bug 1027607 - Mozrunner should always pass in test_name to check_for_crashes when available, r=chmanchester 2014-06-23 08:10:30 -04:00
Chris Manchester
f84c9426f1 Bug 1020625 - Don't call structured logging's suite_start and suite_end per test suite. r=jgraham 2014-06-09 12:01:26 -04:00
Carsten "Tomcat" Book
662392adb6 Merge mozilla-central to mozilla-inbound 2014-06-26 15:51:31 +02:00
Chris Manchester
1f4f3e1586 Bug 956739 - Move marionette tests to structured logging. r=mdas 2014-01-16 14:58:56 +00:00
Geoff Brown
f57af90fe9 Bug 1030432 - Skip test_transitions_cancel_near_end.html on Android 2.3 only; no review 2014-06-25 18:58:48 -06:00
Geoff Brown
e2cd7191bd Bug 1030419 - Skip test_media_queries.html on Android 2.3 only; no review 2014-06-25 18:58:48 -06:00
Geoff Brown
3fb0d8f9ae Bug 1030403 - Skip test_reserved.html on Android 2.3 only; no review 2014-06-25 18:58:47 -06:00
Nicholas Hurley
fe7a4927a4 Bug 1026609 - HTTP/2 draft 13 part 2 - test updates. r=mcmanus 2014-06-25 17:33:17 -07:00
Mike Hommey
ccdc7b4993 Bug 883339 - Enable gtest on windows TBPL non-PGO builds. r=ted 2014-06-26 07:59:24 +09:00
Wes Kocher
04a521faea merge m-c to inbound on a CLOSED TREE 2014-06-20 14:02:54 -07:00
Wes Kocher
32ccf13781 Backed out changeset 53b54cd44410 (bug 1026181) for lots of bustage causing a CLOSED TREE 2014-06-20 12:33:36 -07:00
Tim Taubert
43f6ec0719 merge m-c to fx-team 2014-06-20 18:49:23 +02:00
Chris Cooper
ddba2c8da6 Bug 920364 - Remove unused --enable-privilege from remotereftest invocations - r=gbrown 2014-06-19 22:29:33 -04:00
Wes Kocher
0581005adc Merge inbound to m-c a=merge 2014-06-19 18:07:43 -07:00
Ed Morley
7dd2371081 Merge mozilla-central and fx-team 2014-06-19 17:20:10 +01:00
Mike de Boer
30a432a6e1 Bug 1022725: add a mock httpd.js Translation provider for tests. r=florian,felipe 2014-06-19 16:56:02 +02:00
Geoff Brown
7285ebc540 Bug 1026830 - Add LD_LIBRARY_PATH=xrePath when launching utilities; r=jmaher 2014-06-18 20:39:34 -06:00
Birunthan Mohanathas
ec8396a564 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Wes Kocher
b8d6b378bf Merge m-c to fx-team 2014-06-19 18:33:19 -07:00
Gregory Szorc
a7c2656cb5 Bug 920193 - Teach mach test how to run individual test files; r=AutomatedTester
With this change, mach test can now resolve filename arguments to tests
and can dispatch to the appropriate mach commands.

If the arguments contain tests belonging to multiple test
suites/flavors, each relevant test in invoked.

--HG--
extra : rebase_source : dae9e0a094acc587bb7ecb769789c062c7aeb34f
2014-06-18 11:21:12 -07:00
Gregory Szorc
88fb1d29b0 Bug 920193 - mach mochitest can now receive test objects; r=AutomatedTester
Similar to the previous patch, we now teach `mach mochitest` how to
execute test objects directly.

--HG--
extra : rebase_source : b69b5b74bcf6c81cff5deb28a1156ab2fcc691f7
2014-06-18 11:19:45 -07:00
Gregory Szorc
aea7810a42 Bug 920193 - mach xpcshell-test can now receive test objects; r=AutomatedTester
A subsequent patch will have another mach command dispatch into
`xpcshell-test`. To avoid redundant resolution of test paths, we now
support passing resolved test objects into the mach command.

--HG--
extra : rebase_source : 1eb0e7b1ef1e45ca163ddb152d1bbb7b6b4d02e6
2014-06-18 11:17:50 -07:00
Gregory Szorc
4999a49478 Bug 938712 - Dispatch mach test mochitest suites via mach mochitest; r=AutomatedTester
`mach test` now dispatches through `mach mochitest --flavor` where
supported. As part of testing this patch, it was discovered that `mach
test` may have been broken for quite some time, as it was still
referring to "test_file" arguments instead of "test_paths." This has
been corrected.

--HG--
extra : rebase_source : 4a704df0a67bdda575785cb9f27f050f178dc505
2014-06-17 16:03:49 -07:00
Gregory Szorc
c15e536e73 Bug 938712 - Add --flavor to mach mochitest; r=AutomatedTester
`mach mochitest` now accepts a --flavor argument to limit execution to
tests of a certain flavor. Executing `mach mochitest --flavor=X` should
be equivalent to executing `mach mochitest-X`.

This paves the road to deprecating the various `mach mochitest-X`
commands.

--HG--
extra : rebase_source : 0f8370425f54a4ec86e7f668bcbff69362e017f7
2014-06-17 15:49:41 -07:00
Gregory Szorc
b3a110713e Bug 938712 - Implement mach mochitest; r=AutomatedTester
The `mach mochitest` command is now implemented. Given test path
arguments, it will identify mochitests of any flavor and run the
appropriate mochitest suite.

If tests from multiple suites are present, it will invoke each suite
separately. Although, the output in this mode isn't very friendly.

There are a number of enhancements that could be made to this command,
including the abilities to filter by flavor and sub-suite. These will
come in another patch.

--HG--
extra : rebase_source : 9be6000e6bb508ef0c980eda9f9ebe03a4c0f02a
2014-06-17 15:42:08 -07:00
Gregory Szorc
fce0336b8c Bug 938712 - Allow multiple instantiations of MochitestOptions; r=AutomatedTester
The MochitestOptions class has a class-local definition of the options
going into the optparse instance. The default values for these options
would be reused by subsequent consumers. In the case of the profile
path, the same temporary directory would be used. In the case of list
arguments, subsequent runs would inherit members added by earlier runs.

This patch should make subsequent runs free from the baggage of the
first.

--HG--
extra : rebase_source : c55a229e67515a9133377404344872ad0935a637
2014-06-17 15:38:13 -07:00
James Graham
ae9da8bce3 Bug 1026181 - Make mach terminal formatter work outside mach context, r=wlach
--HG--
extra : rebase_source : ac66edb9f80fc5fbebebb953ca15861a91095d4b
2014-06-20 19:41:04 +01:00
Andrew Halberstadt
6161373928 Bug 1028119 - Change string in mozrunner timeout to hide newly exposed but long running perma-orange, r=edmorley 2014-06-20 13:45:05 -04:00
Malini Das
9b8a472bd9 Bug 1028239 - release updated mozlog client, r=wlach 2014-06-20 13:15:25 -04:00
Malini Das
cfa84d717c Bug 1028254 - bump marionette client version to 0.7.10, r=davehunt 2014-06-20 12:17:31 -04:00
Andrew McCreight
4061f7761e Bug 988041 - Enable LeakSanitizer for Mochitests. r=jmaher 2014-06-20 09:08:30 -07:00
Ted Mielczarek
7ee81f0ecb Bug 1023670 - Fix DeviceManager.mkDirs with a Windows path. r=wlach 2014-06-16 11:52:52 -04:00
Andrew Halberstadt
6d852cdaf6 Bug 1028119 - Fix mochitest TypeError on timeout in mozrunner, r=edmorley 2014-06-20 10:11:05 -04:00
Nathan Froyd
7d732cdc91 Bug 995417 - part 2 - testing infrastructure changes to set MOZ_DISABLE_NONLOCAL_CONNECTIONS; r=jmaher 2014-06-17 10:49:57 -04:00
Andrew Halberstadt
d638652838 Bug 997244 - Move emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin 2014-06-19 14:17:26 -04:00
Nicholas Nethercote
39f29c384a Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Wes Kocher
0771859834 Backed out changeset 81a51de30a2a (bug 997244) for breaking b2g emulator mochitests on an otherwise CLOSED TREE 2014-06-18 14:15:48 -07:00
Andrew Halberstadt
0b14f45d59 Bug 997244 - Pull emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin 2014-06-18 13:30:12 -04:00
Armen Zambrano Gasparnian
9c5e561048 Bug 989583 - Set self.testRoot and self.testRootAbs in only one place (runtests.py). r=jmaher 2014-06-17 09:50:16 -04:00
Carsten "Tomcat" Book
8a4ebf62ad merge b2g-inbound to mozilla-central a=merge 2014-06-17 14:23:57 +02:00
Nathan Froyd
ad9d2bf854 Bug 1025959 - disable checks for webapp updates during tests; r=jmaher 2014-06-16 11:47:05 -04:00
Wes Kocher
400613fa46 Backed out changeset da73c6745a10 (bug 1023670) under suspicion of causing the android bustage CLOSED TREE 2014-06-16 13:34:01 -07:00
Ted Mielczarek
e97e571d19 Bug 1025181 - [mozlog] Fix structured logging HTML formatter to actually produce results. r=jgraham 2014-06-16 11:52:52 -04:00
Ted Mielczarek
fae372fb2f Bug 1023670 - Fix DeviceManager.mkDirs with a Windows path. r=wlach 2014-06-16 11:52:52 -04:00
Armen Zambrano Gasparnian
31244d9e09 Bug 989583 - Install all tests (even disabled) from manifests. r=jmaher 2014-06-16 14:51:22 -04:00
James Graham
7f1c67ff81 Bug 1016916 - Add a 'structlog format' command for formatting logfiles, r=wlach
This replaces the __main__ sections in the formatters
2014-06-16 12:53:48 +01:00
David Rajchenbach-Teller
7f063bb1ef Bug 1010518 - Activate Task.Debugging.maintainStack on test suites. r=ted 2014-06-09 14:43:00 +02:00
Ting-Yu Lin
0a196bc8cb Bug 1024848 - part 1 - Improve selection carets test cases. r=mdas
On Windows, when selecting a word by long pressing, extra spaces after
the word will also be selected. To solve this problem, I redesign the
test cases by comparing the target content with the selected content
directly while ignoring spaces at certain test cases. I believe it's
easier to understand and less error-prone than the old
replace-selected-content-and-compare way.

I added a new method SelectionManager.selected_content() to make it
easier to get the current selected text.
2014-06-13 02:33:00 +02:00
Andrey Botalov
1e2f8eb2f6 Bug 1025838 - Add 'version' prefix to version number in HTML report. r=dhunt 2014-06-16 06:53:00 -04:00
Doug Turner
e4c4ac4a0d Bug 1019071 - increase geo.wifi.timeToWaitBeforeSending. r=garvank 2014-06-13 11:08:40 -07:00
Andrew McCreight
354c4cc1fa Bug 1023368 - ASan tests should show an error when the symbolizer isn't found. r=jmaher 2014-06-14 16:43:46 -07:00
Nathan Froyd
7fdd1535f9 Bug 1024588 - turn off useragent updates for tests, to avoid hitting the network; r=jmaher 2014-06-12 15:14:43 -04:00
Dave Hunt
31743db376 Bug 1024441 - Bump mozversion to 0.6. r=wlach 2014-06-12 04:29:00 -04:00
Ting-Yu Lin
b83352b6f4 Bug 962645 - Support wait between press->release action chain. r=mdas
wait() before press() should not raise "MarionetteException: Element has
not been pressed."
2014-06-12 02:34:00 -04:00
Ryan VanderMeulen
2921c4798a Merge m-c to inbound on a CLOSED TREE. a=merge 2014-06-12 17:32:33 -04:00
Ryan VanderMeulen
5e788e124c Merge m-c to fx-team on a CLOSED TREE. 2014-06-12 14:58:41 -04:00
Chris Manchester
2b66f8beff Bug 1021931 - Add a fallback in mozlog.structured.commandline for users of optparse. r=jgraham 2014-06-12 13:53:23 -04:00
Dave Hunt
40a85318ec Bug 1023915 - [mozversion] Support targeting device by serial identifier. r=wlach 2014-06-11 08:44:00 -04:00
William Lachance
5a9d4114aa Bug 1023883 - Update doc reference to manifestparser from manifestdestiny. r=ahal 2014-06-11 10:27:20 -04:00
Ting-Yu Lin
f912c3b2a5 Bug 1019441 - Part 2: Add marionette test cases for selection carets. r=roc, r=mdas
Add marionette test cases for selection carets feature in bug 987718.
Test cases target <input>, <textarea>, editable and non-editable
elements.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_seletioncarets.py

Run tests on b2g emulator manually:
./mach marionette-webapi layout/base/tests/marionette/test_seletioncarets.py
2014-06-11 06:28:00 -04:00
Ting-Yu Lin
16c27c8766 Bug 1019441 - Part 1: Add SelectionManager in marionette. r=mdas
* Extract those caret manipulating functions in test_touchcaret.py to
  selection.py, and generalize them for manipulating selection.
* Use SelectionManager in test_touchcaret.py.
* Remove unneeded </input> from test_touchcaret.html.
2014-06-11 03:02:00 -04:00
Ryan VanderMeulen
1c3ae110f7 Merge m-c to inbound on a CLOSED TREE. 2014-06-12 14:56:35 -04:00
Jonathan Griffin
fd0c5f398d Bug 994920 - Add --test-path to in-tree B2G mochitest config, r=ahal 2014-06-12 09:23:12 -07:00
William Lachance
e28a682e56 Bug 1021943 - Add some additional features to mozlog.structured to help with informational level logging;r=jgraham 2014-06-12 11:28:19 -04:00