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

utils/cpu: Check cpu list for s390x [v6] #2363

Merged
merged 2 commits into from
Dec 15, 2017

Conversation

clebergnu
Copy link
Contributor

The output in /proc/cpuinfo is different between s390x and other archs.
This is to support to parse the output on s390x.

Signed-off-by: Dan Zheng [email protected]
Signed-off-by: Cleber Rosa [email protected]


Changes from v5 (#2361):

  • Fixed typo (s/remote/remove)

Changes from v4 (#2357):

  • Added check for inspektor indent bug

Changes from v3 (#2353):

Changes from v2 (#2351):

  • Added x86_64 test

Changes from v1 (#2300):

  • Added unittests considering a real and slightly faked output from /proc/cpuinfo on s390x

dzhengfy and others added 2 commits December 15, 2017 12:09
The output in /proc/cpuinfo is different between s390x and other archs.
This is to support to parse the output on s390x.

Signed-off-by: Dan Zheng <[email protected]>
Signed-off-by: Cleber Rosa <[email protected]>
This simple test, after the s390x version, checks the proper parsing
of and x86_64 /proc/cpuinfo.

Signed-off-by: Cleber Rosa <[email protected]>
Copy link
Contributor

@apahim apahim left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks.

@apahim apahim merged commit e9dd8be into avocado-framework:master Dec 15, 2017
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