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
d6c46ebd
Commit
d6c46ebd
authored
Aug 31, 2017
by
Herbert Thielen
Committed by
GitHub
Aug 31, 2017
Browse files
Merge branch 'master' into hethi/issue-1175-cmake-build-type
parents
cfcc89a8
16bfba08
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
3 deletions
+10
-3
googletest/docs/DevGuide.md
googletest/docs/DevGuide.md
+4
-0
googletest/include/gtest/internal/gtest-port-arch.h
googletest/include/gtest/internal/gtest-port-arch.h
+2
-0
googletest/include/gtest/internal/gtest-port.h
googletest/include/gtest/internal/gtest-port.h
+4
-2
travis.sh
travis.sh
+0
-1
No files found.
googletest/docs/DevGuide.md
View file @
d6c46ebd
...
@@ -101,6 +101,10 @@ Please do submit code. Here's what you need to do:
...
@@ -101,6 +101,10 @@ Please do submit code. Here's what you need to do:
1.
Sign a Contributor License Agreement.
1.
Sign a Contributor License Agreement.
1.
Create a Pull Request in the usual way.
1.
Create a Pull Request in the usual way.
If you are a Googler, it is preferable to first create an internal change and
have it reviewed and submitted, and then create an upstreaming pull
request here.
## Google Test Committers ##
## Google Test Committers ##
The current members of the Google Test engineering team are the only
The current members of the Google Test engineering team are the only
...
...
googletest/include/gtest/internal/gtest-port-arch.h
View file @
d6c46ebd
...
@@ -69,6 +69,8 @@
...
@@ -69,6 +69,8 @@
# endif
# endif
#elif defined __FreeBSD__
#elif defined __FreeBSD__
# define GTEST_OS_FREEBSD 1
# define GTEST_OS_FREEBSD 1
#elif defined __Fuchsia__
# define GTEST_OS_FUCHSIA 1
#elif defined __linux__
#elif defined __linux__
# define GTEST_OS_LINUX 1
# define GTEST_OS_LINUX 1
# if defined __ANDROID__
# if defined __ANDROID__
...
...
googletest/include/gtest/internal/gtest-port.h
View file @
d6c46ebd
...
@@ -122,6 +122,7 @@
...
@@ -122,6 +122,7 @@
// GTEST_OS_AIX - IBM AIX
// GTEST_OS_AIX - IBM AIX
// GTEST_OS_CYGWIN - Cygwin
// GTEST_OS_CYGWIN - Cygwin
// GTEST_OS_FREEBSD - FreeBSD
// GTEST_OS_FREEBSD - FreeBSD
// GTEST_OS_FUCHSIA - Fuchsia
// GTEST_OS_HPUX - HP-UX
// GTEST_OS_HPUX - HP-UX
// GTEST_OS_LINUX - Linux
// GTEST_OS_LINUX - Linux
// GTEST_OS_LINUX_ANDROID - Google Android
// GTEST_OS_LINUX_ANDROID - Google Android
...
@@ -607,8 +608,9 @@ typedef struct _RTL_CRITICAL_SECTION GTEST_CRITICAL_SECTION;
...
@@ -607,8 +608,9 @@ typedef struct _RTL_CRITICAL_SECTION GTEST_CRITICAL_SECTION;
//
//
// To disable threading support in Google Test, add -DGTEST_HAS_PTHREAD=0
// To disable threading support in Google Test, add -DGTEST_HAS_PTHREAD=0
// to your compiler flags.
// to your compiler flags.
# define GTEST_HAS_PTHREAD (GTEST_OS_LINUX || GTEST_OS_MAC || GTEST_OS_HPUX \
#define GTEST_HAS_PTHREAD \
|| GTEST_OS_QNX || GTEST_OS_FREEBSD || GTEST_OS_NACL || GTEST_OS_NETBSD)
(GTEST_OS_LINUX || GTEST_OS_MAC || GTEST_OS_HPUX || GTEST_OS_QNX || \
GTEST_OS_FREEBSD || GTEST_OS_NACL || GTEST_OS_NETBSD || GTEST_OS_FUCHSIA)
#endif // GTEST_HAS_PTHREAD
#endif // GTEST_HAS_PTHREAD
#if GTEST_HAS_PTHREAD
#if GTEST_HAS_PTHREAD
...
...
travis.sh
View file @
d6c46ebd
...
@@ -5,7 +5,6 @@ env | sort
...
@@ -5,7 +5,6 @@ env | sort
mkdir
build
||
true
mkdir
build
||
true
cd
build
cd
build
cmake
-Dgtest_build_samples
=
ON
\
cmake
-Dgtest_build_samples
=
ON
\
-Dgmock_build_samples
=
ON
\
-Dgtest_build_tests
=
ON
\
-Dgtest_build_tests
=
ON
\
-Dgmock_build_tests
=
ON
\
-Dgmock_build_tests
=
ON
\
-DCMAKE_CXX_FLAGS
=
$CXX_FLAGS
\
-DCMAKE_CXX_FLAGS
=
$CXX_FLAGS
\
...
...
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