-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
[Merged by Bors] - Retrieve feature-based results for Test262 runs #1980
[Merged by Bors] - Retrieve feature-based results for Test262 runs #1980
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1980 +/- ##
=======================================
Coverage 45.93% 45.93%
=======================================
Files 206 206
Lines 17138 17138
=======================================
Hits 7873 7873
Misses 9265 9265
Continue to review full report at Codecov.
|
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.
Thanks! Looks good to me :) only those two clippy issues.
boa_tester/src/exec/mod.rs
Outdated
@@ -67,6 +74,7 @@ impl TestSuite { | |||
passed += suite.passed; | |||
ignored += suite.ignored; | |||
panic += suite.panic; | |||
features.append(&mut suite.features.clone()) |
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.
This is giving a clippy warning, should be fixed with this:
features.append(&mut suite.features.clone()) | |
features.append(&mut suite.features.clone()); |
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.
boa_tester/src/results.rs
Outdated
features: Vec<String>, | ||
} | ||
|
||
fn remove_duplicates(features_vec: &Vec<String>) -> Vec<String> { |
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.
This should solve the clippy error, but might need some changes in the code to convert the slice to a vector.
fn remove_duplicates(features_vec: &Vec<String>) -> Vec<String> { | |
fn remove_duplicates(features_vec: &[String]) -> Vec<String> { |
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.
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.
Looks good to me!
bors r+ |
This Pull Request fixes/closes #1645. It changes the following: - Add `features` field to `SuiteResult` structure - Fetch features from `TestSuite` and propagate them via `SuiteResult` - Add `FeaturesInfo` structure and serialize it to `features.json`
Pull request successfully merged into main. Build succeeded: |
This Pull Request fixes/closes #1645. It changes the following: - Add `features` field to `SuiteResult` structure - Fetch features from `TestSuite` and propagate them via `SuiteResult` - Add `FeaturesInfo` structure and serialize it to `features.json`
This Pull Request fixes/closes #1645.
It changes the following:
features
field toSuiteResult
structureTestSuite
and propagate them viaSuiteResult
FeaturesInfo
structure and serialize it tofeatures.json