Граф коммитов

262 Коммитов

Автор SHA1 Сообщение Дата
Geoff Brown 3e48fc1177 Bug 1433308 - Follow-up to fix lint error; r=me,a=test-only 2018-01-25 17:19:44 -07:00
Geoff Brown a993a26609 Bug 1433308 - Update 'mach android-emulator' configurations; r=jmaher
Various updates to emulator command lines. Use -skip-adb-auth. Use -verbose
instead of trying to specify debug categories. Use more -memory and -cores
where applicable. Use -ranchu and -selinux permissive where applicable.
2018-01-25 17:01:23 -07:00
Geoff Brown 6b6a2f5071 Bug 1424005 - Add support for an Android 7.0 x86_64 avd in 'mach android-emulator'; r=me, a=test-only
This enables 'mach android-emulator --version x86-7.0'. Works great for me!
2017-12-07 18:23:39 -07:00
Mike Hommey 2b2a874b47 Bug 1420355 - Statically link DMD. r=njn
--HG--
extra : rebase_source : 8e7cf975d096116b666532f3fe8aa5a7f61b5725
2017-11-28 08:10:48 +09:00
Csoregi Natalia 4ce8d0124c Backed out 7 changesets (bug 1420355) for mass failures on OS X and Android. r=backout on a CLOSED TREE
Backed out changeset a7ed89e13a4c (bug 1420355)
Backed out changeset fd6702e6e0a0 (bug 1420355)
Backed out changeset 0479dda078a2 (bug 1420355)
Backed out changeset e69357ccca9e (bug 1420355)
Backed out changeset 3742a4b69ba2 (bug 1420355)
Backed out changeset 451cd087922f (bug 1420355)
Backed out changeset d80b5c4e1dd0 (bug 1420355)
2017-11-29 03:08:46 +02:00
Mike Hommey 7c62087a43 Bug 1420355 - Statically link DMD. r=njn
--HG--
extra : rebase_source : 46800c9c0c5006a5a32f11abc209da27e65ae0f5
2017-11-28 08:10:48 +09:00
William Lachance 8eef61942a Bug 1420935 - Bump mozrunner version to 6.14 r=ahal
MozReview-Commit-ID: 2E3FotN9yJg

--HG--
extra : rebase_source : 86fbea075d2780682395633b9a82fa2b09078297
2017-11-27 11:15:23 -05:00
Tom Prince a45ea20b93 Bug 1413575: Adjust in-tree references to mozbase documentation to point in-tree. r=ahal
MozReview-Commit-ID: rctbByyjTA

--HG--
extra : rebase_source : a682eb6d77b79640ac9ec20e9d64340613bcfed7
2017-11-20 11:43:13 -07:00
Ryan VanderMeulen b16410f51c Merge inbound to m-c. a=merge 2017-11-10 16:13:15 -05:00
Geoff Brown bb5c47c068 Bug 1416006 - Offer to update host-utils from mach; r=jmaher 2017-11-10 07:03:40 -07:00
Henrik Skupin de0aa97084 Bug 1414882 - Remove unused Device.wait_for_port() in mozrunner. r=ahal
This method has not a single caller and as such doesn't seem to
be necessary anymore.

MozReview-Commit-ID: qhNK3EBc6Q

--HG--
extra : rebase_source : 2978829739f0bc465f98b8f6b727c27a03a42b11
2017-11-09 20:46:54 +01:00
Attila Craciun 7bcf901c3b Merge inbound to mozilla-central r=merge a=merge 2017-10-25 12:30:28 +03:00
Geoff Brown 5facbdc255 Bug 1410714 - Help mach tests find adb when running Android tests; r=jmaher 2017-10-24 15:17:25 -06:00
Steve Armand fa0b6e7c7e Bug 1397849 - Enable py2 and py3 linter on testing/mozbase. r=ahal
MozReview-Commit-ID: GnaVLhtO4un

--HG--
extra : rebase_source : 8839a423c5db505469b813957649b1605ed5737f
2017-09-25 22:57:18 -04:00
Geoff Brown cec74e4961 Bug 1390606 - (follow-up) Remove extra diagnostics; r=me,test-only 2017-10-20 15:30:59 -06:00
Geoff Brown c4c7c9357a Bug 1390606 - Check <sdk>/emulator for emulator exe; r=nalexander 2017-10-18 15:30:48 -06:00
Mike Hommey 37d01456dc Bug 1403366 - Don't set MOZILLA_FIVE_HOME from multiple scripts. r=froydnj
It was seldom used before previous commit and now does nothing.

