Commit Graph

4849 Commits

Author SHA1 Message Date
Chris Manchester
4ab640dc30 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
b05ff30670 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
af31fe5193 Bug 785753 - Adding two crashtests. 2014-07-13 13:01:43 +00:00
Bob Clary
3732d53cff Bug 1035254 - [mozdevice] - Add ADBAndroid.get_battery_percentage(), r=wlach, DONTBUILD. 2014-07-10 06:46:23 -07:00
Chris Manchester
c518ffdc63 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
72b3aa3d83 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]
b601a8b856 Bug 1017332 - increase WebRTC logging on B2G emulator to match desktop levels. r=bwc 2014-07-08 17:00:00 +02:00
Bobby Holley
fbd72ed4f5 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
4b21b12c0f 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
11ac3bb0b8 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
e012745a76 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
efde20fcd6 Bug 1036566 - use 'mkdir -p' before packaging tests; r=gps 2014-07-09 13:36:58 -04:00
Mike Shal
fcd87a8139 Bug 1036557 - Fix 'make check' with no MOZ_OBJDIR; r=glandium 2014-07-07 19:55:51 -04:00
William Lachance
396be23bec Bug 1037707 - Allow setting dmcli's verbose mode via environment variable. r=mcote 2014-07-14 16:01:11 -04:00
William Lachance
dab076ab98 Bug 1036530 - Instantiate / initialize device root only when needed in mozdevice. r=bc 2014-07-11 15:29:30 -04:00
Ryan VanderMeulen
f6dd40d9e0 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
5d5e6e61fa Bug 1034044 - Remove dependency on Marionette session from get_device_manager. r=jgriffin 2014-07-15 12:12:00 +02:00
Martijn Wargers
0fb3c68ed4 Bug 945781 - Remove ChromePowers.js. r=jmaher 2014-07-14 23:40:49 +02:00
Robert O'Callahan
080219004e 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
f41482e9c9 Bug 1037532 - "mozversion should have documentation on how to use its API". r=wlachance 2014-07-16 12:56:00 +02:00
Chris Manchester
9994be8aa3 Bug 956739 - Move marionette tests to structured logging.;r=mdas 2014-01-16 14:58:56 +00:00
Carsten "Tomcat" Book
611b2eff0f merge fx-team to mozilla-central a=merge 2014-07-08 15:10:56 +02:00
Gregory Szorc
2abc4b387d 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
be485faf91 Bug 1034406 - [mozdevice] Do not allow ADBCommand to be instantiated, r=wlach, DONTBUILD. 2014-07-07 08:19:35 -07:00
Carsten "Tomcat" Book
c511c6f006 Merge mozilla-central to mozilla-inbound 2014-07-07 15:20:32 +02:00
Carsten "Tomcat" Book
689667a392 merge b2g-inbound to mozilla-central a=merge 2014-07-07 15:05:36 +02:00
Vaibhav Agrawal
2f5ef292fc Bug 1014125 - Bisection Base Patch. r=ahal 2014-07-04 13:55:00 +02:00
Andrew Comminos
0ed1a0f5e1 Bug 958868 - Add support for delta line and page accumulation; r=masayuki, sr=smaug 2014-07-07 18:54:14 +09:00
John Shih
d47b4b3df0 Bug 1000040 - Part 3: Test cases. r=vchang, f=vyang 2014-06-12 16:07:23 +08:00
Geoff Brown
656773a2c3 Bug 1031103 - Enable test_bug659743.xml on Android 2.3; no review 2014-07-03 22:11:42 -06:00
Geoff Brown
f40e8c3793 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
c66d1ccadc Bug 1033824 - Bump Marionette to 0.7.11, r=mdas 2014-07-03 16:17:18 -07:00
Ryan VanderMeulen
19918db2e4 Merge inbound to m-c. a=merge 2014-07-03 17:03:48 -04:00
Ryan VanderMeulen
6933930a60 Merge m-c to b2g-inbound. a=merge 2014-07-03 12:38:30 -04:00
Carsten "Tomcat" Book
946a8bf47e merge mozilla-inbound to mozilla-central a=merge 2014-07-03 13:46:41 +02:00
Henrik Skupin
3deefe90d8 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
f51590a445 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
c812d8ad9d Bug 1032799 - Pass -chrome argument to B2G Desktop. r=jgriffin 2014-07-02 01:49:00 -04:00
Wes Kocher
6daa3aa4ee Merge m-c to inbound 2014-07-02 17:46:56 -07:00
Wes Kocher
0908f44530 Merge m-c to inbound 2014-07-02 17:44:20 -07:00
Geoff Brown
a3bbd6e982 Bug 981889 - Enable content/media/webaudio/test mochitests on Android 2.3; no review 2014-07-02 18:43:41 -06:00
Geoff Brown
b0077e1006 Bug 981898 - Enable content/media/test mochitests on Android 2.3; no review 2014-07-02 18:43:40 -06:00
Jonathan Griffin
72cf0d02b8 Bug 1033033 - Don't access the device_manager during __init__, r=mdas 2014-07-02 15:23:10 -07:00
Mike Hommey
8e1994581d 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
45bfe539f6 Bug 1033458 - Update mozrunner version, r=ahal. 2014-07-02 22:20:53 +01:00
James Graham
3b3584dce9 Bug 1032136 - Make mozrunner 6 work for on-device B2G testing, r=ahal. 2014-07-02 22:20:52 +01:00
Henrik Skupin
5bb31a9665 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
cc4a615601 Bug 1027574 - Mozrunner should use logcat format 'time' not 'threadtime'; r=ahal 2014-07-04 15:04:16 +01:00
Marco Castelluccio
033d32594d 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
702ff05ae0 Bug 951976 - part 2, Test cases. r=gene 2014-05-12 18:55:49 +08:00
Henrik Skupin
6675ef03c8 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
7949602ce3 Bug 1035006 - Fix pyflakes warnings in mozbase.;r=wlach 2014-07-07 14:51:34 -04:00
Sylvestre Ledru
f329abf2f6 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
31bff49187 Merge inbound to m-c a=merge 2014-07-01 16:42:57 -07:00
Henrik Skupin
7c15bcc85b Bug 1032787 - [tps] FirefoxRunner should not reset environment variables. r=aeftimie a=testonly DONTBUILD 2014-07-01 17:30:58 +02:00
Chris Manchester
5d21662a25 Bug 1030845 - Modify mozlog.structured's tbplformatter to comply with tbpl. r=edmorley,jgraham 2014-07-01 10:42:16 -04:00
Wes Kocher
36f8d33231 Merge fx-team to m-c a=merge 2014-06-30 18:22:10 -07:00
Wes Kocher
1ef7eaaf7e Merge inbound to m-c a=merge 2014-06-30 18:00:36 -07:00
Andrew Halberstadt
4b7ec64cf2 Bug 1031415 - Fix bad exception handling in emulator.wait_for_system_message(), r=jgriffin 2014-06-30 16:28:00 -04:00
Cosmin Malutan
34f0f71083 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
a8853d2eac Bug 1030149 - dummify all the sync prefs, r=ttaubert 2014-06-25 16:32:06 +01:00
Geoff Brown
0c8b8f27b3 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
cb2e9869d1 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
eae2eaec8b 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
13419df503 Merge inbound to m-c on a CLOSED TREE. a=merge 2014-06-26 17:13:04 -04:00
Geoff Brown
f78237872d 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
d74eb658ea Bug 1030805 - Stop claiming all gtests are AsyncPanZoomController tests. r=BenWa 2014-06-26 12:19:33 -04:00
Ryan VanderMeulen
538a3724c0 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
3374d6a972 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
279122ef4f Backed out changeset 1fd65e3c2f4a (bug 1012712) 2014-06-26 16:18:34 +02:00
Carsten "Tomcat" Book
9c954f17e2 merge fx-team to mozilla-central a=merge 2014-06-26 15:33:24 +02:00
Wes Kocher
97b6283a0e Merge m-c to fx-team a=merge 2014-06-25 18:44:50 -07:00
Bob Clary
79fb2b73df Bug 1012712 - Add adb.py to devicemanager package, r=wlach. DONTBUILD 2014-06-25 21:08:41 -07:00
Carsten "Tomcat" Book
d3ff9ea4b7 Merge mozilla-central to mozilla-inbound 2014-06-25 15:42:28 +02:00
Carsten "Tomcat" Book
25d439f8a6 merge mozilla-inbound to mozilla-central a=merge 2014-06-25 15:28:19 +02:00
Cosmin Malutan
3992ca374b 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
7a0e17430f 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
601895620c Bug 1023368 - Non-fatally provide information about the LLVM symbolizer in cppunittests. r=jmaher 2014-06-24 11:27:39 -07:00
Andrew Halberstadt
f004c79311 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
bdd614b6c9 bug 1027364 - multiple http/2 header frames on same stream r=hurley 2014-06-19 23:42:29 -04:00
Vaibhav Agrawal
52cbe3efa8 Bug 925699 - pymake/mach mochitest-plain don't delete the temporary profile. r=jmaher 2014-06-24 12:02:07 -04:00
Joel Maher
d95ef46816 Bug 1028999 - Update talos to get recent changes. r=avih 2014-06-24 11:26:08 -04:00
Carsten "Tomcat" Book
0929f4281d 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
e4e57eea11 Backed out changeset 8499eefa342e (bug 958868) for m2 test failures on a CLOSED TREE 2014-06-24 12:49:47 +02:00
Vaibhav Agrawal
2a2d7abb8e Bug 925699 - pymake/mach mochitest-plain don't delete the temporary profile. r=jmaher 2014-06-23 11:24:00 +02:00
Andrew Comminos
3f3031e6fb 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
6dbc74f1ee 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
79a81c9110 Bug 1028918 - Re-enable test_MediaSource.html on Android 2.3; no review 2014-06-23 21:17:02 -06:00
Brian Smith
f38525a8ab 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
b6b202b6bb 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
489a7f51ba 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
d877c4afe7 Merge m-c to inbound a=merge 2014-06-23 18:59:54 -07:00
Wes Kocher
fb575455f8 merge b2g-inbound to m-c a=merge 2014-06-23 18:55:45 -07:00
David Burns
3a9c1410f8 Bug 1024642: Remove extra white space from files, no functional changes; r=dbaron 2014-06-23 10:24:16 +01:00
David Burns
9149ea4fef bug 1024642: Add rebeccapurple to mochitest colors; r=jmaher 2014-06-23 10:24:08 +01:00
Projjol
c439a7092f Bug 1021049 - Incorporate more basic information into marionette documentation. r=wlach 2014-06-23 11:34:55 -04:00
Ed Morley
8480d7038f 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
e8a4049fa3 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
53b6832cca 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
93242027db Bug 1026181 - Make mach terminal formatter work outside mach context, r=wlach 2014-06-23 16:20:42 +01:00