forked from Mirror/pmbootstrap
CI: Add bootimg analysis integration test (MR 2467)
This commit is contained in:
parent
ee154ccdf9
commit
d19de946b3
4 changed files with 11 additions and 0 deletions
|
@ -29,6 +29,11 @@ pmbootstrap -q shutdown
|
||||||
# Default for tests where the device doesn't matter
|
# Default for tests where the device doesn't matter
|
||||||
pmbootstrap config device qemu-amd64
|
pmbootstrap config device qemu-amd64
|
||||||
|
|
||||||
|
# Tests the bootimg analysis functionality.
|
||||||
|
analyze_bootimg() {
|
||||||
|
pmbootstrap bootimg_analyze test/data/htc-primou-boot.img
|
||||||
|
}
|
||||||
|
|
||||||
# A test that builds normal and FDE images for the given device/ui
|
# A test that builds normal and FDE images for the given device/ui
|
||||||
build_images() {
|
build_images() {
|
||||||
device="$1"
|
device="$1"
|
||||||
|
|
1
.ci/integration_tests/analyze_bootimg
Symbolic link
1
.ci/integration_tests/analyze_bootimg
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../integration.sh
|
|
@ -126,6 +126,11 @@ deploy:
|
||||||
paths: [packages]
|
paths: [packages]
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
|
|
||||||
|
analyze bootimg:
|
||||||
|
extends: .integration
|
||||||
|
script:
|
||||||
|
- .ci/integration_tests/analyze_bootimg
|
||||||
|
|
||||||
# Test that we can generate an install rootfs on AMD64 for native
|
# Test that we can generate an install rootfs on AMD64 for native
|
||||||
# and arm64 QEMU targets
|
# and arm64 QEMU targets
|
||||||
install amd64:
|
install amd64:
|
||||||
|
|
BIN
test/data/htc-primou-boot.img
Normal file
BIN
test/data/htc-primou-boot.img
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue