freebsd-nq/usr.bin/mkimg/tests
Alex Richardson 3ac62888fc Significantly speed up mkimg_test
It turns out that the majority of the test time for the mkimg tests isn't
mkimg itself but rather the use of jot and hexdump which can be quite slow
on emulated platforms such as QEMU.

On QEMU-RISC-V this reduces the time for `kyua test mkimg_test` from 655
seconds to 200. And for CheriBSD on QEMU-CHERI this saves 4-5 hours (25%
of the time for the entire testsuite!) since jot ends up triggering slow
functions inside the QEMU emulation a lot.

Reviewed By:	lwhsu
Differential Revision: https://reviews.freebsd.org/D26796
2020-10-18 18:35:23 +00:00
..
img-1x1-512-apm.qcow2.hex
img-1x1-512-apm.qcow.hex
img-1x1-512-apm.raw.hex
img-1x1-512-apm.vhd.hex
img-1x1-512-apm.vhdf.hex
img-1x1-512-apm.vhdx.hex
img-1x1-512-apm.vmdk.hex
img-1x1-512-bsd.qcow2.hex
img-1x1-512-bsd.qcow.hex
img-1x1-512-bsd.raw.hex
img-1x1-512-bsd.vhd.hex
img-1x1-512-bsd.vhdf.hex
img-1x1-512-bsd.vhdx.hex
img-1x1-512-bsd.vmdk.hex
img-1x1-512-ebr.qcow2.hex
img-1x1-512-ebr.qcow.hex
img-1x1-512-ebr.raw.hex
img-1x1-512-ebr.vhd.hex
img-1x1-512-ebr.vhdf.hex
img-1x1-512-ebr.vhdx.hex
img-1x1-512-ebr.vmdk.hex
img-1x1-512-gpt.qcow2.hex
img-1x1-512-gpt.qcow.hex
img-1x1-512-gpt.raw.hex
img-1x1-512-gpt.vhd.hex
img-1x1-512-gpt.vhdf.hex
img-1x1-512-gpt.vhdx.hex
img-1x1-512-gpt.vmdk.hex
img-1x1-512-mbr.qcow2.hex
img-1x1-512-mbr.qcow.hex
img-1x1-512-mbr.raw.hex
img-1x1-512-mbr.vhd.hex
img-1x1-512-mbr.vhdf.hex
img-1x1-512-mbr.vhdx.hex
img-1x1-512-mbr.vmdk.hex
img-1x1-512-vtoc8.qcow2.hex
img-1x1-512-vtoc8.qcow.hex
img-1x1-512-vtoc8.raw.hex
img-1x1-512-vtoc8.vhd.hex
img-1x1-512-vtoc8.vhdf.hex
img-1x1-512-vtoc8.vhdx.hex
img-1x1-512-vtoc8.vmdk.hex
img-1x1-4096-apm.qcow2.hex
img-1x1-4096-apm.qcow.hex
img-1x1-4096-apm.raw.hex
img-1x1-4096-apm.vhd.hex
img-1x1-4096-apm.vhdf.hex
img-1x1-4096-apm.vhdx.hex
img-1x1-4096-apm.vmdk.hex
img-1x1-4096-bsd.qcow2.hex
img-1x1-4096-bsd.qcow.hex
img-1x1-4096-bsd.raw.hex
img-1x1-4096-bsd.vhd.hex
img-1x1-4096-bsd.vhdf.hex
img-1x1-4096-bsd.vhdx.hex
img-1x1-4096-bsd.vmdk.hex
img-1x1-4096-ebr.qcow2.hex
img-1x1-4096-ebr.qcow.hex
img-1x1-4096-ebr.raw.hex
img-1x1-4096-ebr.vhd.hex
img-1x1-4096-ebr.vhdf.hex
img-1x1-4096-ebr.vhdx.hex
img-1x1-4096-ebr.vmdk.hex
img-1x1-4096-gpt.qcow2.hex
img-1x1-4096-gpt.qcow.hex
img-1x1-4096-gpt.raw.hex
img-1x1-4096-gpt.vhd.hex
img-1x1-4096-gpt.vhdf.hex
img-1x1-4096-gpt.vhdx.hex
img-1x1-4096-gpt.vmdk.hex
img-1x1-4096-mbr.qcow2.hex
img-1x1-4096-mbr.qcow.hex
img-1x1-4096-mbr.raw.hex
img-1x1-4096-mbr.vhd.hex
img-1x1-4096-mbr.vhdf.hex
img-1x1-4096-mbr.vhdx.hex
img-1x1-4096-mbr.vmdk.hex
img-1x1-4096-vtoc8.qcow2.hex
img-1x1-4096-vtoc8.qcow.hex
img-1x1-4096-vtoc8.raw.hex
img-1x1-4096-vtoc8.vhd.hex
img-1x1-4096-vtoc8.vhdf.hex
img-1x1-4096-vtoc8.vhdx.hex
img-1x1-4096-vtoc8.vmdk.hex
img-63x255-512-apm.qcow2.hex
img-63x255-512-apm.qcow.hex
img-63x255-512-apm.raw.hex
img-63x255-512-apm.vhd.hex
img-63x255-512-apm.vhdf.hex
img-63x255-512-apm.vhdx.hex
img-63x255-512-apm.vmdk.hex
img-63x255-512-bsd.qcow2.hex
img-63x255-512-bsd.qcow.hex
img-63x255-512-bsd.raw.hex
img-63x255-512-bsd.vhd.hex
img-63x255-512-bsd.vhdf.hex
img-63x255-512-bsd.vhdx.hex
img-63x255-512-bsd.vmdk.hex
img-63x255-512-ebr.qcow2.hex
img-63x255-512-ebr.qcow.hex
img-63x255-512-ebr.raw.hex
img-63x255-512-ebr.vhd.hex
img-63x255-512-ebr.vhdf.hex
img-63x255-512-ebr.vhdx.hex
img-63x255-512-ebr.vmdk.hex
img-63x255-512-gpt.qcow2.hex
img-63x255-512-gpt.qcow.hex
img-63x255-512-gpt.raw.hex
img-63x255-512-gpt.vhd.hex
img-63x255-512-gpt.vhdf.hex
img-63x255-512-gpt.vhdx.hex
img-63x255-512-gpt.vmdk.hex
img-63x255-512-mbr.qcow2.hex
img-63x255-512-mbr.qcow.hex
img-63x255-512-mbr.raw.hex
img-63x255-512-mbr.vhd.hex
img-63x255-512-mbr.vhdf.hex
img-63x255-512-mbr.vhdx.hex
img-63x255-512-mbr.vmdk.hex
img-63x255-512-vtoc8.qcow2.hex
img-63x255-512-vtoc8.qcow.hex
img-63x255-512-vtoc8.raw.hex
img-63x255-512-vtoc8.vhd.hex
img-63x255-512-vtoc8.vhdf.hex
img-63x255-512-vtoc8.vhdx.hex
img-63x255-512-vtoc8.vmdk.hex
img-63x255-4096-apm.qcow2.hex
img-63x255-4096-apm.qcow.hex
img-63x255-4096-apm.raw.hex
img-63x255-4096-apm.vhd.hex
img-63x255-4096-apm.vhdf.hex
img-63x255-4096-apm.vhdx.hex
img-63x255-4096-apm.vmdk.hex
img-63x255-4096-bsd.qcow2.hex
img-63x255-4096-bsd.qcow.hex
img-63x255-4096-bsd.raw.hex
img-63x255-4096-bsd.vhd.hex
img-63x255-4096-bsd.vhdf.hex
img-63x255-4096-bsd.vhdx.hex
img-63x255-4096-bsd.vmdk.hex
img-63x255-4096-ebr.qcow2.hex
img-63x255-4096-ebr.qcow.hex
img-63x255-4096-ebr.raw.hex
img-63x255-4096-ebr.vhd.hex
img-63x255-4096-ebr.vhdf.hex
img-63x255-4096-ebr.vhdx.hex
img-63x255-4096-ebr.vmdk.hex
img-63x255-4096-gpt.qcow2.hex
img-63x255-4096-gpt.qcow.hex
img-63x255-4096-gpt.raw.hex
img-63x255-4096-gpt.vhd.hex
img-63x255-4096-gpt.vhdf.hex
img-63x255-4096-gpt.vhdx.hex
img-63x255-4096-gpt.vmdk.hex
img-63x255-4096-mbr.qcow2.hex
img-63x255-4096-mbr.qcow.hex
img-63x255-4096-mbr.raw.hex
img-63x255-4096-mbr.vhd.hex
img-63x255-4096-mbr.vhdf.hex
img-63x255-4096-mbr.vhdx.hex
img-63x255-4096-mbr.vmdk.hex
img-63x255-4096-vtoc8.qcow2.hex
img-63x255-4096-vtoc8.qcow.hex
img-63x255-4096-vtoc8.raw.hex
img-63x255-4096-vtoc8.vhd.hex
img-63x255-4096-vtoc8.vhdf.hex
img-63x255-4096-vtoc8.vhdx.hex
img-63x255-4096-vtoc8.vmdk.hex
Makefile
Makefile.depend
mkimg_test.sh