2013-11-25 17:47:03 +00:00
|
|
|
nix_tests = \
|
2021-12-09 15:26:46 +00:00
|
|
|
test-infra.sh \
|
2021-12-09 15:16:18 +00:00
|
|
|
init.sh \
|
2022-07-13 12:09:35 +00:00
|
|
|
flakes/flakes.sh \
|
2023-11-13 21:04:34 +00:00
|
|
|
flakes/develop.sh \
|
2022-07-13 12:09:35 +00:00
|
|
|
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 \
|
2023-02-09 21:10:30 +00:00
|
|
|
flakes/inputs.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 \
|
2022-12-07 11:58:58 +00:00
|
|
|
flakes/unlocked-override.sh \
|
|
|
|
flakes/absolute-paths.sh \
|
2023-08-27 08:42:52 +00:00
|
|
|
flakes/absolute-attr-paths.sh \
|
2022-12-15 22:01:15 +00:00
|
|
|
flakes/build-paths.sh \
|
2023-03-17 20:10:55 +00:00
|
|
|
flakes/flake-in-submodule.sh \
|
2022-02-24 13:15:27 +00:00
|
|
|
gc.sh \
|
2023-05-16 15:25:45 +00:00
|
|
|
nix-collect-garbage-d.sh \
|
2022-02-24 13:15:27 +00:00
|
|
|
remote-store.sh \
|
2022-12-26 20:21:08 +00:00
|
|
|
legacy-ssh-store.sh \
|
2022-02-24 13:15:27 +00:00
|
|
|
lang.sh \
|
2015-09-04 20:23:08 +00:00
|
|
|
lang-test-infra.sh \
|
2023-01-17 00:10:18 +00:00
|
|
|
experimental-features.sh \
|
2022-02-24 13:15:27 +00:00
|
|
|
fetchMercurial.sh \
|
2019-08-02 15:07:33 +00:00
|
|
|
gc-auto.sh \
|
2022-02-24 13:15:27 +00:00
|
|
|
user-envs.sh \
|
2022-04-13 08:26:50 +00:00
|
|
|
user-envs-migration.sh \
|
2020-12-20 19:55:21 +00:00
|
|
|
binary-cache.sh \
|
2022-02-24 13:15:27 +00: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 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
|
|
|
signing.sh \
|
|
|
|
hash.sh \
|
|
|
|
gc-non-blocking.sh \
|
|
|
|
check.sh \
|
|
|
|
nix-shell.sh \
|
|
|
|
check-refs.sh \
|
2020-08-14 16:05:27 +00:00
|
|
|
build-remote-input-addressed.sh \
|
2022-02-24 13:15:27 +00:00
|
|
|
secure-drv-outputs.sh \
|
|
|
|
restricted.sh \
|
|
|
|
fetchGitSubmodules.sh \
|
2023-10-20 19:18:01 +00:00
|
|
|
fetchGitVerification.sh \
|
2022-07-13 18:55:08 +00:00
|
|
|
flakes/search-root.sh \
|
2022-02-24 13:15:27 +00:00
|
|
|
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 \
|
2021-02-27 05:33:47 +00:00
|
|
|
build-remote-trustless-should-pass-0.sh \
|
2020-08-12 03:47:36 +00:00
|
|
|
build-remote-trustless-should-pass-1.sh \
|
|
|
|
build-remote-trustless-should-pass-2.sh \
|
2021-02-27 05:33:47 +00:00
|
|
|
build-remote-trustless-should-pass-3.sh \
|
2020-08-12 03:47:36 +00:00
|
|
|
build-remote-trustless-should-fail-0.sh \
|
2023-08-29 16:01:09 +00:00
|
|
|
build-remote-with-mounted-ssh-ng.sh \
|
2017-11-14 12:27:40 +00:00
|
|
|
nar-access.sh \
|
2023-12-15 00:47:10 +00:00
|
|
|
impure-eval.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
|
|
|
repl.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 \
|
2023-05-15 21:41:51 +00:00
|
|
|
supplementary-groups.sh \
|
2022-02-24 13:15:27 +00:00
|
|
|
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 \
|
2023-08-07 09:23:19 +00:00
|
|
|
nix-copy-ssh-ng.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 \
|
2023-02-17 23:37:35 +00:00
|
|
|
derivation-json.sh \
|
2022-02-24 13:15:27 +00:00
|
|
|
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 \
|
2021-02-16 13:32:12 +00:00
|
|
|
build.sh \
|
2021-03-01 00:15:05 +00:00
|
|
|
build-delete.sh \
|
|
|
|
output-normalization.sh \
|
2023-07-10 02:24:51 +00:00
|
|
|
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 \
|
2022-03-04 09:29:48 +00:00
|
|
|
nix-profile.sh \
|
|
|
|
suggestions.sh \
|
2023-10-17 18:42:10 +00:00
|
|
|
store-info.sh \
|
2022-03-30 14:31:01 +00:00
|
|
|
fetchClosure.sh \
|
2022-07-12 07:19:05 +00:00
|
|
|
completions.sh \
|
2023-01-27 09:13:05 +00:00
|
|
|
flakes/show.sh \
|
2022-10-18 14:42:06 +00:00
|
|
|
impure-derivations.sh \
|
2022-12-07 11:58:58 +00:00
|
|
|
path-from-hash-part.sh \
|
2023-10-23 01:12:54 +00:00
|
|
|
path-info.sh \
|
2023-06-20 09:34:09 +00:00
|
|
|
toString-path.sh \
|
2023-07-13 17:17:17 +00:00
|
|
|
read-only-store.sh \
|
2023-10-11 11:58:42 +00:00
|
|
|
nested-sandboxing.sh \
|
2024-02-04 15:42:00 +00:00
|
|
|
impure-env.sh \
|
|
|
|
debugger.sh
|
2013-11-25 17:47:03 +00:00
|
|
|
|
2021-11-27 23:48:04 +00:00
|
|
|
ifeq ($(HAVE_LIBCPUID), 1)
|
2024-01-11 01:26:02 +00:00
|
|
|
nix_tests += compute-levels.sh
|
2021-11-27 23:48:04 +00:00
|
|
|
endif
|
2013-11-25 17:47:03 +00:00
|
|
|
|
2023-10-06 15:57:31 +00:00
|
|
|
ifeq ($(ENABLE_BUILD), yes)
|
2024-01-11 01:26:02 +00:00
|
|
|
nix_tests += test-libstoreconsumer.sh
|
2023-10-04 15:10:54 +00:00
|
|
|
|
2024-01-11 01:26:02 +00:00
|
|
|
ifeq ($(BUILD_SHARED_LIBS), 1)
|
|
|
|
nix_tests += plugins.sh
|
|
|
|
endif
|
2023-10-04 15:10:54 +00:00
|
|
|
endif
|
|
|
|
|
2023-10-05 16:12:18 +00:00
|
|
|
$(d)/test-libstoreconsumer.sh.test $(d)/test-libstoreconsumer.sh.test-debug: \
|
2023-11-25 05:33:21 +00:00
|
|
|
$(buildprefix)$(d)/test-libstoreconsumer/test-libstoreconsumer
|
2023-10-05 16:12:18 +00:00
|
|
|
$(d)/plugins.sh.test $(d)/plugins.sh.test-debug: \
|
2023-11-25 05:33:21 +00:00
|
|
|
$(buildprefix)$(d)/plugins/libplugintest.$(SO_EXT)
|
2023-10-04 15:10:54 +00:00
|
|
|
|
2023-04-19 22:49:50 +00:00
|
|
|
install-tests += $(foreach x, $(nix_tests), $(d)/$(x))
|
2013-11-25 17:47:03 +00:00
|
|
|
|
2023-10-05 16:12:18 +00:00
|
|
|
test-clean-files := \
|
2023-04-19 22:49:50 +00:00
|
|
|
$(d)/common/vars-and-functions.sh \
|
2023-07-10 02:24:51 +00:00
|
|
|
$(d)/config.nix
|
2013-11-25 17:47:03 +00:00
|
|
|
|
2023-10-05 16:12:18 +00:00
|
|
|
clean-files += $(test-clean-files)
|
|
|
|
test-deps += $(test-clean-files)
|