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 [v5] #2361

Closed

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 dzheng@redhat.com
Signed-off-by: Cleber Rosa crosa@redhat.com


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 14, 2017 12:01
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 <dzheng@redhat.com>
Signed-off-by: Cleber Rosa <crosa@redhat.com>
This simple test, after the s390x version, checks the proper parsing
of and x86_64 /proc/cpuinfo.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
@clebergnu clebergnu force-pushed the get_cpu_online_map_v5 branch from 0a2d5a3 to 82099a0 Compare December 15, 2017 13:23
issue = json.load(download.url_open(issue_url))
self.assertEqual(issue['state'], 'open', 'The issue %s is not open '
'anymore. Please double check and, if already fixed, '
'remote the selftests/unit/test_utils_cpu.py from '
Copy link
Contributor

Choose a reason for hiding this comment

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

s/remote/remove/

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oops, my bad. Fixing it.

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.

@clebergnu could you please just update with the typo fix? then we will be ready to go.

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