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
1776ed8c
Commit
1776ed8c
authored
Apr 04, 2018
by
Gennadiy Civil
Browse files
Tweaking
https://github.com/google/googletest/pull/1523
to exclude nacl
parent
07af8af3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
googletest/src/gtest.cc
googletest/src/gtest.cc
+3
-1
No files found.
googletest/src/gtest.cc
View file @
1776ed8c
...
@@ -4549,7 +4549,9 @@ void UnitTest::AddTestPartResult(
...
@@ -4549,7 +4549,9 @@ void UnitTest::AddTestPartResult(
// when a failure happens and both the --gtest_break_on_failure and
// when a failure happens and both the --gtest_break_on_failure and
// the --gtest_catch_exceptions flags are specified.
// the --gtest_catch_exceptions flags are specified.
DebugBreak
();
DebugBreak
();
#elif (defined(__clang__) || defined(__GNUC__)) && (defined(__x86_64__) || defined(__i386__))
#elif (!defined(__native_client__)) && \
((defined(__clang__) || defined(__GNUC__)) && \
(defined(__x86_64__) || defined(__i386__)))
// with clang/gcc we can achieve the same effect on x86 by invoking int3
// with clang/gcc we can achieve the same effect on x86 by invoking int3
asm
(
"int3"
);
asm
(
"int3"
);
#else
#else
...
...
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