2013-11-25 18:47:03 +01:00
|
|
|
check:
|
|
|
|
@echo "Warning: Nix has no 'make check'. Please install Nix and run 'make installcheck' instead."
|
|
|
|
|
|
|
|
nix_tests = \
|
|
|
|
init.sh hash.sh lang.sh add.sh simple.sh dependencies.sh \
|
2019-08-02 17:07:33 +02:00
|
|
|
gc.sh \
|
|
|
|
gc-concurrent.sh \
|
|
|
|
gc-auto.sh \
|
2013-11-25 18:47:03 +01:00
|
|
|
referrers.sh user-envs.sh logging.sh nix-build.sh misc.sh fixed.sh \
|
2016-08-10 14:20:51 +02:00
|
|
|
gc-runtime.sh check-refs.sh filter-source.sh \
|
2016-04-08 18:16:53 +02:00
|
|
|
remote-store.sh export.sh export-graph.sh \
|
2016-04-11 14:16:56 +02:00
|
|
|
timeout.sh secure-drv-outputs.sh nix-channel.sh \
|
2013-11-25 18:47:03 +01:00
|
|
|
multiple-outputs.sh import-derivation.sh fetchurl.sh optimise-store.sh \
|
2014-08-27 16:46:02 +02:00
|
|
|
binary-cache.sh nix-profile.sh repair.sh dump-db.sh case-hack.sh \
|
2016-08-17 15:12:54 +02:00
|
|
|
check-reqs.sh pass-as-file.sh tarball.sh restricted.sh \
|
2017-05-02 15:09:35 +02:00
|
|
|
placeholders.sh nix-shell.sh \
|
2017-05-02 15:35:35 +02:00
|
|
|
linux-sandbox.sh \
|
2018-02-07 21:57:44 +01:00
|
|
|
build-dry.sh \
|
2017-05-15 12:23:21 +02:00
|
|
|
build-remote.sh \
|
2017-11-14 13:27:40 +01:00
|
|
|
nar-access.sh \
|
2017-11-01 16:32:53 +01:00
|
|
|
structured-attrs.sh \
|
2017-11-03 13:33:50 +01:00
|
|
|
fetchGit.sh \
|
2017-11-14 18:24:20 +01:00
|
|
|
fetchMercurial.sh \
|
2017-11-20 18:36:36 +01:00
|
|
|
signing.sh \
|
2017-12-29 21:42:14 +01:00
|
|
|
run.sh \
|
2018-01-16 18:50:38 +01:00
|
|
|
brotli.sh \
|
2018-01-19 13:58:28 +01:00
|
|
|
pure-eval.sh \
|
2018-02-08 17:26:18 +01:00
|
|
|
check.sh \
|
2018-02-25 23:33:17 +01:00
|
|
|
plugins.sh \
|
2018-08-03 20:41:56 +02:00
|
|
|
search.sh \
|
2019-07-11 20:23:03 +02:00
|
|
|
nix-copy-ssh.sh \
|
|
|
|
post-hook.sh
|
2014-05-22 11:38:50 +02:00
|
|
|
# parallel.sh
|
2013-11-25 18:47:03 +01:00
|
|
|
|
2014-02-01 12:23:14 +01:00
|
|
|
install-tests += $(foreach x, $(nix_tests), tests/$(x))
|
2013-11-25 18:47:03 +01:00
|
|
|
|
2014-02-01 12:23:14 +01:00
|
|
|
tests-environment = NIX_REMOTE= $(bash) -e
|
2013-11-25 18:47:03 +01:00
|
|
|
|
2014-02-01 12:23:14 +01:00
|
|
|
clean-files += $(d)/common.sh
|
2013-11-25 18:47:03 +01:00
|
|
|
|
2018-02-13 18:49:14 +01:00
|
|
|
installcheck: $(d)/common.sh $(d)/plugins/libplugintest.$(SO_EXT)
|