@@ -16,7 +16,11 @@ let
1616 inherit system;
1717 } // args);
1818
19− callTestOnTheseSystems = systems: fn: args: forTheseSystems systems (system: hydraJob (importTest fn args system));
19+ # Note: only supportedSystems are considered.
20+ callTestOnTheseSystems = systems: fn: args:
21+ forTheseSystems
22+ (intersectLists supportedSystems systems)
23+ (system: hydraJob (importTest fn args system));
2024 callTest = callTestOnTheseSystems supportedSystems;
2125
2226 callSubTests = callSubTestsOnTheseSystems supportedSystems;
@@ -231,7 +235,7 @@ in rec {
231235 tests.buildbot = callTest tests/buildbot.nix {};
232236 tests.cadvisor = callTestOnTheseSystems ["x86_64-linux"] tests/cadvisor.nix {};
233237 tests.ceph = callTestOnTheseSystems ["x86_64-linux"] tests/ceph.nix {};
234− tests.chromium = (callSubTestsOnTheseSystems ["x86_64-linux"] tests/chromium.nix {}).stable;
238+ tests.chromium = (callSubTestsOnTheseSystems ["x86_64-linux"] tests/chromium.nix {}).stable or {};
235239 tests.cjdns = callTest tests/cjdns.nix {};
236240 tests.cloud-init = callTest tests/cloud-init.nix {};
237241 tests.containers-ipv4 = callTest tests/containers-ipv4.nix {};
@@ -252,8 +256,8 @@ in rec {
252256 tests.dnscrypt-proxy = callTestOnTheseSystems ["x86_64-linux"] tests/dnscrypt-proxy.nix {};
253257 tests.ecryptfs = callTest tests/ecryptfs.nix {};
254258 tests.etcd = callTestOnTheseSystems ["x86_64-linux"] tests/etcd.nix {};
255− tests.ec2-nixops = (callSubTestsOnTheseSystems ["x86_64-linux"] tests/ec2.nix {}).boot-ec2-nixops;
256− tests.ec2-config = (callSubTestsOnTheseSystems ["x86_64-linux"] tests/ec2.nix {}).boot-ec2-config;
259+ tests.ec2-nixops = (callSubTestsOnTheseSystems ["x86_64-linux"] tests/ec2.nix {}).boot-ec2-nixops or {};
260+ tests.ec2-config = (callSubTestsOnTheseSystems ["x86_64-linux"] tests/ec2.nix {}).boot-ec2-config or {};
257261 tests.elk = callSubTestsOnTheseSystems ["x86_64-linux"] tests/elk.nix {};
258262 tests.env = callTest tests/env.nix {};
259263 tests.ferm = callTest tests/ferm.nix {};
@@ -292,7 +296,7 @@ in rec {
292296 tests.kernel-copperhead = callTest tests/kernel-copperhead.nix {};
293297 tests.kernel-latest = callTest tests/kernel-latest.nix {};
294298 tests.kernel-lts = callTest tests/kernel-lts.nix {};
295− tests.kubernetes = hydraJob (import tests/kubernetes/default.nix { system = "x86_64-linux"; });
299+ tests.kubernetes = callSubTestsOnTheseSystems ["x86_64-linux"] tests/kubernetes/default.nix {};
296300 tests.latestKernel.login = callTest tests/login.nix { latestKernel = true; };
297301 tests.ldap = callTest tests/ldap.nix {};
298302 #tests.lightdm = callTest tests/lightdm.nix {};