Commit Graph

78 Commits

Author SHA1 Message Date
Geoff Brown
94e2b5ece5 Bug 1285040 - Adapt device manager pushDir to latest adb; r=bc 2016-07-08 09:20:03 -06:00
Andreas Tolfsen
a9bbc162ce Bug 1240723 - Harmonise xpcshell head- and tail list computation; r=ted.mielczarek
Head- and tail entries in manifest files are not mandatory on
local/desktop xpcshell tests, and they should not be on remote/B2G either.

This change makes remotexpcshelltests and runxpcshelltests agree on how
to get head- and tail files.

--HG--
extra : rebase_source : a1f55d8476f73983d752222ff993962713f7b5e8
2016-01-19 13:48:53 +00:00
Geoff Brown
c0573a940f Bug 1144393 - Use /storage/sdcard in preference to /sdcard for adb device root and enable test_file_equality.js; r=jmaher 2015-12-21 14:24:08 -07:00
James Graham
7c64f71620 Bug 1207747 - Ensure that logging command line options are always available when running xpcshell tests, r=chmanchester 2015-10-08 10:28:15 +01:00
James Graham
e72c228cfc Bug 1193257 - Make xpcshell harness command line arguments path filters for tests, r=ahal 2015-09-17 10:51:02 +01:00
Geoff Brown
65a6116f7a Bug 1202102 - Apply szip to libs pushed for Android cppunit and xpcshell tests; r=dminor 2015-09-09 07:12:58 -06:00
Hiroyuki Ikezoe
d0b622ad0f Bug 1150818 - Part 2: Load mozinfo.json into xpcshell tests. r=ted 2015-08-20 16:06:00 -04:00
David Keeler
59ef11f506 bug 1188100 - fold PSM's test_client_cert.js into necko's test_tls_server.js r=mcmanus
--HG--
rename : security/manager/ssl/tests/unit/test_client_cert/cert_dialog.js => netwerk/test/unit/client_cert_chooser.js
rename : security/manager/ssl/tests/unit/test_client_cert/cert_dialog.manifest => netwerk/test/unit/client_cert_chooser.manifest
extra : amend_source : 249efd8e1bc537cf14b3199865df18b8aba62d10
2015-07-29 14:27:54 -07:00
Andrew Halberstadt
2be5ff0c10 Bug 1014760 - Move mozlog.structured to mozlog; Move mozlog to mozlog.unstructured, r=jgraham
Mozlog currently has two implementations. The top level package is based on the logging module and is
deprecated. The newer structured logging implementation lives in mozlog.structured. This patch swaps the
two, so the top level mozlog module contains the recommended implementation, while mozlog.unstructured
contains the old one.

--HG--
rename : testing/mozbase/docs/mozlog_structured.rst => testing/mozbase/docs/mozlog.rst
rename : testing/mozbase/mozlog/mozlog/structured/commandline.py => testing/mozbase/mozlog/mozlog/commandline.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/__init__.py => testing/mozbase/mozlog/mozlog/formatters/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/base.py => testing/mozbase/mozlog/mozlog/formatters/base.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/errorsummary.py => testing/mozbase/mozlog/mozlog/formatters/errorsummary.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/__init__.py => testing/mozbase/mozlog/mozlog/formatters/html/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/html.py => testing/mozbase/mozlog/mozlog/formatters/html/html.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/main.js => testing/mozbase/mozlog/mozlog/formatters/html/main.js
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/style.css => testing/mozbase/mozlog/mozlog/formatters/html/style.css
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/xmlgen.py => testing/mozbase/mozlog/mozlog/formatters/html/xmlgen.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/machformatter.py => testing/mozbase/mozlog/mozlog/formatters/machformatter.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/tbplformatter.py => testing/mozbase/mozlog/mozlog/formatters/tbplformatter.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/unittest.py => testing/mozbase/mozlog/mozlog/formatters/unittest.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/xunit.py => testing/mozbase/mozlog/mozlog/formatters/xunit.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/__init__.py => testing/mozbase/mozlog/mozlog/handlers/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/base.py => testing/mozbase/mozlog/mozlog/handlers/base.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/bufferhandler.py => testing/mozbase/mozlog/mozlog/handlers/bufferhandler.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/statushandler.py => testing/mozbase/mozlog/mozlog/handlers/statushandler.py
rename : testing/mozbase/mozlog/mozlog/structured/logtypes.py => testing/mozbase/mozlog/mozlog/logtypes.py
rename : testing/mozbase/mozlog/mozlog/structured/reader.py => testing/mozbase/mozlog/mozlog/reader.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/__init__.py => testing/mozbase/mozlog/mozlog/scripts/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/format.py => testing/mozbase/mozlog/mozlog/scripts/format.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/logmerge.py => testing/mozbase/mozlog/mozlog/scripts/logmerge.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/unstable.py => testing/mozbase/mozlog/mozlog/scripts/unstable.py
rename : testing/mozbase/mozlog/mozlog/structured/stdadapter.py => testing/mozbase/mozlog/mozlog/stdadapter.py
rename : testing/mozbase/mozlog/mozlog/structured/structuredlog.py => testing/mozbase/mozlog/mozlog/structuredlog.py
rename : testing/mozbase/mozlog/mozlog/logger.py => testing/mozbase/mozlog/mozlog/unstructured/logger.py
rename : testing/mozbase/mozlog/mozlog/loggingmixin.py => testing/mozbase/mozlog/mozlog/unstructured/loggingmixin.py
rename : testing/mozbase/mozlog/mozlog/loglistener.py => testing/mozbase/mozlog/mozlog/unstructured/loglistener.py
extra : commitid : 3JWk75JY4N0
extra : rebase_source : 229bad7a7bf8ead013ce62d128c0896a75cad393
2015-07-16 10:38:40 -04:00
Andrew Halberstadt
056bddce11 Bug 987360 - Add ability to tag tests with arbitrary strings and run them, r=chmanchester
Add a `tags` attribute to a test or DEFAULT section in a manifest:

