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

77 Коммитов

Автор SHA1 Сообщение Дата
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
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Ted Mielczarek 92f50fd980 bug 1172658 - Fix gtest build for iOS. r=benwa
Cherrypick upstream rev 617:
https://code.google.com/p/googletest/source/detail?r=617

--HG--
extra : commitid : 4osuYdUW1ag
extra : rebase_source : 92471bc782a91632f45fa53e0f702fe0d6a0daa8
2015-06-09 14:53:25 -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
Andrea Marchesini 085da9302a Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan 2015-04-22 08:29:22 +02:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Masatoshi Kimura bf312ad056 Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Tom Tromey df9d265d0e Bug 1019382 - use GTEST_ATTRIBUTE_UNUSED_ to avoid gcc 4.8 compiler warning. r=ted 2014-12-09 08:34:00 +01: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
Stephen Pohl 50407a9ef7 Bug 1079520: Ensure that GTest can also be run via mach on OSX. r=bsmedberg 2014-10-08 10:48:06 -04: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
Stephen Pohl fc1a816ac1 Mac v2 signing - Bug 1053838 - Fix GTests to run with the new v2 bundle structure. r=bsmedberg 2014-09-29 11:51:21 -07:00
Mike Hommey ed70c5f377 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09: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
Mike Hommey 70a5917917 Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal 2014-07-11 19:06:55 +09:00
Kartikaya Gupta a4ea3287a2 Bug 1030805 - Stop claiming all gtests are AsyncPanZoomController tests. r=BenWa 2014-06-26 12:19:33 -04:00
Mike Hommey b81d50e1eb Bug 883339 - Enable gtest on windows TBPL non-PGO builds. r=ted 2014-06-26 07:59:24 +09:00
Brian Smith ac290368ad Bug 883339: Enable "mach gtest" on Windows, but leave GTest disabled for "make check", r=glandium
--HG--
extra : rebase_source : e62eac1e5e70293d3c9df5406c996097abccbd3a
2014-06-08 19:00:58 -07:00
Markus Stange 2086bfa06c Bug 1014804 - Make the gtest make target only compile the tests, and not run them. r=BenWa, r=ted 2014-06-04 21:17:44 +02:00
Chris Peterson a3d90fe8b0 Bug 1018270 - Part 1: Cherrypick -Wunused-private-field warning fix from upstream gtest. r=ted
--HG--
extra : rebase_source : 45cdafffe4416cfbaa14a3a30305c4d2ce570992
2014-06-02 20:17:00 -07:00
Benoit Girard 1591dfd8e6 Bug 986160 - Add MozGtestFriend.h to deal with gtest in non test builds. r=glandium 2014-04-07 15:23:03 -04:00
Mike Hommey 490ed7cdd4 Bug 988168 - Better integrate gtest libxul in the build system. r=mshal. DONTBUILD
--HG--
rename : toolkit/library/Makefile.in => toolkit/library/libxul.mk
rename : toolkit/library/moz.build => toolkit/library/libxul.mozbuild
2014-03-31 13:21:38 +02:00
Mike Hommey 421099347a Backed out changeset 561b9329d832 (bug 988168) for wrong attribution. 2014-04-01 13:17:50 +09:00
Jacek Caban 46abe3117f Bug 988168 - Better integrate gtest libxul in the build system. r=mshal
--HG--
rename : toolkit/library/Makefile.in => toolkit/library/libxul.mk
rename : toolkit/library/moz.build => toolkit/library/libxul.mozbuild
2014-03-31 13:21:38 +02:00
Mike Hommey 084f4bf6b5 Backout changesets ca413634eba3 and a92851ff7444 (bug 988168) for likely windows PGO perf regression 2014-03-29 16:49:19 +09:00
Mike Hommey 0e1dd1fe7c Bug 988168 - Better integrate gtest libxul in the build system. r=mshal
--HG--
rename : toolkit/library/Makefile.in => toolkit/library/libxul.mk
rename : toolkit/library/moz.build => toolkit/library/libxul.mozbuild
2014-03-29 07:50:08 +09:00
Ms2ger 33da18c67e Bug 968856 - Move unconditional LOCAL_INCLUDES into moz.build; r=mshal 2014-02-15 21:24:59 +01:00
Ryan VanderMeulen 97f8ba3555 Backed out changeset 3868202e1747 (bug 883339) for suspected Windows PGO bustage. 2014-02-12 08:23:41 -05:00
Benoit Girard dc0bfa8658 Bug 883339 - Enable Gtests on Windows. r=jmathies
--HG--
extra : rebase_source : 7fa5b4c1cc6816752d2f34cf449c7b2ce82055bc
2014-02-11 21:57:24 -05:00
Benoit Girard 5e9ba483e4 Bug 904227 - Print ? if we don't have a test object. r=bjacob
--HG--
extra : rebase_source : cc1571123f7414f7a64a620aeebd1ce4b5002a9e
2013-12-06 16:44:22 -05:00
Mike Shal ddecae52a4 Bug 875013 - Remove VPATH; r=glandium 2013-11-21 14:57:06 -05:00
Mike Hommey 43d177307e Bug 940407 - Kill GTEST_SOURCES. r=gps 2013-11-26 11:48:58 +09:00
Birunthan Mohanathas 1e8f99fd01 Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
--HG--
extra : rebase_source : 8ace754e117a12e2599f5a90030f13a3a7064fed
2013-11-25 14:02:47 -05:00
Mike Hommey e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Seth Fowler 9c90ef3623 Backout of bug 934070 for breaking debugging on OS X 2013-11-07 18:42:22 -08:00
Mike Hommey 46de926a12 Bug 934070 - Stop copying dist/bin under dist/$(MOZ_MACBUNDLE_NAME)/Contents/MacOS in */app/Makefile.in. r=ted
Consequently, revert changeset 92bea49b46b4 (bug 914560).
2013-11-07 10:38:13 +09:00
Mike Hommey f932a1fe70 Bug 862770 - Fix --disable-compile-environment a little. r=gps
--HG--
rename : config/makefiles/target_libs.mk => config/makefiles/target_binaries.mk
rename : js/src/config/makefiles/target_libs.mk => js/src/config/makefiles/target_binaries.mk
2013-11-07 10:37:45 +09:00
Mike Hommey b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mike Hommey 65c4700367 Bug 930380 - Make sure *SOURCES only point to existing files. r=gps 2013-10-25 07:58:17 +09:00
Ms2ger f4153f40d4 Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
Ms2ger 24a2e9c09e Bug 912099 - Part a: Make sure CPP_SOURCES only points to existing files in most of the tree; r=mshal 2013-10-03 09:10:00 +02:00
Mike Hommey f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Ms2ger 3a103a7e9f Bug 883284 - Part f: Move LIBXUL_LIBRARY into moz.build (p-z); r=glandium 2013-08-22 08:56:01 +02: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
Trevor Saunders e62a12b52f bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium 2013-08-08 20:12:37 -04:00
Trevor Saunders 108b7dd046 backout bug 886526 because it probably made us use a lot more memory to link on windows 2013-07-29 11:03:21 -04:00
Benoit Girard 3b848ad3cd Bug 886656 - Disable GTest on Windows. r=gps 2013-07-18 16:29:17 -04:00
Jan Beich 579fb906be Bug 885624 - Cherry-pick gtest@{r621,r629} to unbreak --enable-tests with libc++. r=bgirard 2013-07-14 09:45:42 +02:00