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