Граф коммитов

38 Коммитов

Автор SHA1 Сообщение Дата
Geoff Brown 2046699f13 Bug 1654319 - Remove some flake8 exclusions; r=jmaher
Remove some exclusions so that more files are linted. These exclusions had
been made to allow for code that was not py3 compatible, but with recent
py3 efforts, the exclusions can be removed. (Linting subsequently found
a few small issues which needed to be fixed.)

Differential Revision: https://phabricator.services.mozilla.com/D84393
2020-07-21 17:10:51 +00:00
Geoff Brown f9b51b3540 Bug 1612345 - Convert gtest argument parser to argparse; r=bc
Convert the gtest option parser from optparse to argparse. mochitest, reftest,
and other suites use argparse. Using argparse will simplify the integration
of gtest with the custom retrigger action.

Differential Revision: https://phabricator.services.mozilla.com/D66429

--HG--
extra : moz-landing-system : lando
2020-03-11 23:46:08 +00:00
Geoff Brown 14153653a8 Bug 1581157 - Improve gtest completion logging; r=bc
Improve gtest diagnostics in an effort to improve our understanding
of this intermittent failure.

Differential Revision: https://phabricator.services.mozilla.com/D50654

--HG--
extra : moz-landing-system : lando
2019-10-25 21:18:50 +00:00
Kartikaya Gupta 711c133f6d Bug 1558598 - Force WebRender on or off in the gtest harness. r=ahal
This covers the local and remote gtests, as well as the mach command.

Differential Revision: https://phabricator.services.mozilla.com/D35852

--HG--
extra : moz-landing-system : lando
2019-06-29 09:48:16 +00:00
Chris Manchester 4158f69bc1 Bug 1559982 - Make testing/gtest importable with python 3. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35245

--HG--
extra : moz-landing-system : lando
2019-06-26 23:06:51 +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
Chris Manchester 89a6a2647d Bug 1559982 - Make testing/gtest importable with python 3. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35245

--HG--
extra : moz-landing-system : lando
2019-06-24 21:20:43 +00:00
Gijs Kruitbosch c14acdeadd Bug 1548941 - remove e10s force-enable and force-disable prefs, and on desktop restrict 'normal' e10s pref to automation and unofficial builds, r=bholley,ahal
Differential Revision: https://phabricator.services.mozilla.com/D29892

--HG--
extra : moz-landing-system : lando
2019-05-09 21:55:46 +00:00
Geoff Brown 230da20010 Bug 1549380 - Increase gtest process timeout from 20 minutes to 40 minutes; r=jmaher
Increasing the timeout avoids a perma-fail on linux64/ccov and leaves room for the
test suite to grow on all platforms.

Differential Revision: https://phabricator.services.mozilla.com/D30083

--HG--
extra : moz-landing-system : lando
2019-05-06 18:53:54 +00:00
terrameijar 3a49f2d315 Bug 1506611 - Fixed linter errors in testing/gtest r=ahal
Before this change, testing/gtest had 19 errors. These errors have been resolved.

Bug 1506611 - Fixed flake8 errors in testing/gtest

Differential Revision: https://phabricator.services.mozilla.com/D15074

--HG--
extra : moz-landing-system : lando
2018-12-31 16:51:03 +00:00
Geoff Brown 1b0e1177cb Bug 1322616 - Report unique message for gtest output timeout; r=jmaher 2017-12-05 15:43:03 -07:00
Mike Hommey f238dce0bd Bug 1419196 - Use the "threadsafe" variant of gtest death tests. r=ted
Because the default "fast" variant uses fork() on !windows, death tests
are dangerous, as they themselves say. There are race conditions
involving locks that lead to dead locks in the death test process while
disabling the crash reporter (currently, but this could happen for
different code, even the tested code itself).

See https://bugzilla.mozilla.org/show_bug.cgi?id=1419196#c7 for details.

Using the "threadsafe" variant creates new processes for each death
test. This is notably slower, but can't dead-lock because of some random
lock being held by some random other thread at the moment fork occurred.

--HG--
extra : rebase_source : 56bf678bc9a6588751520549d57db7293134e1f8
2017-11-24 14:22:20 +09: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
Joel Maher 4d24a9047f Bug 1331049 - reduce max timeout from 30 minutes to 20 minutes. r=ted 2017-09-13 05:18:43 -04:00
Ionut Goldan 3a859abc10 Bug 1369807 - disable platform microbenchmarks on Linux r=jmaher,wlach
MozReview-Commit-ID: 8srIIdVUrMo

--HG--
extra : rebase_source : ae5e869be5440bcc0380f669233fc1636a358d11
2017-07-24 16:17:47 +03:00
Ting-Yu Chou 5dd0d99f75 Bug 1333003 part 6 - Fix test scripts to run ASan on Windows. r=ted
MozReview-Commit-ID: 6F9UXgTRb2Y

