Commit Graph

172 Commits

Author SHA1 Message Date
Geoff Brown
eb2268da9a 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
79beb7ae9f Bug 1162003 - Enable run-by-dir mode on Fx desktop opt builds. r=jmaher 2015-08-11 08:25:00 -04:00
Geoff Brown
2b9a6d4589 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
149d025aa3 Bug 1179981 - A new test harness for robocop; r=jmaher 2015-07-09 12:30:01 -06:00
Julien Pagès
9bd7c862a6 Bug 1177780 - remove useless stuff in automation.py. r=jgriffin 2015-06-26 22:45:18 +02:00
Andrew Halberstadt
2651e9f398 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
80e831ccf6 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
f72af9b890 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
dd2910c8c6 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
5fdf49ec4a Backed out changeset e91ac9a35f86 (bug 1169476) for android rc2 crashes 2015-06-01 09:38:42 +02:00
Nick Alexander
888eeac8d5 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
76cb837800 Bug 1162285 - Remove unused environment vars on Android; r=jmaher 2015-05-07 18:49:15 -06:00
Andrew Halberstadt
8162ad7d63 Bug 1155338 - Move mach command arguments into mochitest harness, r=chmanchester,gbrown 2015-04-30 13:47:01 -04:00
Phil Ringnalda
32ac011754 Back out f4f4e2be3765 (bug 1155338) for Android 4.0/debug mochitest bustage
CLOSED TREE
2015-05-04 18:28:16 -07:00
Andrew Halberstadt
8d7332d88e Bug 1155338 - Move mach command arguments into mochitest harness, r=chmanchester,gbrown 2015-04-30 13:47:01 -04:00
Nick Alexander
8ef8e986c9 Bug 1160324 - Handle missing robocopApk files in runtestsremote.py. r=gbrown 2015-04-30 14:28:14 -07:00
Andrew Halberstadt
0f300312cf 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
d62906cd4d Bug 1043403 - Support clear-key in Mochitest on B2G. r=ted. 2015-03-31 10:32:15 +08:00
Andrew Halberstadt
37afafc1a3 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
5859050614 Bug 1134245 - Improve formatting of devicemanager getInfo() data; r=bc 2015-02-27 13:15:00 -07:00
Andrew Halberstadt
a729c1fa7d 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
2015-02-13 14:42:02 -05:00
Masatoshi Kimura
f4636fca5b Bug 1092835 - Workaround for old ssltunnel from hostutils. r=jmaher 2014-12-13 20:09:00 +09:00
Geoff Brown
62bcbfdab0 Bug 1026290 - Push chrome test files to device; r=jmaher 2014-11-26 16:51:14 -07:00
Geoff Brown
63e9a84585 backout 272443dba538 (bug 1026290) for maybe breaking robocop 2014-11-25 23:18:12 -07:00
Geoff Brown
d165da69e1 Bug 1026290 - Push chrome test files to device; r=jmaher 2014-11-25 17:31:45 -07:00
Bob Clary
23d90e14c6 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
8b992726d9 Bug 1068466 - fail the test job on a robocop process crash. r=jmaher 2014-09-17 13:42:00 -04:00
Nick Alexander
7df6995626 Bug 874729 - Part 3: Make main take args and return an integer. r=jmaher 2014-09-08 16:23:11 -07:00
Nick Alexander
90dbbadcb8 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
cd69438f22 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
8fc068d7db Bug 1045525 - Convert automationutils python logging to log through mozlog.structured.;r=ahal 2014-08-29 10:37:17 -04:00
Geoff Brown
b5f57d4237 Bug 1059293 - Avoid MOZ_UPLOAD_DIR failure when running tests locally; r=dminor 2014-08-27 16:23:29 -06:00
Ahmed Kachkach
e505a4de2d Bug 1050855 - Remove --log-file and --file-level options. r=ahal 2014-08-15 15:42:00 -04:00
Ahmed Kachkach
16da20cb97 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
eb06a8e0dc Merge latest green fx-team changeset and mozilla-central; a=merge 2014-08-14 08:50:16 +01:00
Geoff Brown
595cb757af Bug 970994 - Add NSPR log support for Android mochitests; r=dminor 2014-08-13 16:23:26 -06:00
Wes Johnston
a0b0198506 Bug 1046493 - Enable video casting during tests. r=gbrown 2014-08-13 14:53:34 -07:00
Geoff Brown
86d444e03c Bug 1042097 - Upload Android tombstones to blobber; r=dminor 2014-08-11 11:55:28 -06:00
Ahmed Kachkach
903cedf0e0 Bug 1049085 - Correct list of tests for the robocop suite_start message. r=jmaher 2014-08-06 13:55:00 -04:00
Ahmed Kachkach
a83ca4356f Bug 1034267 - Structured Logging for robocop. r=gbrown 2014-07-29 14:11:00 +02:00
Ted Mielczarek
2bd9a0de26 bug 1041347 - Package and provide path to fake GMP plugin for Mochitests. r=jmaher 2014-07-25 07:01:13 -04:00
Carsten "Tomcat" Book
74e2175618 Backed out changeset 0356454faea3 (bug 1041347) for mochitest 1 test failures on B2G Desktop Linux on a CLOSED TREE 2014-07-25 07:57:57 +02:00
Ted Mielczarek
08e679d323 bug 1041347 - Package and provide path to fake GMP plugin for Mochitests r=jmaher 2014-07-24 11:31:43 -04:00
Ahmed Kachkach
e420cd4b58 Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger 2014-07-17 09:02:00 +02:00
Vaibhav Agrawal
4da1fc12c9 Bug 1035811 - Mochitest manifest warnings dumped at start of each robocop test. r=gbrown 2014-07-15 23:55:00 +02:00
William Lachance
3b31c2fadb Bug 1036530 - Instantiate / initialize device root only when needed in mozdevice. r=bc 2014-07-11 15:29:30 -04:00
Carsten "Tomcat" Book
1358119f32 Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows 2014-07-11 14:15:29 +02:00
Ahmed Kachkach
64d66ddf12 Bug 886570 - Initial integration of structured logs in mochitest. r=ahal,Ms2ger 2014-07-10 13:33:00 +02:00
Vaibhav Agrawal
05898789a0 Bug 1014125 - Bisection Base Patch. r=ahal 2014-07-04 13:55:00 +02:00
Vaibhav Agrawal
f5862895bf Bug 925699 - pymake/mach mochitest-plain don't delete the temporary profile. r=jmaher 2014-06-23 11:24:00 +02:00