--HG--
extra : rebase_source : e0b1dcdabe798af478e054cde0df65facf25ea21
2017-09-28 11:00:09 +09:00
Sebastian Hengst 59aaffbcda Backed out changeset 9264d5789f76 (bug 1397849) for import failures, e.g. in mochitests and xpcshell tests. r=backout 2017-10-04 15:25:07 +02:00
Steve Armand 50c9b712c0 Bug 1397849 - Enable py2 and py3 linter on testing/mozbase. r=ahal
MozReview-Commit-ID: GnaVLhtO4un

--HG--
extra : rebase_source : 19f47b7f5854b7ee25d9779622ce4cd734ac15e5
2017-09-25 22:57:18 -04:00
Sebastian Hengst 2e58d81866 Backed out changeset ff0705eda4bd (bug 1403366) 2017-10-04 01:26:56 +02:00
Mike Hommey 5f2f5b4e64 Bug 1403366 - Don't set MOZILLA_FIVE_HOME from multiple scripts. r=froydnj
It was seldom used before previous commit and now does nothing.

--HG--
extra : rebase_source : e0b1dcdabe798af478e054cde0df65facf25ea21
2017-09-28 11:00:09 +09:00
Sebastian Hengst 6a0c7a5682 Backed out changeset 28b00bdf83a3 (bug 1403366) 2017-09-29 17:19:35 +02:00
Mike Hommey 8142d74974 Bug 1403366 - Don't set MOZILLA_FIVE_HOME from multiple scripts. r=froydnj
It was seldom used before previous commit and now does nothing.

--HG--
extra : rebase_source : 59ba89dbd8de9c0b9361872f3f45504a46f454a2
2017-09-28 11:00:09 +09:00
Myk Melez 87ae2b846a Bug 1398345 - find llvm-symbolizer, get memory size on Mac; r=ahal 2017-09-11 09:04:57 -07:00
Eric Rahm 0938982c90 Bug 1389598 - Part 4: Remove remaining gonk refs. r=froydnj
--HG--
extra : rebase_source : 063c7f95dda063eafabfa1921366bd1957b8fe73
2017-08-11 17:45:18 -07:00
William Lachance b16d5c2ff2 Bug 1390208 - Remove metro-specific code from testing/mozbase r=ahal
MozReview-Commit-ID: 5SPYXXTlFFt

--HG--
extra : rebase_source : 59d06862b4ff2408da69ac595511fdfff3cfdc0e
2017-08-14 13:12:07 -04:00
Christian Holler b8ee76ebd8 Bug 1373256 - Changes to support -fsanitize=integer in the codebase. r=froydnj
The -fsanitize=integer analysis from UBSan can be helpful to detect signed and unsigned integer overflows in the codebase. Unfortunately, those occur very frequently, making it impossible to test anything with it without the use of a huge blacklist. This patch includes a blacklist that is broad enough to silence everything that would drain performance too much. But even with this blacklist, neither tests nor fuzzing is "clean". We can however in the future combine this with static analysis to limit ourselves to interesting places to look at, or improve the dynamic analysis to omit typical benign overflows.

It also adds another attribute that can be used on functions. It is not used right now because it was initially easier to add things to the compile-time blacklist to get started.

Finally, it includes a runtime suppression list and patches various parts in the test harnesses to support that. It is currently empty and it should not be used on frequent overflows because it is expensive. However, it has the advantage that it can be used to differentiate between signed and unsigned overflows while the compile-time blacklist cannot do that. So it can be used to e.g. silence unsigned integer overflows on a file or function while still reporting signed issues. We can also use this suppression list for any other UBSan related suppressions, should we ever want to use other features from that sanitizer.

MozReview-Commit-ID: C5ofhfJdpCS

