about summary refs log tree commit diff
path: root/tests/local.mk
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-01-30T11·11+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-01-30T11·11+0100
commite0234dfddc8343a6bca80ba6e6e93d083ce51a85 (patch)
treec7d85ccf88f723b97b384afa6936c60d7bb3e0df /tests/local.mk
parent4a2ec9c6598aafb98e5495c2cf3a24e166668790 (diff)
Rename Makefile -> local.mk
Diffstat (limited to 'tests/local.mk')
-rw-r--r--tests/local.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/local.mk b/tests/local.mk
new file mode 100644
index 000000000000..21ffd047f6f2
--- /dev/null
+++ b/tests/local.mk
@@ -0,0 +1,21 @@
+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 \
+  fallback.sh nix-push.sh gc.sh gc-concurrent.sh verify.sh nix-pull.sh \
+  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 \
+  binary-cache.sh nix-profile.sh
+
+INSTALL_TESTS += $(foreach x, $(nix_tests), tests/$(x))
+
+TESTS_ENVIRONMENT = NIX_REMOTE= $(bash) -e
+
+clean_files += $(d)/common.sh
+
+installcheck: $(d)/common.sh