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
Dan Minor
774e2f6945
Bug 964133 - Build webrtc.org unit tests; r=jesup,ted.mielczarik
...
This adds a moz.build file for the tests. The alternative would be to hack up
the gyp files. Since gyp support has already been removed from upstream, this
does not really buy us anything as far as maintainabily goes. Once gn support
is available in our build system, we can remove this moz.build file and use
the gn files instead.
The include paths for the gtest and gmock headers in the webrtc.org tests are
not compatible with where we export the headers. We could patch each unittest,
but the include location has already changed upstream making this painful
to maintain. Instead, we duplicate the relevant headers to the expected path.
MozReview-Commit-ID: 1ADUAMxTCFq
--HG--
extra : rebase_source : 2cc10faa7018ee8af8e8f3d7805265ed2dd89507
2017-03-27 15:51:16 -04: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
Dan Minor
2f2e51556a
Bug 1343557 - Update build for gtest and gmock 1.7.0; r=ted.mielczarek
...
I've moved the mozilla specific gtest stuff to link directly in xul-gtest
rather than in the gtest static library to make it possible for standalone
programs to link against this library and not have to link
against other mozilla libraries. This allows us to build
media/webrtc/signaling/fuzztest against this version of gtest rather than the
webrtc version of gtest, which I plan to remove in a follow on bug.
I had to add a global disable for -Wgnu-zero-variadic-macro-arguments as we
hit that everywhere we use the INSTANTIATE_TEST_CASE_P macro.
This brings forward the fix from Bug 844630 to the visibility of environ in
gtest-death-test.cc.
I also removed code that set GTEST_API_ to a visibility that conflicts with
what we've defined elsewhere in tree.
MozReview-Commit-ID: 3cfuapC6vn0
--HG--
extra : rebase_source : 6e5d2684718b6ddaa5a64c1f26a0172c91b5a719
2017-03-03 14:54:05 -05:00
Dan Minor
ff5253a2b8
Bug 1343557 - Update gtest and gmock to 1.7.0; r=ted.mielczarek
...
Import made from git revision ba638689e40fc60c2e5194fc777bf30541deeff8.
MozReview-Commit-ID: 3tks0D8npiP
--HG--
rename : testing/gtest/gmock/COPYING => testing/gtest/gmock/LICENSE
rename : testing/gtest/gtest/COPYING => testing/gtest/gtest/LICENSE
extra : rebase_source : 218e2c0c9842be214ddf7e00d536470276402d30
2017-03-02 08:59:50 -05: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
Nathan Froyd
2ebbd09068
Bug 1320752 - remove mozilla/Function.h; r=gerald
...
We have std::function available now, which is likely to be somewhat more
efficient.
2016-11-28 11:03:53 -05:00
Eric Rahm
4ec2c95fa7
Bug 1316729 - Pass command-line args to gtest. r=ted
...
MozReview-Commit-ID: 8Xs52E9NnCq
2016-11-16 13:04:11 -08:00
Julian Seward
1484a2b876
Bug 1313028 - GCC 6 null pointer check removal causes segfaulting in ActionResultHolder::GetValueAndDelete(). r=chmanchester.
2016-11-01 17:23:46 +01:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Benoit Girard
dec95787f8
Bug 1256408 - Add graphics microbenchmarking. r=mstange
...
MozReview-Commit-ID: H4IRZuLy7do
--HG--
extra : rebase_source : 8eed4669b59496370dbc47d32e2696de60ea43f2
2016-03-16 14:20:33 -04: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
89c245af6b
Bug 992983 - Build and upload the gtest libxul during test packaging. r=ted
...
--HG--
extra : commitid : EH7XMBkAkta
2015-07-16 16:52:31 -07: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
Chris Pearce
c9a6b8d6a4
Bug 1227775 - Call mozilla::ipc::windows::InitUIThread() in RunGtestFunc(). r=benwa
2015-11-26 13:50:52 +13:00
Chris Manchester
884de0189d
Backed out changeset 92e5edb0d02e (bug 992983) for breaking fix_stack_using_bpsyms.py
...
--HG--
extra : commitid : zxCwIsOz0B
2015-10-19 12:15:43 -07:00
Chris Manchester
3ac85eaba9
Bug 992983 - Build and upload the gtest libxul during test packaging. r=ted
...
--HG--
extra : commitid : 3gQEwA4tB9L
2015-07-16 16:52:31 -07:00
Chris Manchester
ad002b0bc0
Bug 992983 - Add test summary lines to gtest's automation-specific output format. r=benwa
...
--HG--
extra : commitid : IQWWm28UPvz
2015-08-18 11:32:31 -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
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