3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/lib
Andreas Rammhold 04100cd281
nixos/tests: restructure test driver so that QEMU is actually overriden
Previously you would be able to override only the QEMU package to be
used in the test runner. Frankly that doesn't help a lot if you are
trying to get a graphical session. The graphical session requires the
option in the NixOS module system to bet set to the correct QEMU
package.

In this commit I moved most of the test node configuration and
transformations into the `mkDriver` function (previously called
`driver`). The motivation was to be able to create a `driver` instance
with a given QEMU package that will be used consistently througout the
test expression.
2020-10-25 20:09:33 +01:00
..
make-options-doc nixos/lib/make-options-doc: remove loaOf subs 2020-09-02 00:42:51 +02:00
test-driver test-driver.py: remove bufsize=1 from Popen calls 2020-10-25 16:22:07 +01:00
build-vms.nix nixos: fix qemu_test being used in normal VMs 2020-10-21 16:38:04 +02:00
eval-config.nix Merge pull request #51850 from roberth/nixos-pure 2020-08-24 04:29:37 +02:00
from-env.nix
make-channel.nix Remove incorrect sentence from make-channel comment 2018-11-04 20:45:49 +01:00
make-disk-image.nix nixos/lib/make-disk-image.nix: abritary format input 2020-07-31 15:33:08 +02:00
make-ext4-fs.nix nixos/lib/make-ext4-fs: fix after mkfs.ext4 refactoring 2020-07-26 22:49:55 +02:00
make-iso9660-image.nix make-iso9660-image: produce stable GPT disk GUID 2020-07-20 11:16:59 +02:00
make-iso9660-image.sh make-iso9660-image: produce stable GPT disk GUID 2020-07-20 11:16:59 +02:00
make-squashfs.nix kernel config: add support for CONFIG_SQUASHFS_ZSTD (#52967) 2019-01-17 15:24:44 +02:00
make-system-tarball.nix use closure-info for building system tarball 2018-11-07 12:52:53 +08:00
make-system-tarball.sh use closure-info for building system tarball 2018-11-07 12:52:53 +08:00
qemu-flags.nix runInLinuxVM, test-driver: use -cpu max instead of -cpu host 2020-08-21 23:42:07 -05:00
testing-python.nix nixos/tests: restructure test driver so that QEMU is actually overriden 2020-10-25 20:09:33 +01:00
utils.nix nixos/{containers,cri-o,podman}: move copyFile to nixos/lib/utils 2020-09-24 10:01:47 +10:00