kola: Fix path for qemu-bios argument #528
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
kola: Align qemu-unpriv with qemu after new additions
The qemu-unpriv platform doesn't support as many test scenarious as the
priv. qemu platform but it is still useful for testing. When doing
changes in the qemu platform we should also do them for qemu-unpriv.
Port the last changes over to get swtpm support.
kola: Fix path for qemu-bios argument
After changing the qemu working directory, relative qemu-bios path
arguments stopped working.
Handle relative paths by prepending kola's current working directory.
The changes from
git diff --no-index platform/machine/qemu/ platform/machine/unprivqemu/
show that only platform-specific options differ. As a test
cl.tpm.root-cryptenroll
passed for--platform=qemu
and--platform=qemu-unpriv
when run with--qemu-bios=flatcar_production_qemu_uefi_efi_code.fd
as relative pathargument.
How to use
This should fix the qemu_uefi nightly failure
Testing done
Local testing as mentioned above: