nixpkgs-suyu/nixos/tests
Léo Gaspard 83b27f60ce
tests: split into a separate all-tests.nix file
This will make the list much easier to re-use, eg. for `nixosTests`

The drawback is that this approaches makes the
```
nix-build release.nix -A tests.opensmtpd.x86_64-linux
```
command about twice as slow (3s to 6s): it now has to evaluate `nixpkgs`
once for each architecture, instead of just having the hardcoded list of
tests that allowed to say “ok just evaluate for x86_64-linux”.

On the other hand, complete evaluation of `release.nix` should be much
faster because we no longer import `nixpkgs` for each test: testing with
the following command went from 30s to 18s, and that's just for a few
tests.
```
time nix-instantiate --eval --strict nixos/release.nix -A tests.nat
```
I initially wanted to test on the whole `release.nix`, but there are too
many broken tests and it takes too long to eval them all, especially
compared to the fact that the current implementation breaks some setup.

Given developers can just `nix-build nixos/tests/my-test.nix`, it sounds
like an overall win.
2018-11-11 23:11:46 +09:00
..
common nixos tests: move common configuration into separate file 2018-09-24 20:07:33 +01:00
hadoop [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
hitch [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
hocker-fetchdocker [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
hydra nixos/tests/hydra: set the project visible 2018-11-08 08:47:40 +01:00
initrd-network-ssh [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
krb5 [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
kubernetes tests: refactor to carry the package set as an argument 2018-11-11 23:11:45 +09:00
nextcloud tests: refactor to carry the package set as an argument 2018-11-11 23:11:45 +09:00
acme.nix nixos tests: move common configuration into separate file 2018-09-24 20:07:33 +01:00
all-tests.nix tests: split into a separate all-tests.nix file 2018-11-11 23:11:46 +09:00
ammonite.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
atd.nix nixos/tests/atd: wait for atd to start 2018-09-21 09:22:03 +02:00
avahi.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
bcachefs.nix nixos/tests/bcachefs: init 2018-08-31 21:19:53 -05:00
beegfs.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
bind.nix nixos/bind: Allow to set extra options 2018-05-30 05:07:39 +02:00
bittorrent.nix tests: bittorrent: add bobvanderlinden as maintainer 2018-09-15 23:10:26 +02:00
blivet.nix blivet test: use python2 2016-11-24 22:28:03 +01:00
boot-stage1.nix nixos.tests.boot-stage1: fix missing libelf 2018-02-22 04:04:49 +01:00
boot.nix tests: refactor to carry the package set as an argument 2018-11-11 23:11:45 +09:00
borgbackup.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
buildbot.nix tests: refactor to carry the package set as an argument 2018-11-11 23:11:45 +09:00
cadvisor.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
cassandra.nix cassandra: rewrote service from scratch 2018-08-07 14:48:43 +00:00
ceph.nix tests/docs: remove remnants of old allowPing default (#49198) 2018-10-30 22:26:43 +01:00
certmgr.nix tests: refactor to carry the package set as an argument 2018-11-11 23:11:45 +09:00
cfssl.nix nixos/cfssl: init 2018-08-03 09:40:32 +02:00
chromium.nix tests: refactor to carry the package set as an argument 2018-11-11 23:11:45 +09:00
cjdns.nix tests/docs: remove remnants of old allowPing default (#49198) 2018-10-30 22:26:43 +01:00
cloud-init.nix tests: refactor to carry the package set as an argument 2018-11-11 23:11:45 +09:00
codimd.nix nixos/tests: fix non-determinism for good 2018-10-10 14:57:43 +02:00
containers-bridge.nix tests/docs: remove remnants of old allowPing default (#49198) 2018-10-30 22:26:43 +01:00
containers-extra_veth.nix tests/docs: remove remnants of old allowPing default (#49198) 2018-10-30 22:26:43 +01:00
containers-hosts.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
containers-imperative.nix nixos/containers: Add regression test for #40355 2018-10-08 10:55:42 +02:00
containers-ipv4.nix tests/docs: remove remnants of old allowPing default (#49198) 2018-10-30 22:26:43 +01:00
containers-ipv6.nix tests/docs: remove remnants of old allowPing default (#49198) 2018-10-30 22:26:43 +01:00
containers-macvlans.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
containers-physical_interfaces.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
containers-portforward.nix tests/docs: remove remnants of old allowPing default (#49198) 2018-10-30 22:26:43 +01:00
containers-reloadable.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
containers-restart_networking.nix tests/docs: remove remnants of old allowPing default (#49198) 2018-10-30 22:26:43 +01:00
containers-tmpfs.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
couchdb.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
deluge.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
dhparams.nix nixos/dhparams: Add a defaultBitSize option 2018-05-07 04:58:52 +02:00
dnscrypt-proxy.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
docker-edge.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
docker-preloader.nix nixos/dockerPreloader: preload docker images (#49379) 2018-11-03 01:00:53 +01:00
docker-registry.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
docker-tools-overlay.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
docker-tools.nix dockerTools: test buildLayeredImage 2018-09-27 14:19:43 -04:00
docker.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
dovecot.nix dovecot module: test dovecot's LDA 2018-04-12 01:35:14 +02:00
ec2.nix tests: refactor to carry the package set as an argument 2018-11-11 23:11:45 +09:00
ecryptfs.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
elk.nix tests: refactor to carry the package set as an argument 2018-11-11 23:11:45 +09:00
emacs-daemon.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
env.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
etcd-cluster.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
etcd.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
ferm.nix nixos/tests/ferm: disable dhcpcd 2018-09-21 01:17:41 +02:00
firefox.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
firewall.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
flannel.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
flatpak.nix nixos/tests/flatpak: explicitly disable gdm to fix eval 2018-09-02 01:57:20 +02:00
fsck.nix systemd: ensure fsck Requires/After links are created in mount units 2018-08-28 17:12:49 +02:00
fwupd.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
gdk-pixbuf.nix nixos/tests/gdk-pixbuf: fix test on i686 (#46916) 2018-09-20 21:29:37 +02:00
gitea.nix tests: refactor to carry the package set as an argument 2018-11-11 23:11:45 +09:00
gitlab.nix gitlab: refactor and fix test 2018-11-02 22:40:21 +01:00
gitolite.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
gjs.nix nixos/gjs: add test 2018-02-14 22:43:59 +01:00
gnome3-gdm.nix xserver.displayManager: change default 2018-08-31 17:57:39 +02:00
gnome3.nix xserver.displayManager: change default 2018-08-31 17:57:39 +02:00
gocd-agent.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
gocd-server.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
grafana.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
graphite.nix graphite: 1.0.2 -> 1.1.3 & moved dependencies to python-modules (#44276) 2018-08-02 16:39:57 +02:00
haka.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
haproxy.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
hardened.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
hibernate.nix nixos/tests/hibernate: prevent non-deterministic failure (#46882) 2018-09-19 16:19:45 +02:00
home-assistant.nix nixos/tests/home-assistant: no longer ignore "Timer got out of sync" error 2018-10-29 13:30:06 +01:00
hound.nix nixos/tests/hound: fix non-deterministic failure (#47152) 2018-09-24 17:31:46 +02:00
i3wm.nix nixos/tests/i3wm: prevent non-deterministic failure (#45759) 2018-08-29 19:38:35 +02:00
iftop.nix nixos/tests/iftop: fix non-deterministic failure (#41309) 2018-06-01 22:27:51 +02:00
incron.nix nixos/incron: added nixos test to ensure expected behaviour 2018-11-10 20:54:10 -05:00
influxdb.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
initrd-network.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
installer.nix tests: refactor to carry the package set as an argument 2018-11-11 23:11:45 +09:00
ipfs.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
ipv6.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
jenkins.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
kafka.nix tests: refactor to carry the package set as an argument 2018-11-11 23:11:45 +09:00
kernel-latest.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
kernel-lts.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
kexec.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
keymap.nix tests: refactor to carry the package set as an argument 2018-11-11 23:11:45 +09:00
ldap.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
leaps.nix nixos/tests/leaps.nix: fixed race condition 2017-03-06 21:33:21 +01:00
lightdm.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
login.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
make-test.nix tests: refactor to carry the package set as an argument 2018-11-11 23:11:45 +09:00
mathics.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
matrix-synapse.nix nixos/tests/matrix-synapse: fix test (#45596) 2018-08-26 10:38:52 +02:00
memcached.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
mesos.nix nixos/tests/mesos: fix test (#45758) 2018-08-29 19:38:00 +02:00
mesos_test.py
minio.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
misc.nix nixos/tests/misc: Fix reboot-wtmp subtest 2018-10-03 03:57:28 +02:00
mongodb.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
morty.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
mpd.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
mpich-example.c Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
mumble.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
munin.nix nixos/tests/munin: fix non-deterministic failure 2018-08-25 14:27:41 +02:00
mutable-users.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
mysql-backup.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
mysql-replication.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
mysql.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
nat.nix tests/docs: remove remnants of old allowPing default (#49198) 2018-10-30 22:26:43 +01:00
netdata.nix nixos/tests/netdata: fix non-deterministic failure 2018-08-26 13:38:58 +02:00
networking-proxy.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
networking.nix tests: refactor to carry the package set as an argument 2018-11-11 23:11:45 +09:00
nexus.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
nfs.nix nixos/tests/nfs: fix nfs4 client mount path 2018-08-30 19:57:39 +02:00
nghttpx.nix nixos/nghttpx: add module for the nghttpx proxy server (#31680) 2017-11-16 18:21:02 +00:00
nginx.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
nix-ssh-serve.nix nixos/tests/nix-ssh-serve.nix: Use stable nix (#47584) 2018-10-01 23:01:38 +02:00
novacomd.nix nixos/tests/novacomd: prevent non-deterministic failure 2018-09-04 22:46:44 +02:00
nsd.nix nixos/nsd: Allow to configure root zone 2018-05-07 04:05:41 +02:00
openldap.nix nixos/tests/openldap: Fix name 2018-04-04 18:26:41 +03:00
opensmtpd.nix dovecot, opensmtpd: add link to test in meta.tests 2018-10-30 21:31:39 +09:00
openssh.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
osquery.nix nixos/osquery: add test 2018-04-30 16:49:38 +02:00
ostree.nix ostree: 2018.4 → 2018.6 2018-06-24 16:10:32 +02:00
owncloud.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
pam-oath-login.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
partition.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
peerflix.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
pgjwt.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
pgmanage.nix postage: replaced by pgmanage-10.0.2 2017-11-03 00:14:00 +01:00
phabricator.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
php-pcre.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
plasma5.nix nixos/plasma5: disable ocr tests 2018-10-28 19:13:12 +00:00
plotinus.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
postgis.nix postgresql_11: init at 11.0 2018-10-30 14:33:35 +00:00
postgresql.nix tests: refactor to carry the package set as an argument 2018-11-11 23:11:45 +09:00
powerdns.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
predictable-interface-names.nix tests: refactor to carry the package set as an argument 2018-11-11 23:11:45 +09:00
printing.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
prometheus-exporters.nix tests/prometheus-exporters: add new Tor exporter 2018-10-14 20:12:07 -05:00
prometheus.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
prosody.nix nixos/tests/prosody: use sqlite database (#47185) 2018-09-23 10:46:22 +02:00
proxy.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
quagga.nix tests/docs: remove remnants of old allowPing default (#49198) 2018-10-30 22:26:43 +01:00
quake3.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
rabbitmq.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
radicale.nix Revert "nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1" 2018-07-28 00:12:55 +03:00
redmine.nix switched from builtins.fetchurl to pkgs.fetchurl 2018-10-11 08:32:00 -04:00
riak.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
rspamd.nix tests: refactor to carry the package set as an argument 2018-11-11 23:11:45 +09:00
rsyslogd.nix tests: refactor to carry the package set as an argument 2018-11-11 23:11:45 +09:00
run-in-machine.nix tests: refactor to carry the package set as an argument 2018-11-11 23:11:45 +09:00
rxe.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
samba.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
sddm.nix tests: refactor to carry the package set as an argument 2018-11-11 23:11:45 +09:00
simple.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
slim.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
slurm.nix nixos/slurm: add maintainer to module and test 2018-10-30 19:50:52 +01:00
smokeping.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
snapper.nix snapper: add nixos module 2017-07-16 10:06:42 +01:00
solr.nix solr: 4.10.3 -> 7.5.0, refactor service to reflect major changes in version bump, NixOS test included 2018-11-03 13:14:13 -04:00
ssh-keys.nix nixos: nix.sshServe: Support ssh-ng. 2018-02-28 16:55:00 -05:00
statsd.nix nixos/statsd: refactor test (#40554) 2018-05-16 18:03:55 +02:00
strongswan-swanctl.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
subversion.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
sudo.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
switch-test.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
systemd.nix nixos/test/systemd: fix broken test 2018-04-16 00:43:33 +02:00
taskserver.nix nixos/tests/taskserver: fix typos (#43284) 2018-07-11 10:20:12 +02:00
testdb.sql mysqlBackup service: let it work with default settings 2017-09-27 18:44:49 +02:00
timezone.nix nixos/timezone: support imperative timezone configuration (#26608) 2017-07-31 15:55:24 +01:00
tomcat.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
tor.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
trac.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
transmission.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
udisks2.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
upnp.nix tests: upnp: init test for upnp using miniupnpd / miniupnpc 2018-09-15 23:10:25 +02:00
vault.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
virtualbox.nix tests: refactor to carry the package set as an argument 2018-11-11 23:11:45 +09:00
wordpress.nix nixos/tests/wordpress: fix test 2018-08-24 15:48:39 +02:00
xautolock.nix xautolock: implement basic test to confirm functionality 2018-03-13 21:04:44 +01:00
xdg-desktop-portal.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
xfce.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
xmonad.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
xrdp.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
xss-lock.nix nixos/xsslock: wait until pgrep xlock succeeds (#40810) 2018-05-20 20:59:53 +02:00
yabar.nix nixos/yabar: fix module & test (#46954) 2018-09-20 12:47:46 +02:00
zfs.nix tests: refactor to carry the package set as an argument 2018-11-11 23:11:45 +09:00
zookeeper.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00