--HG--
extra : rebase_source : c618544db62381087f4190d3b12c57c340606b15
2017-03-10 12:08:34 +08:00
Wes Kocher 93d11e3441 Backed out 7 changesets (bug 1333003) for windows asan failures a=backout
Backed out changeset 3d2b2eeda8d3 (bug 1333003)
Backed out changeset 400d409ba4ca (bug 1333003)
Backed out changeset 1ba027abdfc9 (bug 1333003)
Backed out changeset 70114135bd8c (bug 1333003)
Backed out changeset 5715b15e33c0 (bug 1333003)
Backed out changeset 375e952bd738 (bug 1333003)
Backed out changeset d5d4112599f2 (bug 1333003)

MozReview-Commit-ID: DZUHJTdjX7V
2017-03-23 11:01:44 -07:00
Ting-Yu Chou e8fe1839b7 Bug 1333003 part 6 - Fix test scripts to run ASan on Windows. r=ted
MozReview-Commit-ID: 6F9UXgTRb2Y

--HG--
extra : rebase_source : c618544db62381087f4190d3b12c57c340606b15
2017-03-10 12:08:34 +08:00
Carsten "Tomcat" Book d40c4b5e91 Backed out changeset 18fd8676751a (bug 1333003) 2017-03-23 10:38:04 +01:00
Ting-Yu Chou 9c1ec9c16c Bug 1333003 part 6 - Fix test scripts to run ASan on Windows. r=ted
MozReview-Commit-ID: 6F9UXgTRb2Y

--HG--
extra : rebase_source : ae28acf8b01688ca73b09b08769e35261c9365bd
2017-03-10 12:08:34 +08:00
Joel Maher c24fdf40e4 Bug 1331049 - DeadlockDetector death test fails on osx tc build, extend timeout to 30 minutes. r=ted
MozReview-Commit-ID: 9jnrRzjGmnf
2017-02-09 08:27:19 -05:00
Chris Manchester 7bec6d7863 Bug 1055224 - Run gtest output through a stack fixer. r=ahal
--HG--
extra : commitid : EI5D81v5sjt
2016-01-15 10:36:46 -08:00
Chris Manchester f8960c5aa0 Bug 1136841 - Fix rungtests.py to check for crashes in the correct directory. r=ahal
--HG--
extra : commitid : L8s8maHpcyP
2016-01-07 12:27:10 -08: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
Randell Jesup 49c3b667fa Bug 1159300: Add a clone of gmp-fake that doesn't do decryption r=glandium,cpearce
--HG--
rename : dom/media/gmp-plugin/Makefile.in => dom/media/gmp-plugin-openh264/Makefile.in
rename : dom/media/gmp-plugin/fake.info => dom/media/gmp-plugin-openh264/fakeopenh264.info
rename : dom/media/gmp-plugin/fake.voucher => dom/media/gmp-plugin-openh264/fakeopenh264.voucher
rename : dom/media/gmp-plugin/moz.build => dom/media/gmp-plugin-openh264/moz.build
2015-04-30 00:52:26 -04:00
Edwin Flores 6ac0bb3765 Bug 1072024 - Disable sandbox during gtests on linux - r=ted 2014-10-14 11:04:59 +13:00
Edwin Flores a5e4958fd0 Bug 1072024 - GTest for cross-origin separation of Gecko Media Plugins r=cpearce 2014-10-14 11:04:59 +13:00
Andrew Halberstadt 16bcafb690 Bug 1054809 - Add ability to open support files in gtests, r=ted
In moz.build:
TEST_HARNESS_FILES.gtest += ['foo']     # fopen('foo')
TEST_HARNESS_FILES.gtest.bar += ['foo'] # fopen('bar/foo')
2014-10-02 09:01:34 -04:00
Andrew McCreight 93111c8f0e Bug 1039633 - Always try to set the ASan symbolizer in gtest runs. r=ted 2014-08-15 11:10:53 -07:00
Ed Morley 5e2d06db88 Bug 904574 - Fix existing pyflakes warnings; r=BenWa
--HG--
extra : rebase_source : 27ca85f14ccbce6e5678292f6f5b22c4968801b5
2013-08-13 15:54:15 +01:00
Ed Morley e8c5cee93c Bug 904574 - Make gtests log output after crashes compatible with TBPL; r=BenWa
--HG--
extra : rebase_source : 8162af561b3a8df81463b3aec733ac6cff55125a
2013-08-13 15:52:55 +01:00
Benoit Girard 422cdcd4f2 Bug 844852 - Run GTest on make check. r=ted
--HG--
extra : rebase_source : dabb338ee02acf390dabf1cda8ed6d89f8857fdf
2013-04-25 13:56:43 -04:00
Ryan VanderMeulen a7976b2932 Backed out changeset eb8b971070eb (bug 844852) for checktest failures.
CLOSED TREE
2013-06-13 18:37:50 -04:00
Benoit Girard cc24bdbea3 Bug 844852 - Run GTest on make check. r=ted 2013-04-25 13:56:43 -04:00