Commit Graph

3 Commits

Author SHA1 Message Date
Maciej Borzecki
1d36b0cba6 tests/nested/core/core22-basic: restore recovery key checks
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2022-05-19 13:42:17 +02:00
Sergio Cazzolato
70fb9127db tests: run failed tests on nested suite (#11737)
* Allow run failed tests on google-nested backend

This change is to allow running just the failed tests for google-nested
backend when the "Run failed" tag is set

* Make sure no new lines in results

* fix core22-basic to deal with recovery-keys change

* filter by backend to make sure external subtests are not included

* Fix core22-basic disabling recovery keys checks

* Fix recovery keys for core20-basic test now

* Update the key for nested cache
2022-05-06 14:53:11 -03:00
Sergio Cazzolato
f6f7badcde tests: Initial changes to run nested tests on uc22
* Initial changes to run nested tests on uc22

New nested tests configuration for uc22 and libraries updated.
New basic nested test for uc22 on

* Updated the build_initramfs_kernel_snap

also other minor changes included

* Minor fixes for build_initramfs_kernel_snap

* Using OVMF_CODE and OVMF_VARS from focal ovmf package

As in Jammy there is just the _4M got the snakeoil vars, the idea is to
reuse the once available in focal.

* Adding uc22 to nested tests execution

* Fix preseed nested test to make it work for jammy

* Update how kernel is re-packed

* Fix the prepare.sh script

* send the parameters to the new modify-the-tool function

* Fix how modify_the_tool is called

* Use uc20_build_initramfs_kernel_snap from master
2022-04-21 14:35:16 +02:00