--HG--
extra : rebase_source : 952043a441b41b2f58ec4abc51ac15fa71fc142f
2017-04-09 12:59:26 +02:00
Carsten "Tomcat" Book d8e080c10c Backed out changeset 07e0c4e4ae85 (bug 1373256) for breaking android tests 2017-06-28 14:47:55 +02:00
Christian Holler 9924ab3046 Bug 1373256 - Changes to support -fsanitize=integer in the codebase. r=froydnj
The -fsanitize=integer analysis from UBSan can be helpful to detect signed and unsigned integer overflows in the codebase. Unfortunately, those occur very frequently, making it impossible to test anything with it without the use of a huge blacklist. This patch includes a blacklist that is broad enough to silence everything that would drain performance too much. But even with this blacklist, neither tests nor fuzzing is "clean". We can however in the future combine this with static analysis to limit ourselves to interesting places to look at, or improve the dynamic analysis to omit typical benign overflows.

It also adds another attribute that can be used on functions. It is not used right now because it was initially easier to add things to the compile-time blacklist to get started.

Finally, it includes a runtime suppression list and patches various parts in the test harnesses to support that. It is currently empty and it should not be used on frequent overflows because it is expensive. However, it has the advantage that it can be used to differentiate between signed and unsigned overflows while the compile-time blacklist cannot do that. So it can be used to e.g. silence unsigned integer overflows on a file or function while still reporting signed issues. We can also use this suppression list for any other UBSan related suppressions, should we ever want to use other features from that sanitizer.

MozReview-Commit-ID: C5ofhfJdpCS

--HG--
extra : rebase_source : 64aa804965d24bb90b103c00c692a2ac6859e408
2017-04-09 12:59:26 +02:00
Andrew Halberstadt c9beaa56b4 Bug 1373294 - Fix E305 (two blank lines after method or class) in files enabled by flake8 linter, r=jmaher
This is needed before we can upgrade to flake8 3.3.0, as that version starts flagging these errors.

These files were modified by running:
autopep8 --select E305 --in-place -r <dir>

on the affected directories. I did it one dir at a time and verified the result after each.

MozReview-Commit-ID: FmlsfiKIbtr

--HG--
extra : rebase_source : 9df32258cadff5d27a0e72113c57f782756c0b18
2017-06-15 12:10:59 -04:00
Ting-Yu Chou 5dd0d99f75 Bug 1333003 part 6 - Fix test scripts to run ASan on Windows. r=ted
MozReview-Commit-ID: 6F9UXgTRb2Y

--HG--
extra : rebase_source : c618544db62381087f4190d3b12c57c340606b15
2017-03-10 12:08:34 +08:00
Geoff Brown 7cc08b99a6 Bug 1352084 - Improve debug logging for 'mach android-emulator'; r=jmaher
Various minor improvements to aid debugging:
 - recommend --verbose on most common failure
 - in verbose mode, display platform
 - in verbose mode, display file creation date of binaries
 - in verbose mode, display sdk binary versions
 - remind of x86 vs arm emulator and need for corresponding apk
2017-04-04 09:45:19 -06:00
Maja Frydrychowicz 4c76df2d97 Bug 1349786 - Fix typo introduced in Bug 1322993; r=chmanchester
MozReview-Commit-ID: 2OB3yu4BBTs

--HG--
extra : rebase_source : 8cb0ce579255cd22c0522510fd1bfaf7251b1ac8
2017-03-24 10:16:48 -04:00
Wes Kocher 93d11e3441 Backed out 7 changesets (bug 1333003) for windows asan failures a=backout
Backed out changeset 3d2b2eeda8d3 (bug 1333003)
Backed out changeset 400d409ba4ca (bug 1333003)
Backed out changeset 1ba027abdfc9 (bug 1333003)
Backed out changeset 70114135bd8c (bug 1333003)
Backed out changeset 5715b15e33c0 (bug 1333003)
Backed out changeset 375e952bd738 (bug 1333003)
Backed out changeset d5d4112599f2 (bug 1333003)

MozReview-Commit-ID: DZUHJTdjX7V
2017-03-23 11:01:44 -07:00
Ting-Yu Chou e8fe1839b7 Bug 1333003 part 6 - Fix test scripts to run ASan on Windows. r=ted
MozReview-Commit-ID: 6F9UXgTRb2Y

--HG--
extra : rebase_source : c618544db62381087f4190d3b12c57c340606b15
2017-03-10 12:08:34 +08:00
Carsten "Tomcat" Book d40c4b5e91 Backed out changeset 18fd8676751a (bug 1333003) 2017-03-23 10:38:04 +01:00
Ting-Yu Chou 9c1ec9c16c Bug 1333003 part 6 - Fix test scripts to run ASan on Windows. r=ted
MozReview-Commit-ID: 6F9UXgTRb2Y

