Commit Graph

4788 Commits

Author SHA1 Message Date
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
Ed Morley
b2c07ba7d7 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
568fa53a54 Backed out changeset 3399263d2702 (bug 1027607) 2014-06-23 15:54:43 +01:00
Geoff Brown
badf6e2ad8 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
6ed830eb0e Bug 1027607 - Add missing 'self' on a CLOSED TREE, r=bustage 2014-06-23 08:45:52 -04:00
Andrew Halberstadt
e81d50ebd9 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
d434285aa7 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
b5b3a57e1e Merge mozilla-central to mozilla-inbound 2014-06-26 15:51:31 +02:00
Chris Manchester
a71dc2442f Bug 956739 - Move marionette tests to structured logging. r=mdas 2014-01-16 14:58:56 +00:00
Geoff Brown
cb7087a97a 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
f74f215173 Bug 1030419 - Skip test_media_queries.html on Android 2.3 only; no review 2014-06-25 18:58:48 -06:00
Geoff Brown
fcac185e2d Bug 1030403 - Skip test_reserved.html on Android 2.3 only; no review 2014-06-25 18:58:47 -06:00
Nicholas Hurley
6279bf3d04 Bug 1026609 - HTTP/2 draft 13 part 2 - test updates. r=mcmanus 2014-06-25 17:33:17 -07:00
Mike Hommey
cb8e982360 Bug 883339 - Enable gtest on windows TBPL non-PGO builds. r=ted 2014-06-26 07:59:24 +09:00
Wes Kocher
94dec8fe7d merge m-c to inbound on a CLOSED TREE 2014-06-20 14:02:54 -07:00
Wes Kocher
44ecb76c25 Backed out changeset 53b54cd44410 (bug 1026181) for lots of bustage causing a CLOSED TREE 2014-06-20 12:33:36 -07:00
Tim Taubert
33d1b97898 merge m-c to fx-team 2014-06-20 18:49:23 +02:00
Chris Cooper
e61846aac5 Bug 920364 - Remove unused --enable-privilege from remotereftest invocations - r=gbrown 2014-06-19 22:29:33 -04:00
Wes Kocher
42fd42b2b8 Merge inbound to m-c a=merge 2014-06-19 18:07:43 -07:00
Ed Morley
07c4fc7b98 Merge mozilla-central and fx-team 2014-06-19 17:20:10 +01:00
Mike de Boer
76f1fa047a Bug 1022725: add a mock httpd.js Translation provider for tests. r=florian,felipe 2014-06-19 16:56:02 +02:00
Geoff Brown
769be35983 Bug 1026830 - Add LD_LIBRARY_PATH=xrePath when launching utilities; r=jmaher 2014-06-18 20:39:34 -06:00
Birunthan Mohanathas
c910458886 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Wes Kocher
43d38fc9f4 Merge m-c to fx-team 2014-06-19 18:33:19 -07:00
Gregory Szorc
f1b93c55d7 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
f721c6efc9 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
f44a8f0eea 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
934e1e1982 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
d93e68570c 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
8f52faa679 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
f48009797f 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
334e72e71d 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
9298cca47b 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
09ae0b90b0 Bug 1028239 - release updated mozlog client, r=wlach 2014-06-20 13:15:25 -04:00
Malini Das
2a0c7dabdf Bug 1028254 - bump marionette client version to 0.7.10, r=davehunt 2014-06-20 12:17:31 -04:00
Andrew McCreight
89fc2c2986 Bug 988041 - Enable LeakSanitizer for Mochitests. r=jmaher 2014-06-20 09:08:30 -07:00
Ted Mielczarek
fb51770324 Bug 1023670 - Fix DeviceManager.mkDirs with a Windows path. r=wlach 2014-06-16 11:52:52 -04:00
Andrew Halberstadt
66408b86a8 Bug 1028119 - Fix mochitest TypeError on timeout in mozrunner, r=edmorley 2014-06-20 10:11:05 -04:00
Nathan Froyd
c43fb27cff 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
e515a76871 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
bb9d51e11e 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
a781e7257a 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
77ca422eca 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
8f2c87c879 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
b96ca5789c merge b2g-inbound to mozilla-central a=merge 2014-06-17 14:23:57 +02:00
Nathan Froyd
4300cffc6f Bug 1025959 - disable checks for webapp updates during tests; r=jmaher 2014-06-16 11:47:05 -04:00
Wes Kocher
f2196f19c4 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
4013099879 Bug 1025181 - [mozlog] Fix structured logging HTML formatter to actually produce results. r=jgraham 2014-06-16 11:52:52 -04:00
Ted Mielczarek
b42c96e40d Bug 1023670 - Fix DeviceManager.mkDirs with a Windows path. r=wlach 2014-06-16 11:52:52 -04:00
Armen Zambrano Gasparnian
74c8fc1b52 Bug 989583 - Install all tests (even disabled) from manifests. r=jmaher 2014-06-16 14:51:22 -04:00
James Graham
8472a80a48 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
95d7440f90 Bug 1010518 - Activate Task.Debugging.maintainStack on test suites. r=ted 2014-06-09 14:43:00 +02:00
Ting-Yu Lin
e5fb4d007f 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
2879a474f0 Bug 1025838 - Add 'version' prefix to version number in HTML report. r=dhunt 2014-06-16 06:53:00 -04:00
Doug Turner
0265b63edf Bug 1019071 - increase geo.wifi.timeToWaitBeforeSending. r=garvank 2014-06-13 11:08:40 -07:00
Andrew McCreight
0055cec177 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
da2e832762 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
1281cb1956 Bug 1024441 - Bump mozversion to 0.6. r=wlach 2014-06-12 04:29:00 -04:00
Ting-Yu Lin
76d6cb6ccf 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
8fcea9b19a Merge m-c to inbound on a CLOSED TREE. a=merge 2014-06-12 17:32:33 -04:00
Ryan VanderMeulen
43efef41a1 Merge m-c to fx-team on a CLOSED TREE. 2014-06-12 14:58:41 -04:00
Chris Manchester
4f7e107bd8 Bug 1021931 - Add a fallback in mozlog.structured.commandline for users of optparse. r=jgraham 2014-06-12 13:53:23 -04:00