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 \
|
|
|
|
parallel.sh build-hook.sh substitutes.sh substitutes2.sh \
|
2014-02-17 12:22:50 +01:00
|
|
|
fallback.sh nix-push.sh gc.sh gc-concurrent.sh nix-pull.sh \
|
2013-11-25 18:47:03 +01:00
|
|
|
referrers.sh user-envs.sh logging.sh nix-build.sh misc.sh fixed.sh \
|
|
|
|
gc-runtime.sh install-package.sh check-refs.sh filter-source.sh \
|
|
|
|
remote-store.sh export.sh export-graph.sh negative-caching.sh \
|
|
|
|
binary-patching.sh timeout.sh secure-drv-outputs.sh nix-channel.sh \
|
|
|
|
multiple-outputs.sh import-derivation.sh fetchurl.sh optimise-store.sh \
|
2014-02-17 12:22:50 +01:00
|
|
|
binary-cache.sh nix-profile.sh repair.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
|
|
|
|
|
|
|
installcheck: $(d)/common.sh
|