--HG--
extra : rebase_source : ae28acf8b01688ca73b09b08769e35261c9365bd
2017-03-10 12:08:34 +08:00
Maja Frydrychowicz 63a91ec1cf Bug 1322993 - Guard against deleting nonexistent directory during emulator cleanup; r=whimboo
MozReview-Commit-ID: 7hopCdbHhj1

--HG--
extra : rebase_source : 64fcb946246aa89a00d2039f3cfbf6cdf24c62fc
2017-03-15 15:10:58 -04:00
Geoff Brown 7e2388e217 Bug 1347407 - Add an Android 7.0 AVD for mach android-emulator; r=me,test-only
Add support for 'mach android-emulator --version 7.0'. This AVD is somewhat
experimental but has worked well in my initial testing.
2017-03-16 10:44:42 -06:00
Geoff Brown 834f5465ad Bug 1346423 - Add manifest for Android x86 6.0 AVD; r=me,test-only
This adds support for 'mach android-emulator --version x86-6.0', a fast,
modern Android emulation environment for testing x86 builds of Firefox.
2017-03-14 08:08:45 -06:00
Geoff Brown 7a0127e2d0 Bug 1326492 - Update avd manifests for 'mach android-emulator', r=jmaher
I created a new Android 4.3 AVD and uploaded it to tooltool. This new
AVD is compatible with the "new" emulator included in recent versions
of the Android SDK (circa Android SDK Tools 25). To avoid destabilizing
the emulator automated tests run via taskcluster and mozharness, I'm
creating a new tooltool manifest for the new AVD and using it only from
mach android-emulator.

For consistency, I'm creating separate but identical manifests for x86,
renaming the mach-only 6.0 manifest, and deleting the old 2.3 manifest.

--HG--
rename : testing/config/tooltool-manifests/androidarm_6_0/releng.manifest => testing/config/tooltool-manifests/androidarm_6_0/mach-emulator.manifest
2017-03-10 12:34:55 -07:00
Wes Kocher adaec16e2b Merge m-c to inbound, a=merge
MozReview-Commit-ID: HtopB4vot9e
2017-02-16 17:23:00 -08:00
Geoff Brown cf5c7a3dc7 Bug 1340175 - Remove WRITE_CONTACTS permission from Android mozrunner; r=sebastian 2017-02-16 15:31:22 -07:00
Andrew Halberstadt 8415b25e37 Bug 1003417 - Add a 'mozbase' subsuite to python unittests on linux, r=ted
The subsuite is added conditionally because we only have the capability of
running source-check tasks on linux at the moment. Once taskcluster support
for windows and mac has matured a bit and the taskcluster configs support
source-check there, we should apply the subuite unconditionally.

MozReview-Commit-ID: Kk9Irz3fn14

--HG--
extra : rebase_source : b9266a06583083c36477d4e93f5462ee614cdb71
2016-11-16 16:43:42 -05:00
Brad Lassey bbb965d132 bug 1295699 - TypeError: environment can only contain strings, convert environment from unicode before passing to popen r=gps 2017-01-23 18:53:58 -05:00
Carsten "Tomcat" Book e992f5d4fe Backed out changeset 35ee729f6f1e (bug 1295699) for flake8 test failure 2017-01-23 15:09:57 +01:00
Brad Lassey 5da33996e2 bug 1295699 - TypeError: environment can only contain strings, convert environment from unicode before passing to popen r=gps 2017-01-19 11:41:23 -05:00
Andreas Tolfsen c67b15da93 Bug 1320643 - Remove Device.setup_port_forward from mozrunner; r=jmaher,whimboo
The only consumer of `mozrunner.devices.base.Device.setup_port_forward`
was Marionette, which now uses `mozdevice.DeviceManagerADB.forward`
directly.

MozReview-Commit-ID: 72ROrOixKvM

--HG--
extra : rebase_source : f998e6c37161f851da450bd98ee27ba04a50f16f
2016-12-02 19:49:37 +00:00
Andrew Halberstadt 2d76b4f70d Bug 1317970 - Make mozbase tests use mozunit for consistent formatting, r=chmanchester
The mozbase unittests don't use mozunit, so their output is confusing in the log.
This makes mozbase output consistent with the rest of the python unittests.

MozReview-Commit-ID: AIs5mza8Rn6

