summary refs log tree commit diff
path: root/nixos/tests/all-tests.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2020-05-18 11:16:56 +0200
committerFlorian Klink <flokli@flokli.de>2020-05-18 11:28:03 +0200
commitfd49155848a8ee8aa2f103fe765ddb9aed1b3d2d (patch)
treec2542e6f7fde2a3d07608349d9cf8abdc3cb6ef1 /nixos/tests/all-tests.nix
parent4e2715934e2c995554c5d70fe4eea12716425480 (diff)
downloadnixpkgs-fd49155848a8ee8aa2f103fe765ddb9aed1b3d2d.tar
nixpkgs-fd49155848a8ee8aa2f103fe765ddb9aed1b3d2d.tar.gz
nixpkgs-fd49155848a8ee8aa2f103fe765ddb9aed1b3d2d.tar.bz2
nixpkgs-fd49155848a8ee8aa2f103fe765ddb9aed1b3d2d.tar.lz
nixpkgs-fd49155848a8ee8aa2f103fe765ddb9aed1b3d2d.tar.xz
nixpkgs-fd49155848a8ee8aa2f103fe765ddb9aed1b3d2d.tar.zst
nixpkgs-fd49155848a8ee8aa2f103fe765ddb9aed1b3d2d.zip
nixosTests.systemd-binfmt: init
This adds a simple test running GNU Hello cross-compiled for armv7l and
aarch64 inside a x86_64 VM with configured binfmt.

We already build the cross toolchains in other invocations, and building
hello itself is small.
Diffstat (limited to 'nixos/tests/all-tests.nix')
-rw-r--r--nixos/tests/all-tests.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix
index 525e97c039e..0acded892c7 100644
--- a/nixos/tests/all-tests.nix
+++ b/nixos/tests/all-tests.nix
@@ -304,6 +304,7 @@ in
   syncthing-relay = handleTest ./syncthing-relay.nix {};
   systemd = handleTest ./systemd.nix {};
   systemd-analyze = handleTest ./systemd-analyze.nix {};
+  systemd-binfmt = handleTestOn ["x86_64-linux"] ./systemd-binfmt.nix {};
   systemd-boot = handleTestOn ["x86_64-linux"] ./systemd-boot.nix {};
   systemd-confinement = handleTest ./systemd-confinement.nix {};
   systemd-timesyncd = handleTest ./systemd-timesyncd.nix {};