mirror of
https://github.com/linux-msm/qdl.git
synced 2026-10-07 06:29:17 -07:00
The fixture generator was creating efi.bin (512 MB) and rootfs.img (500 MB) -- sizes inherited from a real-world device layout but with no bearing on what the integration tests actually exercise. Both the flashmap dry-run and the VIP digest test only need qdl to parse the XML/JSON descriptors, walk the program list, and (for VIP) hash the backing files. Whether the backing files are 8 MB or 512 MB makes no difference to the code paths under test. The previous switch to sparse files removed the dd write cost, but zip still has to scan and CRC32 every byte of input regardless of whether the bytes come from a hole. On the slow macos-15-intel CI runner that scan was the new dominant cost and continued to push both tests past meson's default 30 s timeout. Drop efi.bin and rootfs.img to 8 MB each. Adjust rawprogram0.xml so that the efi partition descriptor matches the new file size (size_in_KB="8192.0", num_partition_sectors="2048") and rootfs's start_sector / start_byte_hex follow on at sector 2054 (0x806000). The other partition descriptors and patch entries are unaffected. Local test run drops from ~5 s to ~0.25 s (combined). The slow Intel CI runner should now have plenty of headroom under the 30 s default timeout. Signed-off-by: Igor Opaniuk <igor.opaniuk@oss.qualcomm.com>