2013-11-25 17:47:03 +00:00
|
|
|
nix_tests = \
|
2022-07-13 12:09:35 +00:00
|
|
|
flakes/flakes.sh \
|
|
|
|
flakes/run.sh \
|
2022-07-13 12:40:39 +00:00
|
|
|
flakes/mercurial.sh \
|
2022-07-13 18:16:39 +00:00
|
|
|
flakes/circular.sh \
|
2022-07-13 18:36:11 +00:00
|
|
|
flakes/init.sh \
|
2022-07-13 18:46:22 +00:00
|
|
|
flakes/follow-paths.sh \
|
2022-07-13 18:49:07 +00:00
|
|
|
flakes/bundle.sh \
|
2022-07-13 19:01:16 +00:00
|
|
|
flakes/check.sh \
|
2021-06-15 10:11:31 +00:00
|
|
|
ca/gc.sh \
|
2022-02-24 13:15:27 +00:00
|
|
|
gc.sh \
|
|
|
|
remote-store.sh \
|
|
|
|
lang.sh \
|
|
|
|
fetchMercurial.sh \
|
2019-08-02 15:07:33 +00:00
|
|
|
gc-auto.sh \
|
2022-02-24 13:15:27 +00:00
|
|
|
user-envs.sh \
|
2020-12-20 19:55:21 +00:00
|
|
|
binary-cache.sh \
|
2022-02-24 13:15:27 +00: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 11:55:32 +00:00
|
|
|
fetchPath.sh \
|
2020-10-15 23:35:24 +00:00
|
|
|
fetchTree-file.sh \
|
2022-02-24 13:15:27 +00:00
|
|
|
simple.sh \
|
|
|
|
referrers.sh \
|
|
|
|
optimise-store.sh \
|
2021-05-27 11:25:25 +00:00
|
|
|
substitute-with-invalid-ca.sh \
|
2022-02-24 13:15:27 +00: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 17:38:12 +00:00
|
|
|
build-remote-input-addressed.sh \
|
2022-02-24 13:15:27 +00:00
|
|
|
secure-drv-outputs.sh \
|
|
|
|
restricted.sh \
|
|
|
|
fetchGitSubmodules.sh \
|
2022-07-13 18:55:08 +00:00
|
|
|
flakes/search-root.sh \
|
2022-02-24 13:15:27 +00:00
|
|
|
ca/duplicate-realisation-in-closure.sh \
|
|
|
|
readfile-context.sh \
|
|
|
|
nix-channel.sh \
|
|
|
|
recursive.sh \
|
|
|
|
dependencies.sh \
|
|
|
|
check-reqs.sh \
|
2021-02-26 16:29:19 +00:00
|
|
|
build-remote-content-addressed-fixed.sh \
|
2021-01-26 09:28:00 +00:00
|
|
|
build-remote-content-addressed-floating.sh \
|
2017-11-14 12:27:40 +00:00
|
|
|
nar-access.sh \
|
2022-02-24 13:15:27 +00:00
|
|
|
pure-eval.sh \
|
2022-03-16 18:57:18 +00:00
|
|
|
eval.sh \
|
2022-02-24 13:15:27 +00: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 15:32:53 +00:00
|
|
|
structured-attrs.sh \
|
2020-04-29 21:37:21 +00:00
|
|
|
shell.sh \
|
2018-01-16 17:50:38 +00:00
|
|
|
brotli.sh \
|
2021-04-09 21:13:08 +00:00
|
|
|
zstd.sh \
|
2021-10-12 06:14:36 +00:00
|
|
|
compression-levels.sh \
|
2019-05-07 21:22:47 +00:00
|
|
|
nix-copy-ssh.sh \
|
2019-08-08 13:49:13 +00:00
|
|
|
post-hook.sh \
|
2019-08-29 14:11:38 +00:00
|
|
|
function-trace.sh \
|
2022-07-13 18:51:28 +00:00
|
|
|
flakes/config.sh \
|
2022-03-11 13:57:28 +00:00
|
|
|
fmt.sh \
|
2017-11-10 22:51:34 +00:00
|
|
|
eval-store.sh \
|
2022-02-24 13:15:27 +00:00
|
|
|
why-depends.sh \
|
|
|
|
import-derivation.sh \
|
|
|
|
ca/import-derivation.sh \
|
2022-01-27 14:32:14 +00:00
|
|
|
nix_path.sh \
|
2022-02-24 13:15:27 +00:00
|
|
|
case-hack.sh \
|
|
|
|
placeholders.sh \
|
|
|
|
ssh-relay.sh \
|
|
|
|
plugins.sh \
|
2021-02-16 13:32:12 +00:00
|
|
|
build.sh \
|
2021-02-12 21:51:36 +00:00
|
|
|
build-explicit-output.sh \
|
2021-05-11 08:52:17 +00:00
|
|
|
ca/nix-run.sh \
|
2021-10-04 08:00:01 +00:00
|
|
|
selfref-gc.sh ca/selfref-gc.sh \
|
2022-02-24 13:15:27 +00:00
|
|
|
db-migration.sh \
|
2022-03-02 10:14:31 +00:00
|
|
|
bash-profile.sh \
|
2022-02-24 13:15:27 +00:00
|
|
|
pass-as-file.sh \
|
|
|
|
describe-stores.sh \
|
2022-03-04 09:29:48 +00:00
|
|
|
nix-profile.sh \
|
|
|
|
suggestions.sh \
|
2022-03-22 22:19:21 +00:00
|
|
|
store-ping.sh \
|
2022-03-30 14:31:01 +00:00
|
|
|
fetchClosure.sh \
|
2022-07-12 07:19:05 +00:00
|
|
|
completions.sh \
|
2022-10-18 14:42:06 +00:00
|
|
|
impure-derivations.sh \
|
|
|
|
path-from-hash-part.sh
|
2013-11-25 17:47:03 +00:00
|
|
|
|
2021-11-27 23:48:04 +00:00
|
|
|
ifeq ($(HAVE_LIBCPUID), 1)
|
|
|
|
nix_tests += compute-levels.sh
|
|
|
|
endif
|
2013-11-25 17:47:03 +00:00
|
|
|
|
2014-02-01 11:23:14 +00:00
|
|
|
install-tests += $(foreach x, $(nix_tests), tests/$(x))
|
2013-11-25 17:47:03 +00:00
|
|
|
|
2014-02-01 11:23:14 +00:00
|
|
|
tests-environment = NIX_REMOTE= $(bash) -e
|
2013-11-25 17:47:03 +00:00
|
|
|
|
2021-05-11 08:52:17 +00:00
|
|
|
clean-files += $(d)/common.sh $(d)/config.nix $(d)/ca/config.nix
|
2019-05-07 21:22:47 +00:00
|
|
|
|
2022-06-22 20:41:14 +00: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
|