mirror of
https://github.com/NixOS/nix.git
synced 2025-11-22 18:29:36 +01:00
Introduce notion of a test group, use for CA tests
Grouping our tests should make it easier to understand the intent than one long poorly-arranged list. It also is convenient for running just the tests for a specific component when working on that component. We need at least one test group so this isn't dead code; I decided to collect the tests for the `ca-derivations` and `dynamic-derivations` experimental features in groups. Do ```bash make ca.test-group -jN ``` and ```bash make dyn-drv.test-group -jN ``` to try running just them. I originally did this as part of #8397 for being able to just the local overlay store alone. I am PRing it separately now so we can separate general infra from new features.
This commit is contained in:
parent
8d871e1822
commit
735a672e1f
7 changed files with 88 additions and 29 deletions
11
tests/dyn-drv/local.mk
Normal file
11
tests/dyn-drv/local.mk
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
dyn-drv-tests := \
|
||||
$(d)/text-hashed-output.sh \
|
||||
$(d)/recursive-mod-json.sh
|
||||
|
||||
install-tests-groups += dyn-drv
|
||||
|
||||
clean-files += \
|
||||
$(d)/config.nix
|
||||
|
||||
test-deps += \
|
||||
tests/dyn-drv/config.nix
|
||||
Loading…
Add table
Add a link
Reference in a new issue