-
Notifications
You must be signed in to change notification settings - Fork 111
Fix Skipped Test Issue #904
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
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Please post an output in the PR showing that this works as expected for all the examples it effects, like Thanks! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #904 +/- ##
=======================================
Coverage 45.82% 45.82%
=======================================
Files 68 68
Lines 18656 18656
Branches 2247 2247
=======================================
Hits 8550 8550
Misses 8753 8753
Partials 1353 1353 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
For the single flag, the fixed output is like
|
Here is --no-examples output:
|
mfc.sh --from ... --to ...
|
what happens if you enable the MPI tests for single precision? and go to the MPI build obviously. |
The following single-precision test was built with MPI, so it includes MPI cases, all of which passed. If MPI is not enabled, the skipped MPI cases will appear at the top of the Skipped Cases list. Here is the output.
In comparison, the single-precision build without MPI skipped three MPI cases, as shown here
|
Co-authored-by: Spencer Bryngelson <shb@gatech.edu> Co-authored-by: Spencer Bryngelson <sbryngelson@gmail.com>
User description
Description
There were several logic problem during test. The test script ignored skipped cases for some special flags, and when combining % flag with other options will only count the skipped cases filtered by % flag.
Fixes #(issue) [optional]
Type of change
Please delete options that are not relevant.
Scope
If you cannot check the above box, please split your PR into multiple PRs that each have a common goal.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Provide instructions so we can reproduce.
Please also list any relevant details for your test configuration
Test Configuration:
Checklist
docs/
)examples/
that demonstrate my new feature performing as expected.They run to completion and demonstrate "interesting physics"
./mfc.sh format
before committing my codeIf your code changes any code source files (anything in
src/simulation
)To make sure the code is performing as expected on GPU devices, I have:
nvtx
ranges so that they can be identified in profiles./mfc.sh run XXXX --gpu -t simulation --nsys
, and have attached the output file (.nsys-rep
) and plain text results to this PR./mfc.sh run XXXX --gpu -t simulation --rsys --hip-trace
, and have attached the output file and plain text results to this PR.PR Type
Bug fix
Description
Fixed skipped test case tracking logic in test filtering
Corrected handling of skipped cases when using percent flag
Added proper skipped case collection for range and filter operations
Changes walkthrough 📝
test.py
Fix skipped test case tracking logic
toolchain/mfc/test/test.py
--from
/--to
range filtering--only
filter logic--single
flag filtering--percent
flag