--HG--
extra : rebase_source : 10f65e612f5b3cebb921c47699f5a8be7cd2ba5a
2016-11-17 16:36:18 -05:00
Henrik Skupin 89b4515176 Bug 1299216 - Bump mozrunner version to 6.13. r=ahal
MozReview-Commit-ID: 2hCytAyqfsp

--HG--
extra : rebase_source : 8b9b647fcf305aa47521073947ef446ba4cb7b5a
2016-09-28 23:29:40 +02:00
Henrik Skupin c2cf729145 Bug 1299216 - [mozrunner] check_for_crashes() has to return the crash count since its last invocation. r=ahal
Adapt check_for_crashes() for latest mozcrash changes, which returns the number of crashes for both log_crashes()
and check_for_crashes() now. Also the runner should accumulate the number of crashes so it will be known at any
time how many times the process has been crashed.

MozReview-Commit-ID: Dl9FlH1TalH

--HG--
extra : rebase_source : b27895482fcad099cf4fcfc01a65fe0fbc5243e3
2016-09-21 12:57:50 +02:00
Randell Jesup 35232de3ba Bug 1311397: fix DataChannel logging for mochitests/etc r=erahm 2016-10-28 03:25:10 -04:00
Geoff Brown 08bbef87dc Bug 1311412 - Try restarting emulator without -gpu if first attempt fails; r=jmaher 2016-10-25 08:53:34 -06:00
Kartikaya Gupta f6d49dac63 Bug 1310215 - Add a verbose argument to mach install which provides useful information in case the android emulator startup fails. r=ahal
MozReview-Commit-ID: EhuBgeewqtb
2016-10-14 11:15:10 -04:00
Francesco Pischedda f45ed99748 Bug 1280573 - Add testing/mozbase to flake8 linter: r=ahal
added testing/mozbase to tools/lint/flake8.lint
fixed a first batch of PEP8 errors/warnings

at first the commad autopep8 -i --max-line-length 99 -r -j 8 .
has been used to fix simpler problems, run from testing/mozbase