[test_foo]
tags = foo

Then run all tests with a given tag by passing in `--tag foo` to a supported test harness. So far mochitest, xpcshell and marionette are supported.

--HG--
extra : rebase_source : d75905da1ca021a15a9538117d3866425f73d962
extra : source : 3c34fd480729e3b6684fba747ff61078f672ce16
2015-03-19 16:15:33 -04:00
Geoff Brown
e11572838a Bug 1130187 - Optimize devicemanager calls during remote xpcshell tests; r=bc 2015-02-12 16:48:41 -07:00
Geoff Brown
c7d65fd1a2 Bug 1128745 - Avoid 'no attribute' error on remote xpcshell timeout; r=jmaher 2015-02-12 16:48:40 -07:00
Geoff Brown
0f3021e9c6 Bug 1127928 - Increase pushDir timeout for xpcshell tests directory to 600 seconds; r=wlach 2015-01-30 15:23:41 -07:00
David Lubin
ed80762e89 Bug 1091277 - Move replaceBackSlashes out of automationutils, r=jgriffin 2014-10-30 14:57:38 -07:00
Chris Manchester
08900914f0 Bug 1033126 - Convert xpcshell tests to use mozlog.structured format for logging.;r=ted 2014-10-22 15:53:42 -04:00
J. Ryan Stinnett
ce8794da11 Bug 1040130 - Allow specifying a client cert for sockets. r=keeler, r=mcmanus 2014-08-07 16:32:00 -04:00
William Lachance
ba2b4b855e Bug 1036530 - Instantiate / initialize device root only when needed in mozdevice. r=bc 2014-07-11 15:29:30 -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
Geoff Brown
a847cfea9d Bug 978132 - Copy more binaries to device for Android xpcshell tests; r=jmaher 2014-04-29 15:09:27 -06:00
Geoff Brown
463a68ebe0 Bug 875814: Fix timeout handling for remote xpcshell tests; r=jmaher 2014-02-08 09:19:20 -07:00
Geoff Brown
d74ea70de7 Bug 945975 - Add mach support for Android xpcshell tests; r=ted 2013-12-13 21:20:39 -07:00
Geoff Brown
75d46e2b13 Bug 938706 - (2) Put Android xpcshell minidumps in a separate directory; r=ted 2013-11-21 10:22:18 -07:00
Geoff Brown
95fbb72d9b Bug 938706 - (1) Fix minidumps for Android xpcshell; r=ted 2013-11-21 10:22:16 -07:00
Geoff Brown
c3419b32b6 Bug 862478 - Import devicemanager from mozdevice in remotexpcshelltests.py; r=jmaher 2013-11-17 10:23:23 -07:00
Geoff Brown
604ca8e900 Bug 906081 - (1) Support remote os version in android xpcshell manifests; r=ted 2013-10-08 13:14:36 -06:00
Mihnea Dobrescu-Balaur
fa0ba039e8 Bug 912909 - Call setLD_LIBRARY_PATH in runtestsb2g. r=jgriffin 2013-09-05 17:58:54 -07:00
Geoff Brown
3cd3ec33b6 Bug 902645 - Use root to create android xpcshell xpcb directory; r=jmaher 2013-08-15 17:06:01 -07:00
Mihnea Dobrescu-Balaur
bfdce106f0 Bug 887054 - Part 1: Refactor xpcshell test harness to support parallel test runs, disabled in automation. r=ahal, r=ted 2013-07-19 19:27:14 -07:00
Geoff Brown
197e217119 Bug 902645 - Use root to create android xpcshell xpcb directory; r=jmaher 2013-08-09 09:22:26 -07:00
Mihnea Dobrescu-Balaur
76bb9647a6 Bug 890098 - Follow-up: Always set the plugins dir. r=jgriffin 2013-07-23 23:08:46 -07:00
Mihnea Dobrescu-Balaur
d1f41e9cc8 Bug 892121 - Every xpcshell test should get its own plugins dir. r=gbrown, r=ted 2013-07-17 10:53:30 -07:00
Mihnea Dobrescu-Balaur
c58af80dce Bug 892021 - Add a do_get_tempdir function to head.js. r=ted, r=gbrown 2013-07-16 09:38:35 -07:00
Mike Hommey
a0c6629084 Bug 859705 - Un-szip libraries before pushing them on the device for xpcshell tests. r=ted 2013-04-18 09:14:38 +02:00
Geoff Brown
a7324780da Bug 863752 - Avoid TypeError in remotexpcshelltests.py; r=jmaher DONTBUILD 2013-04-23 10:44:59 -06:00
Joel Maher
c6978dde42 Bug 859840 - use devicemanager in-tree for xpcshell. r=Callek 2013-04-10 14:51:31 -04:00
Justin Wood
27a7d910bc Bug 828069 - Fix up remotexpcshelltests.py to work without an objdir, older mozdevice, and require py2.7. r=gbrown DONTBUILD as tests are not in production.
(Turn on xpcshell tests for Android 2.2)

