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

all: replace objdump tests with readelf #38

Merged
merged 1 commit into from
Jan 28, 2022

Conversation

joe-lawrence
Copy link
Contributor

Not all versions of binutil's objdump support non-local architectures
(see objdump --arch for details).

Tweak a few unit test scripts to use readelf (which seems to have better
arch detection and support) instead. This will fix these tests to
properly verify *.OUTPUT.o files for non-local arches.

Signed-off-by: Joe Lawrence joe.lawrence@redhat.com

Not all versions of binutil's objdump support non-local architectures
(see `objdump --arch` for details).

Tweak a few unit test scripts to use readelf (which seems to have better
arch detection and support) instead.  This will fix these tests to
properly verify *.OUTPUT.o files for non-local arches.

Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
@joe-lawrence
Copy link
Contributor Author

(This would be required prep for dynup/kpatch#1248)

@joe-lawrence joe-lawrence merged commit 91d0715 into dynup:master Jan 28, 2022
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