mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
tests: make enableBig an option
This makes it possible to identify the test as big in the test file itself. It also seems like a more natural way to control the test running.
This commit is contained in:
13
tests/big-test.nix
Normal file
13
tests/big-test.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ lib, ... }:
|
||||
|
||||
{
|
||||
options.test.enableBig = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
description = ''
|
||||
Whether to enable <quote>big</quote> tests. These are tests that require
|
||||
more resources than typical tests. For example, tests that depend on large
|
||||
packages or tests that take long to run.
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user