Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Update code for finding #[test] functions. #1239

Merged
merged 1 commit into from
Sep 17, 2023
Merged

Update code for finding #[test] functions. #1239

merged 1 commit into from
Sep 17, 2023

Conversation

hermanventer
Copy link
Contributor

Description

Adapt the code for extracting #[test] functions to work with the MIR produced by the currently supported Rust compiler.

Fixes #1200

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • API change with a documentation update
  • Additional test coverage
  • Code cleanup or just keeping up with the latest Rustc nightly

How Has This Been Tested?

./validate.sh

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 17, 2023
@codecov
Copy link

codecov bot commented Sep 17, 2023

Codecov Report

Merging #1239 (0df6047) into main (c999902) will increase coverage by 0%.
The diff coverage is 100%.

@@          Coverage Diff          @@
##            main   #1239   +/-   ##
=====================================
  Coverage     74%     74%           
=====================================
  Files         23      23           
  Lines      16773   16770    -3     
=====================================
+ Hits       12518   12519    +1     
+ Misses      4255    4251    -4     
Files Changed Coverage Δ
checker/src/crate_visitor.rs 73% <100%> (+2%) ⬆️

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

@hermanventer hermanventer merged commit 0b77af2 into main Sep 17, 2023
8 checks passed
@hermanventer hermanventer deleted the test_funcs branch September 18, 2023 01:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Running MIRAI in cargo test
2 participants