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

BUG: fix test failures on aarch64 and other architectures #211

Closed
wants to merge 2 commits into from

Conversation

drakenclimber
Copy link
Member

This commit is intended to address Issue #210 where tests 53 and 55 are failing on non-x86_64 architectures. Both tests now utilize actual syscall names rather than fictitious syscall numbers.

@pcmoore pcmoore changed the title Fix test failures on aarch64 and other architectures BUG: fix test failures on aarch64 and other architectures Mar 6, 2020
@pcmoore pcmoore added this to the v2.5 milestone Mar 6, 2020
@pcmoore pcmoore linked an issue Mar 6, 2020 that may be closed by this pull request
@pcmoore pcmoore removed this from the v2.5 milestone Mar 6, 2020
src/arch-syscall-dump.c Outdated Show resolved Hide resolved
tests/53-sim-binary_tree.c Outdated Show resolved Hide resolved
tests/53-sim-binary_tree.c Show resolved Hide resolved
tests/53-sim-binary_tree.py Outdated Show resolved Hide resolved
tests/55-basic-pfc_binary_tree.c Outdated Show resolved Hide resolved
Previously test 53, sim-binary_tree, used syscall numbers to build
a large binary tree.  This is problematic on architectures that
have sparsely populated syscall numbers.

This commit modifies the test to use syscall names to build up a
realistic binary tree that should work on all architectures.

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
Previously test 55, basic-pfc_binary_tree, used syscall numbers to
build a large binary tree.  This is problematic on architectures
that have sparsely populated syscall numbers.

This commit modifies the test to use syscall names to build up a
realistic binary tree that should work on all architectures.

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
@pcmoore
Copy link
Member

pcmoore commented Mar 10, 2020

Merged via HEAD 3fb32e4, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: test 53/55 failures/errors on aarch64
2 participants