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

ci: run tests in ubsan #3025

Merged
merged 3 commits into from
Aug 30, 2023
Merged

ci: run tests in ubsan #3025

merged 3 commits into from
Aug 30, 2023

Conversation

Saviq
Copy link
Collaborator

@Saviq Saviq commented Aug 29, 2023

D'oh.

Saviq and others added 3 commits August 29, 2023 18:39
By default UBSan will log-and-continue when UB is detected. This results in
log messages, but doesn't change the exit code of the program.

This is unhelpful for CI, where we want *failures* on UB.

Set UBSan to immediately kill the program whenever UB is detected,
so CI passes imply no-UB-detected.
@codecov
Copy link

codecov bot commented Aug 30, 2023

Codecov Report

Merging #3025 (91e0bb5) into main (5406500) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #3025   +/-   ##
=======================================
  Coverage   77.70%   77.71%           
=======================================
  Files        1056     1056           
  Lines       73394    73394           
=======================================
+ Hits        57033    57038    +5     
+ Misses      16361    16356    -5     

see 4 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Saviq Saviq mentioned this pull request Aug 30, 2023
Copy link
Collaborator

@AlanGriffiths AlanGriffiths left a comment

Choose a reason for hiding this comment

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

Looking good

@AlanGriffiths AlanGriffiths added this pull request to the merge queue Aug 30, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Aug 30, 2023
@AlanGriffiths AlanGriffiths added this pull request to the merge queue Aug 30, 2023
Merged via the queue into main with commit 1e2ae87 Aug 30, 2023
@AlanGriffiths AlanGriffiths deleted the ci-actually-ubsan branch August 30, 2023 18:55
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