Ting-Yu Chou
9c40f931c5
Bug 1333003 part 6 - Fix test scripts to run ASan on Windows. r=ted
...
MozReview-Commit-ID: 6F9UXgTRb2Y
2017-03-10 12:08:34 +08:00
Dan Minor
3c55bda2b8
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
2017-03-27 15:51:16 -04:00
Wes Kocher
3095b422dc
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
f66b5c4835
Bug 1333003 part 6 - Fix test scripts to run ASan on Windows. r=ted
...
MozReview-Commit-ID: 6F9UXgTRb2Y
2017-03-10 12:08:34 +08:00
Carsten "Tomcat" Book
88dfdca025
Backed out changeset 18fd8676751a (bug 1333003)
2017-03-23 10:38:04 +01:00
Ting-Yu Chou
f761f3c2a3
Bug 1333003 part 6 - Fix test scripts to run ASan on Windows. r=ted
...
MozReview-Commit-ID: 6F9UXgTRb2Y
2017-03-10 12:08:34 +08:00
Dan Minor
c51525a31d
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
2017-03-03 14:54:05 -05:00
Dan Minor
2fabb2bdf7
Bug 1343557 - Update gtest and gmock to 1.7.0; r=ted.mielczarek
...
Import made from git revision ba638689e40fc60c2e5194fc777bf30541deeff8.
MozReview-Commit-ID: 3tks0D8npiP
2017-03-02 08:59:50 -05:00
Joel Maher
b20bb08f2a
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
b995466f21
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
2f59ea6d54
Bug 1316729 - Pass command-line args to gtest. r=ted
...
MozReview-Commit-ID: 8Xs52E9NnCq
2016-11-16 13:04:11 -08:00
Julian Seward
f7f771a797
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
1b5a2bdb96
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
2016-07-14 10:16:42 -06:00
Benoit Girard
7267061806
Bug 1256408 - Add graphics microbenchmarking. r=mstange
...
MozReview-Commit-ID: H4IRZuLy7do
2016-03-16 14:20:33 -04:00
Chris Manchester
8fcb2504dc
Bug 1055224 - Run gtest output through a stack fixer. r=ahal
2016-01-15 10:36:46 -08:00
Chris Manchester
38e0ef4284
Bug 992983 - Build and upload the gtest libxul during test packaging. r=ted
2015-07-16 16:52:31 -07:00
Chris Manchester
9807749d59
Bug 1136841 - Fix rungtests.py to check for crashes in the correct directory. r=ahal
2016-01-07 12:27:10 -08:00
Chris Pearce
55989ec650
Bug 1227775 - Call mozilla::ipc::windows::InitUIThread() in RunGtestFunc(). r=benwa
2015-11-26 13:50:52 +13:00
Chris Manchester
3a8c7d97c7
Backed out changeset 92e5edb0d02e (bug 992983) for breaking fix_stack_using_bpsyms.py
2015-10-19 12:15:43 -07:00
Chris Manchester
0770f9e48b
Bug 992983 - Build and upload the gtest libxul during test packaging. r=ted
2015-07-16 16:52:31 -07:00
Chris Manchester
d99fe96053
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
5c1241cd79
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
a29151dc87
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
cac4b1f037
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
c061231d6b
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
f0aa02df0b
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
ea41d8de48
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
bae0a32948
Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo
2015-01-11 11:34:52 +09:00
Tom Tromey
65a12924e3
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
cf0c27a107
Bug 1072024 - Disable sandbox during gtests on linux - r=ted
2014-10-14 11:04:59 +13:00
Edwin Flores
2448aee4e6
Bug 1072024 - GTest for cross-origin separation of Gecko Media Plugins r=cpearce
2014-10-14 11:04:59 +13:00
Stephen Pohl
0255fcaa52
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
70597265c9
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
a8c43776f9
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
aec0b61280
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
9c562be952
Bug 1039633 - Always try to set the ASan symbolizer in gtest runs. r=ted
2014-08-15 11:10:53 -07:00
Mike Hommey
2d0876a533
Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal
2014-07-11 19:06:55 +09:00
Kartikaya Gupta
25b1199db8
Bug 1030805 - Stop claiming all gtests are AsyncPanZoomController tests. r=BenWa
2014-06-26 12:19:33 -04:00
Mike Hommey
ed0002b6d1
Bug 883339 - Enable gtest on windows TBPL non-PGO builds. r=ted
2014-06-26 07:59:24 +09:00
Brian Smith
71160ab119
Bug 883339: Enable "mach gtest" on Windows, but leave GTest disabled for "make check", r=glandium
2014-06-08 19:00:58 -07:00
Markus Stange
f89d405229
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
777536926e
Bug 1018270 - Part 1: Cherrypick -Wunused-private-field warning fix from upstream gtest. r=ted
2014-06-02 20:17:00 -07:00
Benoit Girard
de99efb7b3
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
560f251aa2
Bug 988168 - Better integrate gtest libxul in the build system. r=mshal. DONTBUILD
2014-03-31 13:21:38 +02:00
Mike Hommey
7a47eac3ba
Backed out changeset 561b9329d832 (bug 988168) for wrong attribution.
2014-04-01 13:17:50 +09:00
Jacek Caban
60f48e2d4e
Bug 988168 - Better integrate gtest libxul in the build system. r=mshal
2014-03-31 13:21:38 +02:00
Mike Hommey
81f4b2b06c
Backout changesets ca413634eba3 and a92851ff7444 (bug 988168) for likely windows PGO perf regression
2014-03-29 16:49:19 +09:00
Mike Hommey
a469c210c9
Bug 988168 - Better integrate gtest libxul in the build system. r=mshal
2014-03-29 07:50:08 +09:00
Ms2ger
e9cc72d339
Bug 968856 - Move unconditional LOCAL_INCLUDES into moz.build; r=mshal
2014-02-15 21:24:59 +01:00
Ryan VanderMeulen
4298d61349
Backed out changeset 3868202e1747 (bug 883339) for suspected Windows PGO bustage.
2014-02-12 08:23:41 -05:00