Commit Graph

4935 Commits

Author SHA1 Message Date
Wes Kocher
9093cbe91b merge m-c to inbound on a CLOSED TREE 2014-06-20 14:02:54 -07:00
Wes Kocher
7d39d62d88 Backed out changeset 53b54cd44410 (bug 1026181) for lots of bustage causing a CLOSED TREE 2014-06-20 12:33:36 -07:00
Tim Taubert
8f55df4319 merge m-c to fx-team 2014-06-20 18:49:23 +02:00
Chris Cooper
ed828581ec Bug 920364 - Remove unused --enable-privilege from remotereftest invocations - r=gbrown 2014-06-19 22:29:33 -04:00
Wes Kocher
af6ad08f86 Merge inbound to m-c a=merge 2014-06-19 18:07:43 -07:00
Ed Morley
901a1e2acc Merge mozilla-central and fx-team 2014-06-19 17:20:10 +01:00
Mike de Boer
782d1b99f9 Bug 1022725: add a mock httpd.js Translation provider for tests. r=florian,felipe 2014-06-19 16:56:02 +02:00
Geoff Brown
bb55ebe718 Bug 1026830 - Add LD_LIBRARY_PATH=xrePath when launching utilities; r=jmaher 2014-06-18 20:39:34 -06:00
Birunthan Mohanathas
51ba75d135 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Wes Kocher
387f8bb39f Merge m-c to fx-team 2014-06-19 18:33:19 -07:00
Gregory Szorc
9789943e26 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
f94d9adf59 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
8c93fc6df0 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
abdad797bb 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
f3a669b6b1 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
257d7cb1f2 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
f4b85d5fde 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
78349a69ed 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
7f00748b02 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
d39e56d762 Bug 1028239 - release updated mozlog client, r=wlach 2014-06-20 13:15:25 -04:00
Malini Das
dfe2f6c88d Bug 1028254 - bump marionette client version to 0.7.10, r=davehunt 2014-06-20 12:17:31 -04:00
Andrew McCreight
a7fbd0d3c2 Bug 988041 - Enable LeakSanitizer for Mochitests. r=jmaher 2014-06-20 09:08:30 -07:00
Ted Mielczarek
cef4a41919 Bug 1023670 - Fix DeviceManager.mkDirs with a Windows path. r=wlach 2014-06-16 11:52:52 -04:00
Andrew Halberstadt
5dc20b0478 Bug 1028119 - Fix mochitest TypeError on timeout in mozrunner, r=edmorley 2014-06-20 10:11:05 -04:00
Nathan Froyd
b6301f2928 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
e60605718c 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
aaf6fb2124 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
e34177291e 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
7704c45325 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
da2589be17 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
1526ee8c2b merge b2g-inbound to mozilla-central a=merge 2014-06-17 14:23:57 +02:00
Nathan Froyd
80ad2a9bd1 Bug 1025959 - disable checks for webapp updates during tests; r=jmaher 2014-06-16 11:47:05 -04:00
Wes Kocher
96c7a686e5 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
1a344c3441 Bug 1025181 - [mozlog] Fix structured logging HTML formatter to actually produce results. r=jgraham 2014-06-16 11:52:52 -04:00
Ted Mielczarek
3d446408a6 Bug 1023670 - Fix DeviceManager.mkDirs with a Windows path. r=wlach 2014-06-16 11:52:52 -04:00
Armen Zambrano Gasparnian
93d68b29e0 Bug 989583 - Install all tests (even disabled) from manifests. r=jmaher 2014-06-16 14:51:22 -04:00
James Graham
104b8ea183 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
38b5a3bdca Bug 1010518 - Activate Task.Debugging.maintainStack on test suites. r=ted 2014-06-09 14:43:00 +02:00
Ting-Yu Lin
f6ddf353cd 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
cb97c4b298 Bug 1025838 - Add 'version' prefix to version number in HTML report. r=dhunt 2014-06-16 06:53:00 -04:00
Doug Turner
5e9aacd54e Bug 1019071 - increase geo.wifi.timeToWaitBeforeSending. r=garvank 2014-06-13 11:08:40 -07:00
Andrew McCreight
8f67db8df7 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
32bd637ccc 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
ecc5558981 Bug 1024441 - Bump mozversion to 0.6. r=wlach 2014-06-12 04:29:00 -04:00
Ting-Yu Lin
772d8aebb7 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
0645a74aa3 Merge m-c to inbound on a CLOSED TREE. a=merge 2014-06-12 17:32:33 -04:00
Ryan VanderMeulen
9e8801d322 Merge m-c to fx-team on a CLOSED TREE. 2014-06-12 14:58:41 -04:00
Chris Manchester
45f5ce74f1 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
99fe918e99 Bug 1023915 - [mozversion] Support targeting device by serial identifier. r=wlach 2014-06-11 08:44:00 -04:00
William Lachance
3559093118 Bug 1023883 - Update doc reference to manifestparser from manifestdestiny. r=ahal 2014-06-11 10:27:20 -04:00