From 1731eeae00de972d2912f3cf6cd5b6f0c9bee88a Mon Sep 17 00:00:00 2001 From: Akira Moroo Date: Wed, 30 Dec 2020 14:49:50 +0900 Subject: [PATCH 1/2] integration: Enable Ubuntu Focal test for coreboot Signed-off-by: Akira Moroo --- src/integration.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/integration.rs b/src/integration.rs index 8724606f..af198edb 100644 --- a/src/integration.rs +++ b/src/integration.rs @@ -397,8 +397,9 @@ mod tests { test_boot(BIONIC_IMAGE_NAME, &UbuntuCloudInit {}, spawn_qemu) } - // Does not currently work: - // #[test] + // Currently works on coreboot only: + #[test] + #[cfg(feature = "coreboot")] fn test_boot_qemu_focal() { test_boot(FOCAL_IMAGE_NAME, &UbuntuCloudInit {}, spawn_qemu) } From fbb6ef8848ab0939b4366e43a442a7e013dca57c Mon Sep 17 00:00:00 2001 From: Akira Moroo Date: Thu, 21 Jan 2021 19:05:09 +0900 Subject: [PATCH 2/2] CI: Add coreboot dependencies Signed-off-by: Akira Moroo --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index b2e0edd1..10906439 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,7 +15,7 @@ pipeline { } stage ('Install system packages') { steps { - sh "sudo apt-get -y install build-essential mtools qemu-system-x86 libssl-dev pkg-config" + sh "sudo apt-get -y install build-essential mtools qemu-system-x86 libssl-dev pkg-config m4 bison flex zlib1g-dev" } } stage ('Install Rust') {