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
f3500ce2
Commit
f3500ce2
authored
Sep 07, 2017
by
Gennadiy Civil
Committed by
GitHub
Sep 07, 2017
Browse files
Merge pull request #1243 from aninf-wo/hethi/travis-release-build
switch one Trevis build to Release mode
parents
a33b6b09
6c0146fd
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
.travis.yml
.travis.yml
+1
-1
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 @
f3500ce2
...
...
@@ -45,7 +45,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 @
f3500ce2
...
...
@@ -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 @
f3500ce2
...
...
@@ -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 @
f3500ce2
...
...
@@ -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