tests: Fix up to work on arbitrary architectures
The current test infrastructure is tied to x86/amd64. This means the tests always fail on a non-x86 architecture (like aarch64). Fix this by generating the efi binary directly from C code and removing the architectural restrictions in the Makefile.am. One of the consequences of this is that we no longer test ia32 on x86_64, but the difficulty of detecting which architectures can support 32 bit variants and generating them correctly from EFI c code is too great. We also need to exclude tests involving objdump from aarch64 since its bfd still doesn't have an efi_app_aarch64 target. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
parent
cbbafe244b
commit
f065bb5705
5 changed files with 56 additions and 38 deletions
|
@ -24,7 +24,7 @@ function run_test()
|
|||
test="$1"
|
||||
|
||||
# image depends on the test arch
|
||||
image="$datadir/test-$arch.pecoff"
|
||||
image="$datadir/test.pecoff"
|
||||
export image
|
||||
|
||||
# create the temporary directory...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue