Commit Graph

182 Commits

Author SHA1 Message Date
Andrew Halberstadt
d0f733c6e8 Bug 1247639 - Fix uncaught exception when running |mach mochitest| on Android, r=gbrown
MozReview-Commit-ID: 1s8x4zIhZSS
2016-02-11 16:09:45 -05:00
Andrew Halberstadt
8fa1fe045f Bug 1231784 - Install specialpowers and mochikit extensions at runtime via AddonManager.loadTemporaryAddon(), r=jgriffin
MozReview-Commit-ID: 9I56x6Vnbf7
2016-01-25 09:55:57 -05:00
Wes Kocher
d2fb8258af Backed out 3 changesets (bug 1231784) for breaking 10.10 opt jetpack tests
Backed out changeset 653df21ca861 (bug 1231784)
Backed out changeset 0aac20bc3619 (bug 1231784)
Backed out changeset edcbd7c0aa36 (bug 1231784)
2016-02-03 17:38:12 -08:00
Andrew Halberstadt
60a7fd628b Bug 1231784 - Install specialpowers and mochikit extensions at runtime via AddonManager.loadTemporaryAddon(), r=jgriffin 2016-01-25 09:55:57 -05:00
Bob Clary
d0c85ec985 Bug 1237465 - Work around Android 5.1+ permission restrictions by changing pushed directory permissions to rwx, r=gbrown. 2016-01-09 15:40:17 -08:00
Geoff Brown
b8bbeb9b3c Bug 1228060 - Allow resource://testing-common references in Android mochitests; r=jmaher 2015-11-27 11:57:15 -07:00
Andrew Halberstadt
748729e958 Bug 1225903 - Drop support for b2g desktop in mochitest, r=jgriffin
Mochitests on b2g desktop are no longer being run on any trunk branches, including
b2g-inbound. Dropping support for it significantly reduces complexity
in the mochitest harness.
2015-11-18 13:35:38 -05:00
Wes Kocher
67721e7c20 Backed out changeset 6ab228593820 (bug 1225903) for android robocop bustage CLOSED TREE 2015-11-19 11:54:17 -08:00
Andrew Halberstadt
68cee7f654 Bug 1225903 - Drop support for b2g desktop in mochitest, r=jgriffin
Mochitests on b2g desktop are no longer being run on any trunk branches, including
b2g-inbound. Dropping support for it significantly reduces complexity
in the mochitest harness.
2015-11-18 13:35:38 -05:00
Andrew Halberstadt
4be27d77a2 Bug 1042998 - Use StructuredLog.jsm for mochitest logging, r=chmanchester 2015-09-04 14:37:32 -04:00
Geoff Brown
0f569444c5 Bug 1196814 - Fail Android mochitest, robocop, reftests when Fennec is not installed; r=jmaher 2015-09-02 14:20:01 -06:00
Kaustabh Datta Choudhury
4944b7594e Bug 1162003 - Enable run-by-dir mode on Fx desktop opt builds. r=jmaher 2015-08-11 08:25:00 -04:00
Geoff Brown
034b3f321a Bug 1190975 - Do not dump device info and logcat when running mochitest via mach; r=jmaher 2015-08-06 07:27:47 -06:00
Geoff Brown
9e1b74c17f Bug 1179981 - A new test harness for robocop; r=jmaher 2015-07-09 12:30:01 -06:00
Julien Pagès
adabf84aee Bug 1177780 - remove useless stuff in automation.py. r=jgriffin 2015-06-26 22:45:18 +02:00
Andrew Halberstadt
c5ccd2f839 Bug 1171971 - Move test_paths argument out of mach and into mochitest; remove --test-path, r=chmanchester 2015-06-05 13:28:29 -04:00
Geoff Brown
1cb63fde39 Bug 1171303 - Set pref extensions.autoupdate.enabled to false to avoid testOfflinePage failures; r=mfinkle 2015-06-05 10:10:40 -06:00
Nick Alexander
ebe9712b0b Bug 1169476 -- Implement |mach robocop --serve|. r=gbrown
This adds a flag to |mach robocop| that does everything to run a
Robocop test except launch the actual test.  Instead of launching the
test, it starts the mochi.test server and launches Fennec with a test
profile; then it sits and waits forever.