--HG--
extra : rebase_source : adb021f893b757442a855dfe30aefeca5604394f
2013-03-26 21:39:14 -04:00
Gregory Szorc
2cc094b7e4 Bug 771578 - Part 1: Reindent xpcshell test runner Python files; rs=ted 2013-02-20 12:45:14 -08:00
Phil Ringnalda
66b90e22d5 Back out ce4f4d4d69d9 (bug 771578) for xpcshell reporting bustage
CLOSED TREE
2013-02-20 15:20:17 -08:00
Gregory Szorc
3a7fc22a9f Bug 771578 - Part 1: Reindent xpcshell test runner Python files; rs=ted 2013-02-20 12:45:14 -08:00
Mihnea Dobrescu-Balaur
2379c9e9a4 Bug 819482 - Remove retry code from b2g automation now that devicemanager handles it, r=ahal 2013-01-04 14:07:48 -05:00
Geoff Brown
a8f9e85501 Bug 810347 - Provide option for setting remote test root; r=jmaher 2012-12-20 09:11:11 -07:00
Geoff Brown
a810388f04 Bug 817235 - Make xpcshell tests work with sutAgent; r=jmaher 2012-12-18 22:18:03 -07:00
Geoff Brown
15f2adef52 Bug 814805 - Do not use run-as for android xpcshell tests; r=wlach 2012-12-18 22:18:00 -07:00
Andrew Halberstadt
1ae9eb69b6 Bug 818259 - Fix undefined reference in remote/b2g xpcshell, r=mdas, DONTBUILD a=NPOTB,test-only 2012-12-05 10:53:03 -05:00
Geoff Brown
e2147650a0 Bug 816630 - Restore use of dist/fennec for Android xpcshell localLib; r=ahal, DONTBUILD 2012-12-03 17:50:07 -07:00
Andrew Halberstadt
08e239bf29 Bug 816630 - B2G xpcshell tests use wrong binary directory, r=jgriffin, DONTBUILD a=NPOTB,test-only 2012-11-30 11:25:40 -05:00
Andrew Halberstadt
c124d722b1 Bug 790817 - Add ability to install busybox to marionette, r=jgriffin 2012-11-28 15:27:04 -05:00
Andrew Halberstadt
1005290e2e Bug 797153 - Remote xpcshell tests shouldn't depend on running from within an objdir, r=jgriffin, DONTBUILD a=NPOTB 2012-11-27 11:04:46 -05:00
Geoff Brown
0d2d8ad8a2 Bug 812191 - Respect --noSetup in remote xpcshell tests with xpcw wrapper; r=jmaher, DONTBUILD 2012-11-16 07:43:55 -07:00
Geoff Brown
42ab34e921 Bug 808764 - Set XPCOM_DEBUG_BREAK and other env vars in Android xpcshell tests; r=jmaher
--HG--
extra : rebase_source : 548629ff005a6ee41e7c1d6e44f9eaab2d200a70
2012-11-13 16:37:56 -07:00