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