Skip to content

Commit

Permalink
Put flake functional tests in their own group
Browse files Browse the repository at this point in the history
This is a nice thing to have, and it made it easier to work on the
Meson-ifcation of these functional tests too.
  • Loading branch information
Ericson2314 committed Jul 25, 2024
1 parent dba1142 commit 84e46dd
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 21 deletions.
24 changes: 24 additions & 0 deletions tests/functional/flakes/local.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
flake-tests := \
$(d)/flakes.sh \
$(d)/develop.sh \
$(d)/edit.sh \
$(d)/run.sh \
$(d)/mercurial.sh \
$(d)/circular.sh \
$(d)/init.sh \
$(d)/inputs.sh \
$(d)/follow-paths.sh \
$(d)/bundle.sh \
$(d)/check.sh \
$(d)/unlocked-override.sh \
$(d)/absolute-paths.sh \
$(d)/absolute-attr-paths.sh \
$(d)/build-paths.sh \
$(d)/flake-in-submodule.sh \
$(d)/prefetch.sh \
$(d)/eval-cache.sh \
$(d)/search-root.sh \
$(d)/config.sh \
$(d)/show.sh

install-tests-groups += flake
21 changes: 0 additions & 21 deletions tests/functional/local.mk
Original file line number Diff line number Diff line change
@@ -1,23 +1,5 @@
nix_tests = \
test-infra.sh \
flakes/flakes.sh \
flakes/develop.sh \
flakes/edit.sh \
flakes/run.sh \
flakes/mercurial.sh \
flakes/circular.sh \
flakes/init.sh \
flakes/inputs.sh \
flakes/follow-paths.sh \
flakes/bundle.sh \
flakes/check.sh \
flakes/unlocked-override.sh \
flakes/absolute-paths.sh \
flakes/absolute-attr-paths.sh \
flakes/build-paths.sh \
flakes/flake-in-submodule.sh \
flakes/prefetch.sh \
flakes/eval-cache.sh \
gc.sh \
nix-collect-garbage-d.sh \
remote-store.sh \
Expand Down Expand Up @@ -61,7 +43,6 @@ nix_tests = \
restricted.sh \
fetchGitSubmodules.sh \
fetchGitVerification.sh \
flakes/search-root.sh \
readfile-context.sh \
nix-channel.sh \
recursive.sh \
Expand Down Expand Up @@ -102,7 +83,6 @@ nix_tests = \
nix-copy-ssh-ng.sh \
post-hook.sh \
function-trace.sh \
flakes/config.sh \
fmt.sh \
eval-store.sh \
why-depends.sh \
Expand All @@ -125,7 +105,6 @@ nix_tests = \
store-info.sh \
fetchClosure.sh \
completions.sh \
flakes/show.sh \
impure-derivations.sh \
path-from-hash-part.sh \
path-info.sh \
Expand Down

0 comments on commit 84e46dd

Please sign in to comment.