Commit Graph

78 Commits

Author SHA1 Message Date
Chris Manchester
70e5fc7adb Bug 992983 - Add test summary lines to gtest's automation-specific output format. r=benwa 2015-08-18 11:32:31 -07:00
Andrew Halberstadt
8cffe8fa6b 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.
2015-07-16 10:38:40 -04:00
Birunthan Mohanathas
e52329c788 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
61e78ba4c1 bug 1172658 - Fix gtest build for iOS. r=benwa
Cherrypick upstream rev 617:
https://code.google.com/p/googletest/source/detail?r=617
2015-06-09 14:53:25 -04:00
Randell Jesup
273314247a Bug 1159300: Add a clone of gmp-fake that doesn't do decryption r=glandium,cpearce 2015-04-30 00:52:26 -04:00
Andrea Marchesini
b75af49c46 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
33bb32f549 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
f70d08c5aa Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Tom Tromey
3abdb903a6 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
ab083558db Bug 1072024 - Disable sandbox during gtests on linux - r=ted 2014-10-14 11:04:59 +13:00
Edwin Flores
1893fb055a Bug 1072024 - GTest for cross-origin separation of Gecko Media Plugins r=cpearce 2014-10-14 11:04:59 +13:00
Stephen Pohl
afe8977ec8 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
4d3fac0c51 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
a77ea63e36 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
fc99c53ae5 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
16ccc46cc6 Bug 1039633 - Always try to set the ASan symbolizer in gtest runs. r=ted 2014-08-15 11:10:53 -07:00
Mike Hommey
07267c6f7f Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal 2014-07-11 19:06:55 +09:00
Kartikaya Gupta
1d49cdc46b Bug 1030805 - Stop claiming all gtests are AsyncPanZoomController tests. r=BenWa 2014-06-26 12:19:33 -04:00
Mike Hommey
ccdc7b4993 Bug 883339 - Enable gtest on windows TBPL non-PGO builds. r=ted 2014-06-26 07:59:24 +09:00
Brian Smith
2ea2825f08 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
4d56584098 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
5e970cca97 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
b1c12cd1d5 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
edf4794405 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
3dbd6f1f57 Backed out changeset 561b9329d832 (bug 988168) for wrong attribution. 2014-04-01 13:17:50 +09:00
Jacek Caban
258449c186 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
b4ed5e9a80 Backout changesets ca413634eba3 and a92851ff7444 (bug 988168) for likely windows PGO perf regression 2014-03-29 16:49:19 +09:00
Mike Hommey
d55f8470ad 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
6e066deaea Bug 968856 - Move unconditional LOCAL_INCLUDES into moz.build; r=mshal 2014-02-15 21:24:59 +01:00
Ryan VanderMeulen
062b547cf8 Backed out changeset 3868202e1747 (bug 883339) for suspected Windows PGO bustage. 2014-02-12 08:23:41 -05:00
Benoit Girard
2e023d551b Bug 883339 - Enable Gtests on Windows. r=jmathies
--HG--
extra : rebase_source : 7fa5b4c1cc6816752d2f34cf449c7b2ce82055bc
2014-02-11 21:57:24 -05:00
Benoit Girard
bc3440e941 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
94d19c46f2 Bug 875013 - Remove VPATH; r=glandium 2013-11-21 14:57:06 -05:00
Mike Hommey
62cde4eed8 Bug 940407 - Kill GTEST_SOURCES. r=gps 2013-11-26 11:48:58 +09:00
Birunthan Mohanathas
0816e609ee 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
bb6779efe3 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Seth Fowler
90d83b3d32 Backout of bug 934070 for breaking debugging on OS X 2013-11-07 18:42:22 -08:00
Mike Hommey
ebd64d4dbd 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
d2778baa7e 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
1d566f7586 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mike Hommey
e3011cd1ab Bug 930380 - Make sure *SOURCES only point to existing files. r=gps 2013-10-25 07:58:17 +09:00
Ms2ger
7ffcd856c2 Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
Ms2ger
cefa43a749 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
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Ms2ger
c3e345584c Bug 883284 - Part f: Move LIBXUL_LIBRARY into moz.build (p-z); r=glandium 2013-08-22 08:56:01 +02:00
Ed Morley
9bc7f9a44f Bug 904574 - Fix existing pyflakes warnings; r=BenWa
--HG--
extra : rebase_source : 27ca85f14ccbce6e5678292f6f5b22c4968801b5
2013-08-13 15:54:15 +01:00
Ed Morley
04d190fd50 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
7da524d402 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
6b3c839046 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
21d8425720 Bug 886656 - Disable GTest on Windows. r=gps 2013-07-18 16:29:17 -04:00