-
Notifications
You must be signed in to change notification settings - Fork 31
Fix assert for external interpreter #367
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #367 +/- ##
==========================================
- Coverage 76.31% 76.15% -0.16%
==========================================
Files 8 8
Lines 3137 3137
==========================================
- Hits 2394 2389 -5
- Misses 743 748 +5
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
6309657
to
12d45fc
Compare
|
||
#if !defined(NDEBUG) || !GTEST_HAS_DEATH_TEST | ||
// death tests don't work right on windows | ||
#ifndef _WIN32 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought this was covered by GTEST_HAS_DEATH_TEST
. Did anything in particular fail?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it doesn't hit the assertion:
1: Actual msg: 1: [ DEATH ] Unable to find target for this triple (no targets are registered)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we do #if !defined(NDEBUG) && !GTEST_HAS_DEATH_TEST
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do that, we do not need the _WIN32
thing...
Yes, it doesn't hit the assertion:
1: Actual msg: 1: [ DEATH ] Unable to find target for this triple (no targets are registered)
Seems a different problem...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm!
No description provided.