From 30bb9843d03291d116b5b1a5bbc7e11c0869e79c Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 23 Nov 2024 14:07:40 +0100 Subject: tests({modules,tests}): Delay the coupling, until more modules are tested --- modules/default.nix | 13 +++++++------ tests/default.nix | 7 ------- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/modules/default.nix b/modules/default.nix index af5ef20f..17780e63 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -10,12 +10,13 @@ fileName = "module.nix"; finalizeFunction = name: value: value; - coImportsNameFunction = { - shard, - name, - }: - ../tests/by-name + "/${shard}" + "/${name}" + "/test.nix"; - coImportsWarnMessageObject = "test"; + # TODO: Re-activate, when/if most modules have tests. <2024-11-23> + # coImportsNameFunction = { + # shard, + # name, + # }: + # ../tests/by-name + "/${shard}" + "/${name}" + "/test.nix"; + # coImportsWarnMessageObject = "test"; }); in { imports = files; diff --git a/tests/default.nix b/tests/default.nix index a5ca5deb..9803c99c 100644 --- a/tests/default.nix +++ b/tests/default.nix @@ -28,13 +28,6 @@ mkTest ; }; - - coImportsNameFunction = { - shard, - name, - }: - ../modules/by-name + "/${shard}" + "/${name}" + "/module.nix"; - coImportsWarnMessageObject = "modules"; }; in tests -- cgit 1.4.1