Bob Clary
9196bd30dd
Bug 1486004 - Part 15 - Update remotecppunittests to support unrooted android devices using mozdevice 4.0.0, r=gbrown
...
Depends on D82757
Differential Revision: https://phabricator.services.mozilla.com/D82758
2020-07-17 20:48:51 +00:00
Narcis Beleuzu
b1faa2872a
Backed out 17 changesets (bug 1486004) for wrench bustage on android.py . CLOSED TREE
...
Backed out changeset cae730f105d7 (bug 1486004)
Backed out changeset e0094d50a315 (bug 1486004)
Backed out changeset 424425ed98c6 (bug 1486004)
Backed out changeset 551232749abe (bug 1486004)
Backed out changeset 505747095def (bug 1486004)
Backed out changeset 5b1c62c4a4d5 (bug 1486004)
Backed out changeset 0a1c8d50ee69 (bug 1486004)
Backed out changeset 6ef81c676859 (bug 1486004)
Backed out changeset 234e55153fb6 (bug 1486004)
Backed out changeset 2f33b309d746 (bug 1486004)
Backed out changeset 48947692c176 (bug 1486004)
Backed out changeset 473bac8eedd9 (bug 1486004)
Backed out changeset af6afed0a04a (bug 1486004)
Backed out changeset a0e2f91eb4d4 (bug 1486004)
Backed out changeset 138c987440c7 (bug 1486004)
Backed out changeset 6d2e305f4722 (bug 1486004)
Backed out changeset 1181ff03bb05 (bug 1486004)
2020-07-17 23:43:57 +03:00
Bob Clary
49cc236aa8
Bug 1486004 - Part 15 - Update remotecppunittests to support unrooted android devices using mozdevice 4.0.0, r=gbrown
...
Depends on D82757
Differential Revision: https://phabricator.services.mozilla.com/D82758
2020-07-16 21:32:55 +00:00
Narcis Beleuzu
1eb115035d
Backed out 20 changesets (bug 1486004, bug 1653094) for wrench bustages. CLOSED TREE
...
Backed out changeset 120c64ebdea3 (bug 1486004)
Backed out changeset b10f105b1c36 (bug 1486004)
Backed out changeset 7f186e6bcccc (bug 1486004)
Backed out changeset cdda7b349cd8 (bug 1486004)
Backed out changeset 650c47e81402 (bug 1486004)
Backed out changeset 2bcca7cf3f1b (bug 1486004)
Backed out changeset e1df276f8a8d (bug 1486004)
Backed out changeset f6f5e7f2bd0a (bug 1486004)
Backed out changeset 1c56cb03ce53 (bug 1486004)
Backed out changeset 582cd190f174 (bug 1486004)
Backed out changeset 7c162e1b3a79 (bug 1486004)
Backed out changeset d1088e178216 (bug 1486004)
Backed out changeset 40763f4afd26 (bug 1486004)
Backed out changeset f20eb5b5a670 (bug 1486004)
Backed out changeset 6349ee0bd63f (bug 1486004)
Backed out changeset 7c23729053f6 (bug 1486004)
Backed out changeset 49586014bd29 (bug 1486004)
Backed out changeset 07971e82ae85 (bug 1653094)
Backed out changeset 47e7295e9c19 (bug 1653094)
Backed out changeset 57a25bbeec37 (bug 1653094)
2020-07-16 17:58:09 +03:00
Bob Clary
beebe2c68c
Bug 1486004 - Part 15 - Update remotecppunittests to support unrooted android devices using mozdevice 4.0.0, r=gbrown
...
Depends on D82757
Differential Revision: https://phabricator.services.mozilla.com/D82758
2020-07-15 21:00:15 +00:00
Mihai Alexandru Michis
a1d49fb98d
Backed out 17 changesets (bug 1486004) for causing bustages in AccessCheck.h
...
CLOSED TREE
Backed out changeset 86a0855e1e45 (bug 1486004)
Backed out changeset 4fc98067edc5 (bug 1486004)
Backed out changeset 8ab3f1597fde (bug 1486004)
Backed out changeset b487e98320fb (bug 1486004)
Backed out changeset 4cba8e6bc515 (bug 1486004)
Backed out changeset d0db5eef2343 (bug 1486004)
Backed out changeset 50285a87de6b (bug 1486004)
Backed out changeset 9730c0303810 (bug 1486004)
Backed out changeset 140a9d2362f3 (bug 1486004)
Backed out changeset 9d1ce06f6039 (bug 1486004)
Backed out changeset 88a5a4ab39fa (bug 1486004)
Backed out changeset eb186c92232d (bug 1486004)
Backed out changeset 677f2129750e (bug 1486004)
Backed out changeset 81427a5f2103 (bug 1486004)
Backed out changeset 38d7def3d425 (bug 1486004)
Backed out changeset a9e73221c471 (bug 1486004)
Backed out changeset ebe8c2d5432e (bug 1486004)
2020-07-16 15:29:29 +03:00
Bob Clary
d21f8a84de
Bug 1486004 - Part 15 - Update remotecppunittests to support unrooted android devices using mozdevice 4.0.0, r=gbrown
...
Depends on D82757
Differential Revision: https://phabricator.services.mozilla.com/D82758
2020-07-15 21:00:15 +00:00
Geoff Brown
da55c8ff29
Bug 1638954 - Run 'mach cppunittest' with python 3; r=bc
...
Differential Revision: https://phabricator.services.mozilla.com/D77258
2020-05-28 14:45:50 +00:00
Bob Clary
80ab483d5d
Bug 1633302 - Remote android tests must use root=True appropriately when dealing with app created files, r=gbrown.
...
Depends on D72576
Differential Revision: https://phabricator.services.mozilla.com/D72577
2020-04-27 15:45:59 +00:00
Geoff Brown
c2d624c725
Bug 1567332 - Report exception stack in android cppunit tests; r=bc
...
print_exc() gives us information about the location of the failure and also
ensures that the exception name is logged, which android-em task retries rely on.
This also makes cppunit exception handling more consistent with other harnesses
(mochitest, gtest, ...).
Differential Revision: https://phabricator.services.mozilla.com/D38666
--HG--
extra : moz-landing-system : lando
2019-07-19 14:23:10 +00:00
Kartikaya Gupta
bb83950948
Bug 1558598
- Force WebRender on or off in the cppunit harness. r=ahal
...
Also adds it to the mach command, which is a little weird, because the
mach command doesn't expose the option but does parse it via the cpp unit
argument parser. So I just exposed it on the mach command and after that
it Just Works for mach.
Differential Revision: https://phabricator.services.mozilla.com/D35859
--HG--
extra : moz-landing-system : lando
2019-06-29 09:49:23 +00:00
Marco Castelluccio
52be340076
Bug 1559975 - Add future imports to testing/remotecppunittests.py and testing/runcppunittests.py and remove them from py2 exclusion list r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D35246
--HG--
extra : moz-landing-system : lando
2019-06-28 13:47:57 +00:00
Mihai Alexandru Michis
9852c55d11
Backed out 5 changesets (bug 1559982, bug 1559975) for cpp unit test failures due to unsupported operand type. CLOSED TREE
...
Backed out changeset 2309aac6cea3 (bug 1559975)
Backed out changeset bf5a6d853abd (bug 1559975)
Backed out changeset 0c36f78c971a (bug 1559975)
Backed out changeset 0560cf7df7dc (bug 1559975)
Backed out changeset 4cb64ca524e7 (bug 1559982)
2019-06-27 02:03:31 +03:00
Marco Castelluccio
ed545ba83e
Bug 1559975 - Add future imports to testing/remotecppunittests.py and testing/runcppunittests.py and remove them from py2 exclusion list r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D35246
--HG--
extra : moz-landing-system : lando
2019-06-26 15:31:24 +00:00
Geoff Brown
9fd7271860
Bug 1532462 - Avoid permission error in Android cppunittests on some devices by creating destination directory; r=bc
...
Differential Revision: https://phabricator.services.mozilla.com/D22034
--HG--
extra : moz-landing-system : lando
2019-03-05 17:03:27 +00:00
Geoff Brown
7c8f4e8f58
Bug 1522689 - Update command line help for several android test commands; r=bc
2019-02-01 07:18:05 -07:00
Geoff Brown
e5e351a5a2
Bug 1515189 - Consolidate ADBDevice and ADBAndroid classes; r=bc
2018-12-19 14:04:02 -07:00
Bob Clary
745c5ff6c2
Bug 1477807 - Distinguish ADBTimeoutErrors from other exceptions in Android remote tests, r=gbrown.
2018-07-27 08:27:16 -07:00
Geoff Brown
ca43a015dc
Bug 1454404 - Pass adb path from Android mach commands to test harnesses; r=jmaher
2018-04-16 14:05:32 -06:00
Bob Clary
cc77040a96
Bug 1440714 - make sure to use root=True with chmod /sdcard/tests/, r=gbrown.
2018-04-10 23:12:28 -07:00
Geoff Brown
e2c5753929
Bug 1440714 - Convert Android cppunit test harness to adb.py; r=bc
2018-03-16 09:37:48 -06:00
Andrew Halberstadt
f354075c7a
Bug 1434430 - [flake8] Fix blank 'except' statements r=rwood
...
This is a new issue that gets linted with flake8 3.5.0. Basically you should
never use a blank except: statement.
This will catch all exceptions, including KeyboardInterrupt and SystemExit
(which is likely not intended). If a catch all is needed, use
`except: Exception`. If you *really* mean to also catch KeyboardInterrupt et
al, use `except: BaseException`.
Of course, being specific is often better than a catch all.
MozReview-Commit-ID: FKx80MLO4RN
--HG--
extra : rebase_source : 7c74a7d0d81f2c984b47aff3a0ee3448b791177b
2018-01-31 14:32:08 -05: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
Sylvestre Ledru
61e0724a88
Bug 1406666 - Add testing/*cppun*.py to the list of flake8 compliant code r=ahal
...
MozReview-Commit-ID: KWsXMRgy4XG
--HG--
extra : rebase_source : b6e82fcd6f5dfb9f823ac5d00c623387b7e95632
2017-10-07 19:45:12 +02: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
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
Simon Garesste
310bdc1c20
Bug 1231810 - Fix files not following flake8 convention r=ted
...
flake8 was reporting the following issues:
* expected two blank lines
* unexpected spaces around keyword / parameter equals
* wrongly imported modules or multiple imports on one line
* under-indented lines for visual indent
* unidentified name because of a bad call
MozReview-Commit-ID: 7sjDoH4Z89L
--HG--
extra : rebase_source : 376759dd1679b42c07fe3370e6617e3feb7b4f52
2016-01-10 11:19:37 +01:00
Geoff Brown
decf51a9ce
Bug 1355222 - When debug logging requested for android mach test commands, enable devicemanager logging; r=jmaher
2017-04-11 09:21:37 -06:00
Geoff Brown
df122d5bfa
Bug 1340584 - Remove devicemanagerSUT and references to sutagent; r=wlach
...
sutagent is no longer built or used; devicemanagerSUT is completely
unused. After this change, devicemanagerADB is the only implementation of
devicemanager, and test harness options like --dm_trans are eliminated.
2017-03-21 12:20:01 -06:00
Eugen Sawin
190e9ca088
Bug 1307886 - [3.2] Extract xz-compressed libs for xpcshell and unit tests. r=glandium
2016-10-28 12:59:23 +02:00
Eugen Sawin
5999591289
Bug 1307886 - [1.2] Remove szip support. r=glandium
2016-10-28 12:59:23 +02:00
Rob Wu
7f9305180e
Bug 1295323 - s/CalledProcessError/subprocess.CalledProcessError/ r=dminor
...
MozReview-Commit-ID: IxtsQCQbAE2
--HG--
extra : rebase_source : ce51dc92b539948b54ac1c9c3e83c4a664917efd
2016-08-01 19:01:12 -07:00
Geoff Brown
d447a96b27
Bug 1233311 - Avoid python exception on Android cppunit time-out; r=jmaher
2015-12-18 12:17:07 -07:00
John Dai
6a55b81364
Bug 1201370 - Add emulator parameter to cppunit test. r=ahal
...
--HG--
extra : transplant_source : m%B9%7E%11BDp%1Ce%EB%84%1D%A2%9E%5D%1E%0B%D7%FB%C7
2015-09-25 11:49:40 +08:00
Geoff Brown
ca1aa238ee
Bug 1090276 - Support mach cppunittest on Android; r=dminor
2015-09-14 08:40:35 -06: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
Geoff Brown
5cea2df480
Bug 1202101 - In Android cppunit tests, push assets libs; r=dminor
2015-09-09 07:12:57 -06:00
Jonathan Griffin
105e1bf9c3
Bug 1190474 - Allow test-specific timeouts to be specified in cppunittest.ini, r=chmanchester
...
--HG--
extra : commitid : KHoHs6bXJln
2015-08-12 16:25:56 -07:00
Sebastian Hengst
4bf9aa2b08
Backout bedff4a78d9a (bug 1190474) for B2G ICS Emulator Cpp unittests permafail. r=backout
2015-08-13 09:08:45 +02:00
Jonathan Griffin
97fb05e7fd
Bug 1190474 - Allow test-specific timeouts to be specified in cppunittest.ini, r=chmanchester
...
--HG--
extra : commitid : Dylb8zPXhh4
2015-08-12 16:25:56 -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
Geoff Brown
cbc6dc061e
Bug 1171299 - Support mozinfo.json in cppunit tests; r=dminor
2015-06-04 10:51:14 -06:00
Dan Minor
7c19db87c2
Bug 1087567 - Add proper manifest for cppunit tests; r=ted
...
--HG--
extra : rebase_source : 622e454f491462d9d2c4125d1309a28854a92b0b
2014-10-28 09:38:21 -04:00
Chris Manchester
644813fdf7
Bug 1034272 - Convert cppunittests to structured logging.;r=ted
2014-07-10 09:33:39 -04:00
Dan Minor
e69db1b97a
Bug 1014653 - Run C++ unit tests on B2G; r=gbrown
2014-07-15 15:53:33 -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
Dan Minor
039861bb02
Bug 915245 - Add manifest support to cpp unittest harness; r=ted
2013-09-24 07:18:58 -04:00