diff options
author | hashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-05 08:29:05 +0000 |
---|---|---|
committer | hashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-05 08:29:05 +0000 |
commit | ff2271496f2b0014a162b826ccc5af0d77191c2e (patch) | |
tree | 3dbb290df93978588e79b0157a9816e8d2b9e7d1 /testing | |
parent | 43d68be7dfb3cfff9647d873f9232a2c9f2325c3 (diff) | |
download | chromium_src-ff2271496f2b0014a162b826ccc5af0d77191c2e.zip chromium_src-ff2271496f2b0014a162b826ccc5af0d77191c2e.tar.gz chromium_src-ff2271496f2b0014a162b826ccc5af0d77191c2e.tar.bz2 |
Revert 238913 "Make gtest always use simple internal regex engine."
Breaking base_unittests on a number of bots:
http://build.chromium.org/p/chromium.mac/builders/Mac%2010.6%20Tests%20%28dbg%29%283%29/builds/44666
http://build.chromium.org/p/chromium.linux/builders/Linux%20Clang%20%28dbg%29/builds/54034
http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%28dbg%29%281%29/builds/27229
http://build.chromium.org/p/chromium.memory/builders/Linux%20ASAN%20Tests%20%281%29/builds/21675
http://build.chromium.org/p/chromium.memory/builders/Mac%20ASAN%2064%20Tests%20%281%29/builds/216
> Make gtest always use simple internal regex engine.
>
> In order to allow regex matches in gtest to be shared between Windows and other
> systems, we tell gtest to always use it's internal engine.
>
> The syntax supported by the internal engine initially looks like a subset of
> POSIX regexs. However character class shortcuts are not valid POSIX.
>
> Even more confusingly the system POSIX regex function often defines extra
> features not actually part of the standard allowing regex that work on Linux
> fail on Mac OS X.
>
> A search through the code base did not reveal any locations where features not
> supported by the internal regex engine where used.
>
> See bug https://code.google.com/p/chromium/issues/detail?id=317224 for more detailed description.
>
> BUG=317224
>
> Review URL: https://codereview.chromium.org/55983002
TBR=mithro@mithis.com
Review URL: https://codereview.chromium.org/100313003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238918 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'testing')
-rw-r--r-- | testing/gtest.gyp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/testing/gtest.gyp b/testing/gtest.gyp index 486f3e7..517bd06 100644 --- a/testing/gtest.gyp +++ b/testing/gtest.gyp @@ -50,16 +50,6 @@ 'dependencies': [ 'gtest_prod', ], - 'defines': [ - # In order to allow regex matches in gtest to be shared between Windows - # and other systems, we tell gtest to always use it's internal engine. - 'GTEST_HAS_POSIX_RE=0', - ], - 'all_dependent_settings': { - 'defines': [ - 'GTEST_HAS_POSIX_RE=0', - ], - }, 'conditions': [ ['OS == "mac" or OS == "ios"', { 'sources': [ |