2011-12-15 00:31:31 +02:00
|
|
|
TESTS_ENVIRONMENT = NIX_REMOTE= $(bash) -e
|
2004-05-04 15:15:30 +03:00
|
|
|
|
2006-03-01 14:51:18 +02:00
|
|
|
extra1 = $(shell pwd)/test-tmp/shared
|
|
|
|
|
2006-03-01 17:43:37 +02:00
|
|
|
TESTS = init.sh hash.sh lang.sh add.sh simple.sh dependencies.sh \
|
2009-03-25 18:43:38 +02:00
|
|
|
parallel.sh build-hook.sh substitutes.sh substitutes2.sh \
|
2006-03-01 17:43:37 +02:00
|
|
|
fallback.sh nix-push.sh gc.sh gc-concurrent.sh verify.sh nix-pull.sh \
|
2006-07-21 15:46:54 +03:00
|
|
|
referrers.sh user-envs.sh logging.sh nix-build.sh misc.sh fixed.sh \
|
2007-08-13 17:56:40 +03:00
|
|
|
gc-runtime.sh install-package.sh check-refs.sh filter-source.sh \
|
2010-11-17 17:30:07 +02:00
|
|
|
remote-store.sh export.sh export-graph.sh negative-caching.sh \
|
2012-01-03 14:59:31 +02:00
|
|
|
binary-patching.sh timeout.sh secure-drv-outputs.sh nix-channel.sh \
|
2012-07-24 00:40:23 +03:00
|
|
|
multiple-outputs.sh import-derivation.sh fetchurl.sh optimise-store.sh
|
2004-05-04 16:56:30 +03:00
|
|
|
|
2004-05-11 21:05:44 +03:00
|
|
|
XFAIL_TESTS =
|
2004-05-04 15:15:30 +03:00
|
|
|
|
|
|
|
include ../substitute.mk
|
|
|
|
|
2009-03-17 19:11:55 +02:00
|
|
|
$(TESTS): common.sh config.nix
|
2006-03-01 14:15:33 +02:00
|
|
|
|
2004-05-04 15:45:04 +03:00
|
|
|
EXTRA_DIST = $(TESTS) \
|
2009-03-18 18:23:29 +02:00
|
|
|
config.nix.in \
|
2009-03-17 19:11:55 +02:00
|
|
|
simple.nix simple.builder.sh \
|
2006-07-20 15:58:51 +03:00
|
|
|
hash-check.nix \
|
2009-03-17 18:33:48 +02:00
|
|
|
dependencies.nix dependencies.builder*.sh \
|
2009-03-17 19:11:55 +02:00
|
|
|
parallel.nix parallel.builder.sh \
|
|
|
|
build-hook.nix build-hook.hook.sh \
|
2007-08-13 16:15:02 +03:00
|
|
|
substituter.sh substituter2.sh \
|
2009-03-17 19:11:55 +02:00
|
|
|
gc-concurrent.nix gc-concurrent.builder.sh gc-concurrent2.builder.sh \
|
|
|
|
user-envs.nix user-envs.builder.sh \
|
|
|
|
fixed.nix fixed.builder1.sh fixed.builder2.sh \
|
|
|
|
gc-runtime.nix \
|
|
|
|
check-refs.nix \
|
|
|
|
filter-source.nix \
|
|
|
|
export-graph.nix \
|
2009-03-25 23:05:42 +02:00
|
|
|
negative-caching.nix \
|
2010-11-17 17:45:09 +02:00
|
|
|
binary-patching.nix \
|
2011-06-30 18:19:13 +03:00
|
|
|
timeout.nix timeout.builder.sh \
|
2011-07-20 15:15:40 +03:00
|
|
|
secure-drv-outputs.nix \
|
2011-09-14 08:59:29 +03:00
|
|
|
multiple-outputs.nix \
|
2012-01-26 15:04:50 +02:00
|
|
|
import-derivation.nix \
|
2012-07-09 22:41:43 +03:00
|
|
|
fetchurl.nix \
|
2011-08-06 19:18:54 +03:00
|
|
|
$(wildcard lang/*.nix) $(wildcard lang/*.exp) $(wildcard lang/*.exp.xml) $(wildcard lang/*.flags) $(wildcard lang/dir*/*.nix) \
|
2006-03-01 14:15:33 +02:00
|
|
|
common.sh.in
|
2012-03-19 02:20:02 +02:00
|
|
|
|
|
|
|
# Hacky.
|
|
|
|
check-am:
|
|
|
|
@echo "Warning: Nix has no 'make check'. Please install Nix and run 'make installcheck' instead."
|
|
|
|
|
|
|
|
installcheck: check-TESTS
|