2013-11-25 19:47:03 +02: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 \
|
2017-10-23 21:43:04 +03:00
|
|
|
gc.sh gc-concurrent.sh \
|
2013-11-25 19:47:03 +02:00
|
|
|
referrers.sh user-envs.sh logging.sh nix-build.sh misc.sh fixed.sh \
|
2016-08-10 15:20:51 +03:00
|
|
|
gc-runtime.sh check-refs.sh filter-source.sh \
|
2016-04-08 19:16:53 +03:00
|
|
|
remote-store.sh export.sh export-graph.sh \
|
2016-04-11 15:16:56 +03:00
|
|
|
timeout.sh secure-drv-outputs.sh nix-channel.sh \
|
2013-11-25 19:47:03 +02:00
|
|
|
multiple-outputs.sh import-derivation.sh fetchurl.sh optimise-store.sh \
|
2014-08-27 17:46:02 +03:00
|
|
|
binary-cache.sh nix-profile.sh repair.sh dump-db.sh case-hack.sh \
|
2016-08-17 16:12:54 +03:00
|
|
|
check-reqs.sh pass-as-file.sh tarball.sh restricted.sh \
|
2017-05-02 16:09:35 +03:00
|
|
|
placeholders.sh nix-shell.sh \
|
2017-05-02 16:35:35 +03:00
|
|
|
linux-sandbox.sh \
|
2017-05-15 13:23:21 +03:00
|
|
|
build-remote.sh \
|
2017-10-25 14:01:50 +03:00
|
|
|
nar-index.sh \
|
|
|
|
structured-attrs.sh
|
2014-05-22 12:38:50 +03:00
|
|
|
# parallel.sh
|
2013-11-25 19:47:03 +02:00
|
|
|
|
2014-02-01 13:23:14 +02:00
|
|
|
install-tests += $(foreach x, $(nix_tests), tests/$(x))
|
2013-11-25 19:47:03 +02:00
|
|
|
|
2014-02-01 13:23:14 +02:00
|
|
|
tests-environment = NIX_REMOTE= $(bash) -e
|
2013-11-25 19:47:03 +02:00
|
|
|
|
2014-02-01 13:23:14 +02:00
|
|
|
clean-files += $(d)/common.sh
|
2013-11-25 19:47:03 +02:00
|
|
|
|
|
|
|
installcheck: $(d)/common.sh
|