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
Dan Minor
eaaf70938d
Bug 903606 - Use mozfile.TemporaryDirectory in cppunittest scripts;r=ted
2013-08-19 10:02:42 -04:00
Dan Minor
c34f2491db
Bug 893085 - remotecppunittests.py should accept --apk option and test directories as well as files on the command line; r=ted
2013-08-02 09:53:13 -04:00
Geoff Brown
4ff2d75e69
Bug 821425 - Flexible env variable support for remote cpp unit tests; r=jmaher
...
--HG--
extra : rebase_source : 8fd1519077f7e20538af805d91d6373c0c9abcd1
2013-01-03 13:02:04 -07:00
Geoff Brown
b59a994f86
Bug 824724 - Allow --remoteTestRoot option in remotecppunittests.py; r=jmaher
...
--HG--
extra : rebase_source : ef8ed5a28b6c771aed684e599fc633b16fe8741f
2013-01-03 13:02:01 -07:00
Geoff Brown
13fb053342
Bug 821590 - Use remote paths for MOZ_XRE_DIR and MOZILLA_FIVE_HOME in remote cpp unit tests; r=dmose
...
--HG--
extra : rebase_source : 2a159610b8938086f497820e0b1527815a3d0b76
2013-01-03 13:01:59 -07:00
Geoff Brown
566e7ddda1
Bug 821033 - Define TMPDIR and HOME environment variables for unit tests. r=dmose
...
--HG--
extra : rebase_source : 422b429e63ebefb8097f4aa54027f97db68fdffe
2013-01-03 13:01:57 -07:00
Geoff Brown
f556fe775f
Bug 811411 - Add ability to run C++ unit tests on mobile; r=ted.mielczarek
...
--HG--
extra : rebase_source : c45a5d3792e0dcdfc11ea4f893cb72e7367cd1fd
2013-01-03 13:01:54 -07:00