some of the issues can not easily fixed :
- undefined 'names' in code for example isLinux - isLinux and isBsd "fixed" with # noqa
- undefined 'message' resolved with return fmt.format(...
- undefined 'structured' resolved replacing those with mozlog
- long comments - some remaining - addressed with # noqa
- package level import everything - addressed with # flake8: noqa

restored testing/mozbase/mozdevice/mozdevice/Zeroconf.py
fixed issues reported on mozreview
fixed ')' in testing/mozbase/mozprocess/mozprocess/qijo.py imports
finally fixed multiline string at testing/mozbase/manifestparser/tests/test_manifestparser.py:114
^^^ and again, but now with ./mach python-test --path-only testing/mozbase/manifestparser/tests/test_manifestparser.py passing
fixed testing/mozbase/manifestparser/tests/test_convert_directory.py assert

fixed this error:
10:15:21     INFO -      return lambda line: stack_fixer_module.fixSymbols(line)
10:15:21     INFO -  TypeError: fixSymbols() takes exactly 2 arguments (1 given)

fixed two spaces lint error even of #  noqa comments
restored assignement to lambda with #  noqa to silence the lint error
global noqa for testing/mozbase/manifestparser/tests/test_filters.py
stupid is/is not error...

MozReview-Commit-ID: 1FpJF54GqIi

--HG--
extra : rebase_source : 3cf0277fb36a296e3506aeacc2ff05e1b03f9eac
2016-09-30 16:08:37 +02:00
Geoff Brown 59d81d8be3 Bug 1306490 - Use '-gpu swiftshader' when starting android emulator from mach; r=jmaher 2016-10-11 13:48:37 -06:00
Maja Frydrychowicz eba70f25fe Bug 1284874 - Represent am command as one string in FennecRunner; r=ahal
When running the command for starting Fennec, quotation marks aren't
processed properly when the 'am' portion of the command is represented
with one string token per argument; the args must be joined into one string
instead.

Also add log message about command being run in BaseRunner.

MozReview-Commit-ID: KZLnOdu9UGq

--HG--
extra : rebase_source : c8072c003afec3aba18f307b8cc64332736e55fc
2016-07-25 20:40:36 -04:00
Geoff Brown 7f2f8dacb4 Bug 1294878 - Support 'mach android-emulator --version 6.0'; r=jmaher 2016-08-23 09:02:35 -06:00
Andrew Halberstadt 16c7acfe05 Bug 1292660 - Fix |mach mochitest| kwargs['app'] is None error on android, r=gbrown
This fixes a regression from bug 1288827. It happened because I moved the logic that finds
the application path a little later on in the test harness. But there was an instance where
it was being used in the android mach command before that point.

As it turned out, we don't really *need* that value there. This patch grabs the same value
from build_obj.substs which is already an argument to the function.

MozReview-Commit-ID: 3IsI4VzEIIF

--HG--
extra : rebase_source : ceb718b265c7886b831e0378436baebf2b4e7598
2016-08-05 16:40:08 -04:00
Geoff Brown b43e83e646 Bug 1289226 - Update Android 4.3 and x86 AVDs for sdk 24+ emulator compat; r=jmaher 2016-08-04 07:14:24 -06:00
Andrew McCreight bbdc92f231 Bug 1195777 - When LSan detects leaks, tell the user about the report_objects option. r=chmanchester
MozReview-Commit-ID: KWNye8GdEKv
2016-07-29 16:08:06 -07:00
Geoff Brown 6c9e1864c5 Bug 1285675 - Grant READ_EXTERNAL_STORAGE to fennec during tests; r=me 2016-07-08 17:02:51 -06:00
Henrik Skupin 4a66067bde Bug 1176758 - Release mozprocess 0.23 and mozrunner 6.12. r=ahal
MozReview-Commit-ID: JeQhPhZHbUX

--HG--
extra : rebase_source : 729a8393b18ce7b75d3e615d5010cd32744cc16f
2016-06-30 16:45:21 +02:00
Maja Frydrychowicz e3d59c813d Bug 787203 - [mozrunner] Pass application arguments to FennecRunner; r=ahal
MozReview-Commit-ID: KGPOL2P94ED

--HG--
extra : rebase_source : 9d7aaf4fd3f67429d54b664e5243026790a7cf2c
2016-06-30 17:20:54 -04:00
Maja Frydrychowicz f5a12ff0d3 Bug 787203 - [mozrunner] Expose a start_logcat method in Device; r=ahal
This is a refactor. |start_logcat| allows filtering by tag and is used for
recording gecko.log for Marionette tests on Fennec.

MozReview-Commit-ID: 9NO6jQDMQ9E

--HG--
extra : rebase_source : e4f60b5d1c9c4ed6bb6dd237d9c1433b5f04a8d6
2016-06-30 17:41:17 -04:00
Maja Frydrychowicz 1b153a70e1 Bug 787203 - [mozrunner] Update `disconnected` when cleaning up after emulator shutdown; r=ahal
Allows Marionette client's FennecInstance to clean up properly

MozReview-Commit-ID: BWuNh5cq3ZD

--HG--
extra : rebase_source : d270b2a7e503658f69b2e5ce3a972d8cc9f1b13d
2016-06-29 00:44:34 -04:00
Geoff Brown f437f61b75 Bug 1283584 - Disable android emulator authentication; r=jmaher 2016-07-04 08:06:55 -06:00
Maja Frydrychowicz a2e846edaf Bug 1278590 - Create a FennecRunner; r=ahal,gbrown
Add FennecEmulatorRunner (for convenience), FennecRunner, FennecContext
and EmulatorAVD.

Common behaviour is defined in BaseEmulator and RemoteContext to distinguish
from B2G and Fennec specifics. I've tried to decouple ArchContext from
B2GContext, as well.

The emulator/adb commands in FennecRunner and EmulatorAVD are intended to
match the behaviour seen in current Android automation (e.g. mochitest).

MozReview-Commit-ID: 1tqD0DStdHR

--HG--
extra : rebase_source : 1450f3b03f82a0f9d33e43d19632a06a51ef7253
2016-06-07 11:45:08 -04:00
Eric Rahm cffa865b22 Bug 1278399 - Use MOZ_LOG in automation. r=ted
NSPR_LOG_MODULES is deprecated in favor of MOZ_LOG, this cleans up warning
spam during testing.
2016-06-10 10:05:57 -07:00
Maja Frydrychowicz cada490dd5 Bug 1275608 - [mozrunner] Remove wait_for_system_message from Emulator; r=ahal
This code is no longer used by Marionette client or elsewhere.

MozReview-Commit-ID: 4lx9CN7XIeH

--HG--
extra : rebase_source : e0a895c02939c51ee40be5be5f999cc41420a2a7
2016-05-25 11:53:25 -04:00
Xidorn Quan 39fe310971 Bug 1271884 - Use the current python executable to run tooltool fetch rather than hard-coded python. r=jmaher
MozReview-Commit-ID: NEtTg3tih8

--HG--
extra : transplant_source : %60%A1%F4%29%F22%EFJ%D0%1D%BC%7B%1F%99%E9%95%E5_%3D%5C
2016-05-11 15:01:16 +10:00
Geoff Brown 1819bf24b7 Bug 1264656 - Avoid file exists error in |mach android-emulator --force-update|; r=jmaher 2016-04-14 13:35:05 -06:00
Geoff Brown 97d33a9827 Bug 1251012 - Remove support for Android 2.3 from mach; r=jmaher 2016-04-04 19:15:24 -06:00
Geoff Brown 342c08673d Bug 1147918 - Add mach autophone command; r=bc 2016-03-29 14:50:15 -06:00
Ms2ger 4d796781c7 Bug 1257510 - Use modern exception syntax in mozbase; r=ahal
The comma form is long-deprecated.
2016-03-18 09:03:25 +01:00
Richard Newman 89a12baeec Bug 1220184 - Eliminate Gingerbread compatibility. r=froydnj, r=nalexander
MozReview-Commit-ID: E5Ng6Y0IEU9

--HG--
extra : rebase_source : c65fae2ceaf486e536ea617e7912b3e8d97be755
extra : amend_source : cfd90e7b157a23fbe7a07e384d4702dadb603835
2016-02-24 09:25:14 -08:00
Geoff Brown 58592042ef Bug 1238611 - Use PIE version of gdbserver for JimDB (x86); r=jmaher 2016-02-16 13:15:59 -07:00
Nick Alexander e9505d1f75 Bug 1242213 - Part 0: Use org.mozilla.gecko.BrowserApp instead of .App. r=me,gbrown,bc
This approach lets us get rid of the .App <activity-alias> definitions, at
least.

In Bug 1237755, I tried pretty hard to use real intent filters, rather
than a different hard-code path name, but ran into significant issues,
and finally into the hard reality that Android 2.3 doesn't support
bare package names.  (It only supports package/class component names.)
Android 2.3 can't die fast enough.

Sadly, this approach doesn't address the issues I see loading URLs
that prompted Bug 1237755.

This is the path of least resistance.  Onwards!

Tested via:

nalexander@chocho ~/M/gecko> ./mach run
Starting: Intent { act=android.activity.MAIN cmp=org.mozilla.fennec_nalexander/org.mozilla.gecko.BrowserApp }
Warning: Activity not started, its current task has been brought to the front
nalexander@chocho ~/M/gecko> ./mach run https://mozilla.org
Starting: Intent { act=android.activity.MAIN dat=https://mozilla.org cmp=org.mozilla.fennec_nalexander/org.mozilla.gecko.BrowserApp }
nalexander@chocho ~/M/gecko> ./mach run file:///mnt/sdcard/test.html
Starting: Intent { act=android.activity.MAIN dat=file:///mnt/sdcard/test.html cmp=org.mozilla.fennec_nalexander/org.mozilla.gecko.BrowserApp }

--HG--
extra : commitid : JUIJj13Q0Py
extra : rebase_source : a62d8a74ca2772fd3933597589e386cf56caa396
extra : amend_source : 234f3b6b8ef6c6f2cce991375f5c28fe1cb32cad
extra : histedit_source : 5476222279f6be0927879a1136def94673885071%2Cca4aad42479731c97586003ee8bcdfe22a147776
2016-01-27 12:15:19 -08:00
Geoff Brown 6fe30ec610 Bug 1241907 - Grant runtime permissions before running browser tests; r=jmaher 2016-02-01 15:52:34 -07:00
Geoff Brown 94b5d0f481 Bug 1238611 - Use PIE version of gdbserver for JimDB (arm only); r=jmaher 2016-01-25 08:17:25 -07:00
Geoff Brown f7f3343535 Bug 1237838 - Update Android x86 avd; r=me 2016-01-14 15:16:37 -07:00
Geoff Brown fedf1a6b53 Bug 1236451 - Make some android mach commands more robust; r=jmaher 2016-01-06 06:37:41 -07:00
Edgar Chen 529a4ce944 Bug 1143380 - [mozrunner] Increase timeout value for waiting emulator to start; r=ahal
--HG--
extra : commitid : JcK3GQW7vR9
extra : rebase_source : 70f1f4865bff8d455d5ad392e06ed3e49f2e1654
extra : amend_source : ff7f2673de27f95f99f4d062168c968b377fb5ac
2015-12-22 10:27:26 +08:00
Alessio Placitelli b1b366d5b2 Bug 1235559 - |mach android-emulator| looks for the wrong file names on Windows. r=gbrown 2015-12-29 06:25:00 +01:00
Geoff Brown 8696301230 Bug 1232962 - Use emulator device-serial for android-emulator command only; r=jmaher 2015-12-16 13:59:11 -07:00
Geoff Brown 0f937057c8 Bug 1218003 - Do not pass -kvm-enable to emulator on osx; r=nalexander 2015-12-14 18:55:59 -07:00
Geoff Brown 368561434d Bug 1231683 - Disregard unusable devices in android mach commands; r=jmaher 2015-12-14 18:55:58 -07:00
Geoff Brown 99bec9d91c Bug 1231665 - Specify deviceSerial for android emulator adb commands; r=jmaher 2015-12-14 18:55:57 -07:00
Geoff Brown f9e24efcb2 Bug 1226631 - Avoid warning about JimDB utils update; r=jmaher 2015-11-20 10:05:31 -07:00
Geoff Brown 446af250a7 Bug 1219807 - Support 'mach run --debug' for Android; r=jmaher 2015-11-19 13:15:34 -07:00
Edgar Chen cea3a0af78 Bug 1223676 - [Marionette] Remove waiting for homescreen on emulator. r=ahal
--HG--
extra : commitid : EppY5lQSe21
extra : rebase_source : 2520211aab893431f9af32ad2217c1b604c637e3
extra : amend_source : beb71aefc8d313ff0eeeec4becebac785535e3b2
2015-11-11 15:23:22 +08:00
Geoff Brown c9da8d5ed0 Bug 1220238 - Use local tooltool manifest if available; r=jmaher 2015-10-30 18:53:24 -06:00
Geoff Brown a42b25a374 Bug 1219803 - Support 'mach run' for Android; r=jmaher 2015-10-30 10:57:35 -06:00
Julien Pagès 368f4d5884 Bug 1190371 - [mozrunner] bump release to 6.11. r=me
--HG--
extra : commitid : Hxezbh1Op1O
extra : rebase_source : a3b936a49ee2bb908346ae34a6be8e239e9354bd
extra : amend_source : 154f045b19c06bdd0059c6e86915ead83f04c4b3
2015-10-23 06:32:19 +02:00
Julien Pagès e1322faaea Bug 1190371 - [mozrunner] make mozcrash an optional dependency of mozrunner. r=ted
--HG--
extra : rebase_source : 0616b5742b2393a7cd2f139c369ead8d856df807
2015-09-22 07:14:00 +02:00
Nick Alexander 960eeeb471 Bug 1204260 - Pre: Don't expose ANDROID_{BUILD,PLATFORM}_TOOLS. r=glandium,gbrown
This stops exposing ANDROID_BUILD_TOOLS and ANDROID_PLATFORM_TOOLS via
AC_SUBST.  We expose most tools already, and this adds EMULATOR, and
consumes it (and ADB) where appropriate.

--HG--
extra : commitid : 9u0pibgE00
extra : rebase_source : 04e420c53d1d75ab8f055436d7dd69e148168c67
extra : histedit_source : a930a34f4dda44ee91b52caf68e02877b0502f01
2015-09-12 14:59:31 -04:00
Andrew McCreight ac5e9c32f9 Bug 1205348 - Always do shutdown CCs when NS_FREE_PERMANENT_DATA is defined. r=smaug 2015-09-16 10:10:00 +02:00
Geoff Brown 0fd7fa94c8 Bug 1199377 - Fetch host-utils for Android tests when needed; r=jmaher 2015-09-16 16:58:52 -06:00
Geoff Brown 32371e9e31 Bug 1203627 - Change search order for finding android emulator; r=ahal 2015-09-14 08:40:34 -06:00
Nathan Froyd 956d3c942b Bug 1196430 - part 6 - move cut-and-paste stack fixer code into mozrunner; r=wlach
This code is cut-and-pasted in several different places around the tree.
Let's put it in a common place.
2015-08-26 19:57:36 -04:00