-
Notifications
You must be signed in to change notification settings - Fork 49
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
Add "Hygon Dhyana" to CPUs recognized by cpuid.py + small refactor (New) #928
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #928 +/- ##
==========================================
+ Coverage 37.50% 37.60% +0.09%
==========================================
Files 313 313
Lines 34809 34810 +1
Branches 5983 5982 -1
==========================================
+ Hits 13055 13089 +34
+ Misses 21174 21141 -33
Partials 580 580
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
6285d55
to
7eef520
Compare
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.
I would have preferred "AMD Hygon Dhyana Plus" as opposed to "Hygon Dhyana Plus", however that is a minor change that should not hold up this merge.
…ew) (canonical#928) * move decoding of cpuid to a dedicated funciton * Add Hygon Dhyana Plus to identified CPUs in cpuid * add the first test for cpuid * formatting improvements * add tests for not recognizing * add tests for the main() of cpuid * make the assertions python 3.5 friendly
…ew) (canonical#928) * move decoding of cpuid to a dedicated funciton * Add Hygon Dhyana Plus to identified CPUs in cpuid * add the first test for cpuid * formatting improvements * add tests for not recognizing * add tests for the main() of cpuid * make the assertions python 3.5 friendly
Description
Amidst shenanigans with the reformatting of some of the modules the PR with the addition of Hygon Dhyana got closed.
This PR brings the addition back.
But... the
cpuid.py
is long overdue for a makeover. Let's start by extracting the function that decodes the cpuid and adding the first unit tests for that thing.Resolved issues
#529
SERVCERT-1147
Tests
Yeah, the first one :)Quite a few unit tests.