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