-
Notifications
You must be signed in to change notification settings - Fork 292
Fix tests that don't work on aarch64 #6630
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
Conversation
notes | ||
|
||
let () = | ||
Suite_init.harness_init () ; |
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 wonder if we could drop this in any other tests, maybe this would make tests slightly faster
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.
We don't use the code that reads notes from ELF files anymore and could remove the test.
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'll drop the test, then
Ah, changes are needed to the required checks because now the x86 ones changed its name. When this is ready to merge I'll change the protected branches, otherwise people won't be able to merge to master |
notes | ||
|
||
let () = | ||
Suite_init.harness_init () ; |
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.
We don't use the code that reads notes from ELF files anymore and could remove the test.
Unfortunately, the backtrace in aarch64 has one location less than on x86_64, at least on ocaml 4.14.2, so we have to change the test to check for some repetitions instead of just matching the whole output. Signed-off-by: Pau Ruiz Safont <[email protected]>
The tests for the module needed to be modified to be made more robust against failures and make it work under aarch64, but the code is unused, so simply remove all of it. Signed-off-by: Pau Ruiz Safont <[email protected]>
ac6fcab
to
ad06c0a
Compare
ad06c0a
to
9203724
Compare
There's an ongoing effort to create an xcp-ng port for ARM servers, to help maintain compatibility in the toolstack, these changes make the tests pass on aarch64 and unblock adding CI testing on xs-opam.
Before enabling the CI in xen-api, some packages need to be removed from xs-opam: xapi-project/xs-opam#737
I will open a PR enabling aarch64 runners on xen-api once the xs-opam tests are passing, on both repositories the new CI is set to experimental to avoid blocking any merges