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