Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
6508a666
Commit
6508a666
authored
Sep 08, 2017
by
Stepan Khapugin
Committed by
GitHub
Sep 08, 2017
Browse files
Merge branch 'master' into master
parents
e43a5948
894cdb82
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
7 deletions
+5
-7
.travis.yml
.travis.yml
+1
-3
googletest/cmake/internal_utils.cmake
googletest/cmake/internal_utils.cmake
+1
-1
googletest/test/gtest-param-test_test.cc
googletest/test/gtest-param-test_test.cc
+2
-2
googletest/test/gtest_unittest.cc
googletest/test/gtest_unittest.cc
+1
-1
No files found.
.travis.yml
View file @
6508a666
...
...
@@ -26,10 +26,8 @@ addons:
-
ubuntu-toolchain-r-test
-
llvm-toolchain-precise-3.7
packages
:
-
gcc-4.9
-
g++-4.9
-
clang-3.7
-
valgrind
os
:
-
linux
-
osx
...
...
@@ -45,7 +43,7 @@ script: ./travis.sh
env
:
matrix
:
-
SHARED_LIB=OFF STATIC_LIB=ON CMAKE_PKG=OFF BUILD_TYPE=Debug VERBOSE=1
-
SHARED_LIB=OFF STATIC_LIB=ON CMAKE_PKG=OFF BUILD_TYPE=
Debug
VERBOSE=1 CXX_FLAGS=-std=c++11
-
SHARED_LIB=OFF STATIC_LIB=ON CMAKE_PKG=OFF BUILD_TYPE=
Release
VERBOSE=1 CXX_FLAGS=-std=c++11
notifications
:
email
:
false
sudo
:
false
googletest/cmake/internal_utils.cmake
View file @
6508a666
...
...
@@ -98,7 +98,7 @@ macro(config_compiler_and_linker)
set
(
cxx_no_exception_flags
"-D_HAS_EXCEPTIONS=0"
)
set
(
cxx_no_rtti_flags
"-GR-"
)
elseif
(
CMAKE_COMPILER_IS_GNUCXX
)
set
(
cxx_base_flags
"-Wall -Wshadow"
)
set
(
cxx_base_flags
"-Wall -Wshadow
-Werror
"
)
set
(
cxx_exception_flags
"-fexceptions"
)
set
(
cxx_no_exception_flags
"-fno-exceptions"
)
# Until version 4.3.2, GCC doesn't define a macro to indicate
...
...
googletest/test/gtest-param-test_test.cc
View file @
6508a666
...
...
@@ -857,8 +857,8 @@ TEST_P(CustomLambdaNamingTest, CustomTestNames) {}
INSTANTIATE_TEST_CASE_P
(
CustomParamNameLambda
,
CustomLambdaNamingTest
,
Values
(
std
::
string
(
"LambdaName"
)),
[](
const
::
testing
::
TestParamInfo
<
std
::
string
>&
info
)
{
return
info
.
param
;
[](
const
::
testing
::
TestParamInfo
<
std
::
string
>&
tp
info
)
{
return
tp
info
.
param
;
});
#endif // GTEST_LANG_CXX11
...
...
googletest/test/gtest_unittest.cc
View file @
6508a666
...
...
@@ -2096,7 +2096,7 @@ class UnitTestRecordPropertyTestEnvironment : public Environment {
};
// This will test property recording outside of any test or test case.
static
Environment
*
record_property_env
=
Environment
*
record_property_env
GTEST_ATTRIBUTE_UNUSED_
=
AddGlobalTestEnvironment
(
new
UnitTestRecordPropertyTestEnvironment
);
// This group of tests is for predicate assertions (ASSERT_PRED*, etc)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment