2013-11-25 18:47:03 +01:00
|
|
|
nix_tests = \
|
2022-07-13 14:09:35 +02:00
|
|
|
flakes/flakes.sh \
|
|
|
|
flakes/run.sh \
|
2022-07-13 14:40:39 +02:00
|
|
|
flakes/mercurial.sh \
|
2022-07-13 20:16:39 +02:00
|
|
|
flakes/circular.sh \
|
2022-07-13 20:36:11 +02:00
|
|
|
flakes/init.sh \
|
2022-07-13 20:46:22 +02:00
|
|
|
flakes/follow-paths.sh \
|
2022-07-13 20:49:07 +02:00
|
|
|
flakes/bundle.sh \
|
2021-06-15 12:11:31 +02:00
|
|
|
ca/gc.sh \
|
2022-02-24 14:15:27 +01:00
|
|
|
gc.sh \
|
|
|
|
remote-store.sh \
|
|
|
|
lang.sh \
|
|
|
|
fetchMercurial.sh \
|
2019-08-02 17:07:33 +02:00
|
|
|
gc-auto.sh \
|
2022-02-24 14:15:27 +01:00
|
|
|
user-envs.sh \
|
2020-12-20 20:55:21 +01:00
|
|
|
binary-cache.sh \
|
2022-02-24 14:15:27 +01:00
|
|
|
multiple-outputs.sh \
|
|
|
|
ca/build.sh \
|
|
|
|
nix-build.sh \
|
|
|
|
gc-concurrent.sh \
|
|
|
|
repair.sh \
|
|
|
|
fixed.sh \
|
|
|
|
export-graph.sh \
|
|
|
|
timeout.sh \
|
|
|
|
fetchGitRefs.sh \
|
|
|
|
gc-runtime.sh \
|
|
|
|
tarball.sh \
|
|
|
|
fetchGit.sh \
|
|
|
|
fetchurl.sh \
|
2022-03-15 12:55:32 +01:00
|
|
|
fetchPath.sh \
|
2020-10-16 01:35:24 +02:00
|
|
|
fetchTree-file.sh \
|
2022-02-24 14:15:27 +01:00
|
|
|
simple.sh \
|
|
|
|
referrers.sh \
|
|
|
|
optimise-store.sh \
|
2021-05-27 13:25:25 +02:00
|
|
|
substitute-with-invalid-ca.sh \
|
2022-02-24 14:15:27 +01:00
|
|
|
ca/concurrent-builds.sh \
|
|
|
|
signing.sh \
|
|
|
|
ca/build-with-garbage-path.sh \
|
|
|
|
hash.sh \
|
|
|
|
gc-non-blocking.sh \
|
|
|
|
check.sh \
|
|
|
|
ca/substitute.sh \
|
|
|
|
nix-shell.sh \
|
|
|
|
ca/signatures.sh \
|
|
|
|
ca/nix-shell.sh \
|
|
|
|
ca/nix-copy.sh \
|
|
|
|
check-refs.sh \
|
2020-08-16 19:38:12 +02:00
|
|
|
build-remote-input-addressed.sh \
|
2022-02-24 14:15:27 +01:00
|
|
|
secure-drv-outputs.sh \
|
|
|
|
restricted.sh \
|
|
|
|
fetchGitSubmodules.sh \
|
|
|
|
flake-searching.sh \
|
|
|
|
ca/duplicate-realisation-in-closure.sh \
|
|
|
|
readfile-context.sh \
|
|
|
|
nix-channel.sh \
|
|
|
|
recursive.sh \
|
|
|
|
dependencies.sh \
|
|
|
|
check-reqs.sh \
|
2021-02-26 17:29:19 +01:00
|
|
|
build-remote-content-addressed-fixed.sh \
|
2021-01-26 10:28:00 +01:00
|
|
|
build-remote-content-addressed-floating.sh \
|
2017-11-14 13:27:40 +01:00
|
|
|
nar-access.sh \
|
2022-02-24 14:15:27 +01:00
|
|
|
pure-eval.sh \
|
2022-03-16 19:57:18 +01:00
|
|
|
eval.sh \
|
2022-02-24 14:15:27 +01:00
|
|
|
ca/post-hook.sh \
|
|
|
|
repl.sh \
|
|
|
|
ca/repl.sh \
|
|
|
|
ca/recursive.sh \
|
|
|
|
binary-cache-build-remote.sh \
|
|
|
|
search.sh \
|
|
|
|
logging.sh \
|
|
|
|
export.sh \
|
|
|
|
config.sh \
|
|
|
|
add.sh \
|
|
|
|
local-store.sh \
|
|
|
|
filter-source.sh \
|
|
|
|
misc.sh \
|
|
|
|
dump-db.sh \
|
|
|
|
linux-sandbox.sh \
|
|
|
|
build-dry.sh \
|
2017-11-01 16:32:53 +01:00
|
|
|
structured-attrs.sh \
|
2020-04-29 23:37:21 +02:00
|
|
|
shell.sh \
|
2018-01-16 18:50:38 +01:00
|
|
|
brotli.sh \
|
2021-04-09 23:13:08 +02:00
|
|
|
zstd.sh \
|
2021-10-12 08:14:36 +02:00
|
|
|
compression-levels.sh \
|
2019-05-07 23:22:47 +02:00
|
|
|
nix-copy-ssh.sh \
|
2019-08-08 15:49:13 +02:00
|
|
|
post-hook.sh \
|
2019-08-29 16:11:38 +02:00
|
|
|
function-trace.sh \
|
2021-11-05 16:17:49 +01:00
|
|
|
flake-local-settings.sh \
|
2022-03-11 14:57:28 +01:00
|
|
|
fmt.sh \
|
2017-11-10 23:51:34 +01:00
|
|
|
eval-store.sh \
|
2022-02-24 14:15:27 +01:00
|
|
|
why-depends.sh \
|
|
|
|
import-derivation.sh \
|
|
|
|
ca/import-derivation.sh \
|
2022-01-27 15:32:14 +01:00
|
|
|
nix_path.sh \
|
2022-02-24 14:15:27 +01:00
|
|
|
case-hack.sh \
|
|
|
|
placeholders.sh \
|
|
|
|
ssh-relay.sh \
|
|
|
|
plugins.sh \
|
|
|
|
build.sh \
|
|
|
|
ca/nix-run.sh \
|
2021-10-04 10:00:01 +02:00
|
|
|
selfref-gc.sh ca/selfref-gc.sh \
|
2022-02-24 14:15:27 +01:00
|
|
|
db-migration.sh \
|
2022-03-02 11:14:31 +01:00
|
|
|
bash-profile.sh \
|
2022-02-24 14:15:27 +01:00
|
|
|
pass-as-file.sh \
|
|
|
|
describe-stores.sh \
|
2022-03-04 10:29:48 +01:00
|
|
|
nix-profile.sh \
|
|
|
|
suggestions.sh \
|
2022-03-22 23:19:21 +01:00
|
|
|
store-ping.sh \
|
2022-03-30 16:31:01 +02:00
|
|
|
fetchClosure.sh \
|
|
|
|
impure-derivations.sh
|
2013-11-25 18:47:03 +01:00
|
|
|
|
2021-11-28 00:48:04 +01:00
|
|
|
ifeq ($(HAVE_LIBCPUID), 1)
|
|
|
|
nix_tests += compute-levels.sh
|
|
|
|
endif
|
|
|
|
|
2014-02-01 12:23:14 +01:00
|
|
|
install-tests += $(foreach x, $(nix_tests), tests/$(x))
|
2013-11-25 18:47:03 +01:00
|
|
|
|
2014-02-01 12:23:14 +01:00
|
|
|
tests-environment = NIX_REMOTE= $(bash) -e
|
2013-11-25 18:47:03 +01:00
|
|
|
|
2021-05-11 10:52:17 +02:00
|
|
|
clean-files += $(d)/common.sh $(d)/config.nix $(d)/ca/config.nix
|
2019-05-07 23:22:47 +02:00
|
|
|
|
2022-06-22 22:41:14 +02:00
|
|
|
test-deps += tests/common.sh tests/config.nix tests/ca/config.nix
|
|
|
|
|
|
|
|
ifeq ($(BUILD_SHARED_LIBS), 1)
|
|
|
|
test-deps += tests/plugins/libplugintest.$(SO_EXT)
|
|
|
|
endif
|