2013-11-25 19:47:03 +02:00
|
|
|
nix_tests = \
|
2021-12-09 17:26:46 +02:00
|
|
|
test-infra.sh \
|
2022-07-13 15:09:35 +03:00
|
|
|
flakes/flakes.sh \
|
2023-11-13 23:04:34 +02:00
|
|
|
flakes/develop.sh \
|
2024-05-31 12:04:50 +03:00
|
|
|
flakes/edit.sh \
|
2022-07-13 15:09:35 +03:00
|
|
|
flakes/run.sh \
|
2022-07-13 15:40:39 +03:00
|
|
|
flakes/mercurial.sh \
|
2022-07-13 21:16:39 +03:00
|
|
|
flakes/circular.sh \
|
2022-07-13 21:36:11 +03:00
|
|
|
flakes/init.sh \
|
2023-02-09 23:10:30 +02:00
|
|
|
flakes/inputs.sh \
|
2022-07-13 21:46:22 +03:00
|
|
|
flakes/follow-paths.sh \
|
2022-07-13 21:49:07 +03:00
|
|
|
flakes/bundle.sh \
|
2022-07-13 22:01:16 +03:00
|
|
|
flakes/check.sh \
|
2022-12-07 13:58:58 +02:00
|
|
|
flakes/unlocked-override.sh \
|
|
|
|
flakes/absolute-paths.sh \
|
2023-08-27 11:42:52 +03:00
|
|
|
flakes/absolute-attr-paths.sh \
|
2022-12-16 00:01:15 +02:00
|
|
|
flakes/build-paths.sh \
|
2023-03-17 22:10:55 +02:00
|
|
|
flakes/flake-in-submodule.sh \
|
2024-05-09 20:33:09 +03:00
|
|
|
flakes/prefetch.sh \
|
2022-02-24 15:15:27 +02:00
|
|
|
gc.sh \
|
2023-05-16 18:25:45 +03:00
|
|
|
nix-collect-garbage-d.sh \
|
2022-02-24 15:15:27 +02:00
|
|
|
remote-store.sh \
|
2022-12-26 22:21:08 +02:00
|
|
|
legacy-ssh-store.sh \
|
2022-02-24 15:15:27 +02:00
|
|
|
lang.sh \
|
2015-09-04 23:23:08 +03:00
|
|
|
lang-test-infra.sh \
|
2023-01-17 02:10:18 +02:00
|
|
|
experimental-features.sh \
|
2022-02-24 15:15:27 +02:00
|
|
|
fetchMercurial.sh \
|
2019-08-02 18:07:33 +03:00
|
|
|
gc-auto.sh \
|
2022-02-24 15:15:27 +02:00
|
|
|
user-envs.sh \
|
2022-04-13 11:26:50 +03:00
|
|
|
user-envs-migration.sh \
|
2020-12-20 21:55:21 +02:00
|
|
|
binary-cache.sh \
|
2022-02-24 15:15:27 +02:00
|
|
|
multiple-outputs.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 13:55:32 +02:00
|
|
|
fetchPath.sh \
|
2020-10-16 02:35:24 +03:00
|
|
|
fetchTree-file.sh \
|
2022-02-24 15:15:27 +02:00
|
|
|
simple.sh \
|
|
|
|
referrers.sh \
|
|
|
|
optimise-store.sh \
|
2021-05-27 14:25:25 +03:00
|
|
|
substitute-with-invalid-ca.sh \
|
2022-02-24 15:15:27 +02:00
|
|
|
signing.sh \
|
2024-02-13 16:37:45 +02:00
|
|
|
hash-convert.sh \
|
|
|
|
hash-path.sh \
|
2022-02-24 15:15:27 +02:00
|
|
|
gc-non-blocking.sh \
|
|
|
|
check.sh \
|
|
|
|
nix-shell.sh \
|
|
|
|
check-refs.sh \
|
2020-08-14 19:05:27 +03:00
|
|
|
build-remote-input-addressed.sh \
|
2022-02-24 15:15:27 +02:00
|
|
|
secure-drv-outputs.sh \
|
|
|
|
restricted.sh \
|
|
|
|
fetchGitSubmodules.sh \
|
2023-10-20 22:18:01 +03:00
|
|
|
fetchGitVerification.sh \
|
2022-07-13 21:55:08 +03:00
|
|
|
flakes/search-root.sh \
|
2022-02-24 15:15:27 +02:00
|
|
|
readfile-context.sh \
|
|
|
|
nix-channel.sh \
|
|
|
|
recursive.sh \
|
|
|
|
dependencies.sh \
|
|
|
|
check-reqs.sh \
|
2021-02-26 18:29:19 +02:00
|
|
|
build-remote-content-addressed-fixed.sh \
|
2021-01-26 11:28:00 +02:00
|
|
|
build-remote-content-addressed-floating.sh \
|
2021-02-27 07:33:47 +02:00
|
|
|
build-remote-trustless-should-pass-0.sh \
|
2020-08-12 06:47:36 +03:00
|
|
|
build-remote-trustless-should-pass-1.sh \
|
|
|
|
build-remote-trustless-should-pass-2.sh \
|
2021-02-27 07:33:47 +02:00
|
|
|
build-remote-trustless-should-pass-3.sh \
|
2020-08-12 06:47:36 +03:00
|
|
|
build-remote-trustless-should-fail-0.sh \
|
2023-08-29 19:01:09 +03:00
|
|
|
build-remote-with-mounted-ssh-ng.sh \
|
2017-11-14 14:27:40 +02:00
|
|
|
nar-access.sh \
|
2023-12-15 02:47:10 +02:00
|
|
|
impure-eval.sh \
|
2022-02-24 15:15:27 +02:00
|
|
|
pure-eval.sh \
|
2022-03-16 20:57:18 +02:00
|
|
|
eval.sh \
|
2022-02-24 15:15:27 +02:00
|
|
|
repl.sh \
|
|
|
|
binary-cache-build-remote.sh \
|
|
|
|
search.sh \
|
|
|
|
logging.sh \
|
|
|
|
export.sh \
|
|
|
|
config.sh \
|
|
|
|
add.sh \
|
2024-03-29 13:51:14 +02:00
|
|
|
chroot-store.sh \
|
2022-02-24 15:15:27 +02:00
|
|
|
filter-source.sh \
|
|
|
|
misc.sh \
|
|
|
|
dump-db.sh \
|
|
|
|
linux-sandbox.sh \
|
2023-05-16 00:41:51 +03:00
|
|
|
supplementary-groups.sh \
|
2022-02-24 15:15:27 +02:00
|
|
|
build-dry.sh \
|
2017-11-01 17:32:53 +02:00
|
|
|
structured-attrs.sh \
|
2020-04-30 00:37:21 +03:00
|
|
|
shell.sh \
|
2018-01-16 19:50:38 +02:00
|
|
|
brotli.sh \
|
2021-04-10 00:13:08 +03:00
|
|
|
zstd.sh \
|
2021-10-12 09:14:36 +03:00
|
|
|
compression-levels.sh \
|
2019-05-08 00:22:47 +03:00
|
|
|
nix-copy-ssh.sh \
|
2023-08-07 12:23:19 +03:00
|
|
|
nix-copy-ssh-ng.sh \
|
2019-08-08 16:49:13 +03:00
|
|
|
post-hook.sh \
|
2019-08-29 17:11:38 +03:00
|
|
|
function-trace.sh \
|
2022-07-13 21:51:28 +03:00
|
|
|
flakes/config.sh \
|
2022-03-11 15:57:28 +02:00
|
|
|
fmt.sh \
|
2017-11-11 00:51:34 +02:00
|
|
|
eval-store.sh \
|
2022-02-24 15:15:27 +02:00
|
|
|
why-depends.sh \
|
2023-02-18 01:37:35 +02:00
|
|
|
derivation-json.sh \
|
2022-02-24 15:15:27 +02:00
|
|
|
import-derivation.sh \
|
2022-01-27 16:32:14 +02:00
|
|
|
nix_path.sh \
|
2022-02-24 15:15:27 +02:00
|
|
|
case-hack.sh \
|
|
|
|
placeholders.sh \
|
|
|
|
ssh-relay.sh \
|
2021-02-16 15:32:12 +02:00
|
|
|
build.sh \
|
2021-03-01 02:15:05 +02:00
|
|
|
build-delete.sh \
|
|
|
|
output-normalization.sh \
|
2023-07-10 05:24:51 +03:00
|
|
|
selfref-gc.sh \
|
2022-02-24 15:15:27 +02:00
|
|
|
db-migration.sh \
|
2022-03-02 12:14:31 +02:00
|
|
|
bash-profile.sh \
|
2022-02-24 15:15:27 +02:00
|
|
|
pass-as-file.sh \
|
2022-03-04 11:29:48 +02:00
|
|
|
nix-profile.sh \
|
|
|
|
suggestions.sh \
|
2023-10-17 21:42:10 +03:00
|
|
|
store-info.sh \
|
2022-03-30 17:31:01 +03:00
|
|
|
fetchClosure.sh \
|
2022-07-12 10:19:05 +03:00
|
|
|
completions.sh \
|
2023-01-27 11:13:05 +02:00
|
|
|
flakes/show.sh \
|
2022-10-18 17:42:06 +03:00
|
|
|
impure-derivations.sh \
|
2022-12-07 13:58:58 +02:00
|
|
|
path-from-hash-part.sh \
|
2023-10-23 04:12:54 +03:00
|
|
|
path-info.sh \
|
2023-06-20 12:34:09 +03:00
|
|
|
toString-path.sh \
|
2023-07-13 20:17:17 +03:00
|
|
|
read-only-store.sh \
|
2023-10-11 14:58:42 +03:00
|
|
|
nested-sandboxing.sh \
|
2024-02-04 17:42:00 +02:00
|
|
|
impure-env.sh \
|
2024-03-04 17:07:03 +02:00
|
|
|
debugger.sh \
|
2024-05-06 16:10:18 +03:00
|
|
|
extra-sandbox-profile.sh \
|
2024-03-04 20:25:44 +02:00
|
|
|
help.sh
|
2013-11-25 19:47:03 +02:00
|
|
|
|
2021-11-28 01:48:04 +02:00
|
|
|
ifeq ($(HAVE_LIBCPUID), 1)
|
2024-01-11 03:26:02 +02:00
|
|
|
nix_tests += compute-levels.sh
|
2021-11-28 01:48:04 +02:00
|
|
|
endif
|
2013-11-25 19:47:03 +02:00
|
|
|
|
2023-10-06 18:57:31 +03:00
|
|
|
ifeq ($(ENABLE_BUILD), yes)
|
2024-01-11 03:26:02 +02:00
|
|
|
nix_tests += test-libstoreconsumer.sh
|
2023-10-04 18:10:54 +03:00
|
|
|
|
2024-01-11 03:26:02 +02:00
|
|
|
ifeq ($(BUILD_SHARED_LIBS), 1)
|
|
|
|
nix_tests += plugins.sh
|
|
|
|
endif
|
2023-10-04 18:10:54 +03:00
|
|
|
endif
|
|
|
|
|
2023-10-05 19:12:18 +03:00
|
|
|
$(d)/test-libstoreconsumer.sh.test $(d)/test-libstoreconsumer.sh.test-debug: \
|
2023-11-25 07:33:21 +02:00
|
|
|
$(buildprefix)$(d)/test-libstoreconsumer/test-libstoreconsumer
|
2023-10-05 19:12:18 +03:00
|
|
|
$(d)/plugins.sh.test $(d)/plugins.sh.test-debug: \
|
2023-11-25 07:33:21 +02:00
|
|
|
$(buildprefix)$(d)/plugins/libplugintest.$(SO_EXT)
|
2023-10-04 18:10:54 +03:00
|
|
|
|
2023-04-20 01:49:50 +03:00
|
|
|
install-tests += $(foreach x, $(nix_tests), $(d)/$(x))
|
2013-11-25 19:47:03 +02:00
|
|
|
|
2023-10-05 19:12:18 +03:00
|
|
|
test-clean-files := \
|
2024-05-28 17:10:02 +03:00
|
|
|
$(d)/common/subst-vars.sh \
|
2023-07-10 05:24:51 +03:00
|
|
|
$(d)/config.nix
|
2013-11-25 19:47:03 +02:00
|
|
|
|
2023-10-05 19:12:18 +03:00
|
|
|
clean-files += $(test-clean-files)
|
|
|
|
test-deps += $(test-clean-files)
|