This allows regular Java IDEs (IntelliJ, but previously Eclipse) to
run Robocop tests like regular instrumentation tests, "injecting" them
into the prepared testing environment.  It's quite nice!
2015-05-29 17:18:07 -07:00
Nick Alexander
245f941fb6 Bug 1170332 - Fix |mach robocop SINGLE_TEST|. r=ahal,gbrown
This patch declares robocop.ini an instrumentation manifest.  It's not
currently possible to declare tests that don't correspond to files, so
we include the .java extension.  (This could be revisited.)

In |mach robocop|, we use the generic test resolving infrastructure to
select the 'instrumentation'/'robocop' flavor/subsuite tests.  In
|runtestsremote.py|, we fall back to robocop.ini, as we always have.
2015-06-01 14:45:48 -07:00
Carsten "Tomcat" Book
a26a326fa9 Backed out changeset e91ac9a35f86 (bug 1169476) for android rc2 crashes 2015-06-01 09:38:42 +02:00
Nick Alexander
2f03d4af54 Bug 1169476 -- Implement |mach robocop --serve|. r=gbrown
This adds a flag to |mach robocop| that does everything to run a
Robocop test except launch the actual test.  Instead of launching the
test, it starts the mochi.test server and launches Fennec with a test
profile; then it sits and waits forever.

This allows regular Java IDEs (IntelliJ, but previously Eclipse) to
run Robocop tests like regular instrumentation tests, "injecting" them
into the prepared testing environment.  It's quite nice!
2015-05-25 14:27:21 -07:00
Geoff Brown
a36c30825e Bug 1162285 - Remove unused environment vars on Android; r=jmaher 2015-05-07 18:49:15 -06:00
Andrew Halberstadt
f65cf6ef73 Bug 1155338 - Move mach command arguments into mochitest harness, r=chmanchester,gbrown 2015-04-30 13:47:01 -04:00
Phil Ringnalda
a4ddeecda4 Back out f4f4e2be3765 (bug 1155338) for Android 4.0/debug mochitest bustage
CLOSED TREE
2015-05-04 18:28:16 -07:00
Andrew Halberstadt
60f092d1a8 Bug 1155338 - Move mach command arguments into mochitest harness, r=chmanchester,gbrown 2015-04-30 13:47:01 -04:00
Nick Alexander
12c061623a Bug 1160324 - Handle missing robocopApk files in runtestsremote.py. r=gbrown 2015-04-30 14:28:14 -07:00
Andrew Halberstadt
ed0c54c87a Bug 1147129 - upgrade mochitest from optparse to argparse and move android cli to mochitest_options.py, r=chmanchester 2015-03-24 17:42:24 -04:00
JW Wang
cdd97cfb44 Bug 1043403 - Support clear-key in Mochitest on B2G. r=ted. 2015-03-31 10:32:15 +08:00
Andrew Halberstadt
332356754b Bug 1131098 - Make mochitest use manifestparser's chunking algorithms and remove JS based ones, r=jmaher 2015-03-10 09:55:30 -04:00
Geoff Brown
3e990e689d Bug 1134245 - Improve formatting of devicemanager getInfo() data; r=bc 2015-02-27 13:15:00 -07:00
Andrew Halberstadt
4095e521c8 Bug 1127376 - PEP8-ify all mochitest .py files (auto-generated), r=ted
This change was generated using the `autopep8` module [1]. To replicate:

    $ pip install --upgrade autopep8
    $ cd gecko
    $ autopep8 -i -a -a -r testing/mochitest --exclude 'testing/mochitest/pywebsocket/*'

[1] https://github.com/hhatto/autopep8

