Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disables a test when running sanitizers. #693

Merged
merged 2 commits into from
May 5, 2020

Conversation

francocipollone
Copy link
Collaborator

One step of dsim-repos-index#64

When running asan simulation_run_stats_test.cc leads to a stack overflow error caused by the gtest macro EXPECT_DEATH in combination with asan.
The test was disabled when running sanitizers.

@francocipollone francocipollone changed the title Disable a test when running sanitizers. Disables a test when running sanitizers. May 4, 2020

# TODO(francocipollone): Improve test suppression.
if (NOT ${SANITIZERS})
# This test accuses a stack overflow in CI when running asan
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

accuses -> causes?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Done.

agalbachicar
agalbachicar previously approved these changes May 5, 2020
Copy link
Collaborator

@agalbachicar agalbachicar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM aside from @scpeters' comment.

@francocipollone
Copy link
Collaborator Author

Ready for a re-review

Copy link
Collaborator

@agalbachicar agalbachicar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@francocipollone francocipollone merged commit 431d172 into master May 5, 2020
@francocipollone francocipollone deleted the francocipollone/enable_sanitizers branch May 5, 2020 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants