1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-17 21:11:34 +03:00
mobile-nixos/lib/image-builder/in-depth-tests
Samuel Dionne-Riel 565d938228 image-builder: Adds a test involving a real bootable image
This creates a disk image that acts *just about* like how the NixOS
sd_image acts. Though it is much less useful as there is no system, not
even an initrd.
2019-09-05 00:39:42 -04:00
..
size image-builder: Adds in-depth tests for ext4 images 2019-09-04 20:21:14 -04:00
raspi-like.nix image-builder: Adds a test involving a real bootable image 2019-09-05 00:39:42 -04:00
README.md image-builder: Adds in-depth tests for ext4 images 2019-09-04 20:21:14 -04:00

In-depth tests

Those are rather bulky integration-type tests. They are not ran by default, but should be used to better test the image builder infrastructure.

Changes to the infra should be passed through this test suite in addition to the slimmer usual tests suite.

Tip:

From the image-builder infra directory, run the following.

nix-build in-depth-tests/[...].nix -I nixpkgs-overlays=$PWD/lib/tests/test-overlay.nix

This allows you to track the bigger builds more easily.