--HG--
extra : rebase_source : fb127187cd488b977981338373d66cc8c735214f
2015-02-13 14:42:02 -05:00
Masatoshi Kimura
edc44f65e6 Bug 1092835 - Workaround for old ssltunnel from hostutils. r=jmaher 2014-12-13 20:09:00 +09:00
Geoff Brown
c0401f1d70 Bug 1026290 - Push chrome test files to device; r=jmaher 2014-11-26 16:51:14 -07:00
Geoff Brown
25bf0c0acc backout 272443dba538 (bug 1026290) for maybe breaking robocop 2014-11-25 23:18:12 -07:00
Geoff Brown
7e2028179f Bug 1026290 - Push chrome test files to device; r=jmaher 2014-11-25 17:31:45 -07:00
Bob Clary
28e6107d8e Bug 1079930 - Update mochitest runtestsremote.py to support connecting to device by serial number, r=ahal. 2014-10-15 07:09:16 -07:00
Ahmed Kachkach
9f8c1bb70a Bug 1068466 - fail the test job on a robocop process crash. r=jmaher 2014-09-17 13:42:00 -04:00
Nick Alexander
2e0ee03daf Bug 874729 - Part 3: Make main take args and return an integer. r=jmaher 2014-09-08 16:23:11 -07:00
Nick Alexander
26a6d7212f Bug 874729 - Part 2: Don't print extra logcats after running Robocop. r=jmaher
Before a Robocop test starts, |recordLogcat| clears the |adb logcat| on
device.  If a Robocop test fails, we print the logcat immediately after
the test.  The moved call avoids printing the logcat after all tests
have completed, which avoids printing a spurious second copy.  We still
print the logcat after running a Mochitest.
2014-09-08 16:23:10 -07:00
Nick Alexander
315729a151 Bug 929654 - Part 0: Stop pushing fennec_ids.txt; delete stale robotium.config files. r=gbrown
This patch stops pushing the obsolete fennec_ids.txt file to the testing
device and deletes the stale robotium.config file after the profile it
references is deleted.
2014-09-08 16:23:09 -07:00
Chris Manchester
949bb5e354 Bug 1045525 - Convert automationutils python logging to log through mozlog.structured.;r=ahal 2014-08-29 10:37:17 -04:00
Geoff Brown
39042780f8 Bug 1059293 - Avoid MOZ_UPLOAD_DIR failure when running tests locally; r=dminor 2014-08-27 16:23:29 -06:00
Ahmed Kachkach
4dad8c56d4 Bug 1050855 - Remove --log-file and --file-level options. r=ahal 2014-08-15 15:42:00 -04:00
Ahmed Kachkach
f4a450fd88 Bug 1039833 - Add structured logging command line arguments for mochitest/mach. r=chmanchester, r=ahal 2014-08-13 12:03:00 -04:00
Ed Morley
f89428e987 Merge latest green fx-team changeset and mozilla-central; a=merge 2014-08-14 08:50:16 +01:00
Geoff Brown
6bd1bfc0ee Bug 970994 - Add NSPR log support for Android mochitests; r=dminor
--HG--
extra : rebase_source : 354fdabf202da6ecb6823c4190b79290793a3734
2014-08-13 16:23:26 -06:00
Wes Johnston
43899b951c Bug 1046493 - Enable video casting during tests. r=gbrown 2014-08-13 14:53:34 -07:00
Geoff Brown
c3b12d660f Bug 1042097 - Upload Android tombstones to blobber; r=dminor 2014-08-11 11:55:28 -06:00
Ahmed Kachkach
9ea6436c22 Bug 1049085 - Correct list of tests for the robocop suite_start message. r=jmaher
--HG--
extra : rebase_source : 69920f81b45a9f0e3a5de945298c4e6218ba09d8
2014-08-06 13:55:00 -04:00
Ahmed Kachkach
3971b1c36d Bug 1034267 - Structured Logging for robocop. r=gbrown 2014-07-29 14:11:00 +02:00