2004-05-04 14:15:30 +02:00
|
|
|
TEST_ROOT = $(shell pwd)/test-tmp
|
|
|
|
|
2004-05-04 19:04:17 +02:00
|
|
|
extra1 = $(TEST_ROOT)/shared
|
|
|
|
|
2004-05-04 14:15:30 +02:00
|
|
|
TESTS_ENVIRONMENT = TEST_ROOT=$(TEST_ROOT) \
|
|
|
|
NIX_STORE_DIR=$(TEST_ROOT)/store \
|
|
|
|
NIX_DATA_DIR=$(TEST_ROOT)/data \
|
|
|
|
NIX_LOG_DIR=$(TEST_ROOT)/log \
|
|
|
|
NIX_STATE_DIR=$(TEST_ROOT)/state \
|
|
|
|
NIX_DB_DIR=$(TEST_ROOT)/db \
|
2004-08-19 11:09:09 +02:00
|
|
|
NIX_BUILD_HOOK= \
|
2004-05-04 14:15:30 +02:00
|
|
|
TOP=$(shell pwd)/.. \
|
2004-05-04 19:04:17 +02:00
|
|
|
SHARED=$(extra1) \
|
2004-10-27 15:12:58 +02:00
|
|
|
aterm_bin=$(aterm_bin) \
|
2004-10-27 14:41:53 +02:00
|
|
|
$(SHELL) -e
|
2004-05-04 14:15:30 +02:00
|
|
|
|
|
|
|
simple.sh: simple.nix
|
2004-05-04 15:22:33 +02:00
|
|
|
dependencies.sh: dependencies.nix
|
2004-05-04 15:56:30 +02:00
|
|
|
locking.sh: locking.nix
|
2004-05-04 19:04:17 +02:00
|
|
|
parallel.sh: parallel.nix
|
2004-05-12 11:35:51 +02:00
|
|
|
build-hook.sh: build-hook.nix
|
2004-06-20 21:17:54 +02:00
|
|
|
substitutes.sh: substitutes.nix substituter.nix
|
2004-06-24 15:40:38 +02:00
|
|
|
substitutes2.sh: substitutes2.nix substituter.nix substituter2.nix
|
2004-06-28 12:42:57 +02:00
|
|
|
fallback.sh: fallback.nix
|
2004-05-04 14:15:30 +02:00
|
|
|
|
2004-10-27 14:41:53 +02:00
|
|
|
TESTS = init.sh lang.sh simple.sh dependencies.sh locking.sh parallel.sh \
|
2004-06-28 12:42:57 +02:00
|
|
|
build-hook.sh substitutes.sh substitutes2.sh fallback.sh verify.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
|
|
|
|
2004-10-27 15:00:31 +02:00
|
|
|
langtests:
|
2004-10-27 14:41:53 +02:00
|
|
|
$(TESTS_ENVIRONMENT) ./lang.sh
|
|
|
|
|
2004-05-04 14:15:30 +02:00
|
|
|
include ../substitute.mk
|
|
|
|
|
2004-05-04 14:45:04 +02:00
|
|
|
EXTRA_DIST = $(TESTS) \
|
2004-05-04 15:22:33 +02:00
|
|
|
simple.nix.in simple.builder.sh \
|
2004-05-04 15:56:30 +02:00
|
|
|
dependencies.nix.in dependencies.builder*.sh \
|
2004-05-04 19:04:17 +02:00
|
|
|
locking.nix.in locking.builder.sh \
|
2004-05-12 11:35:51 +02:00
|
|
|
parallel.nix.in parallel.builder.sh \
|
2004-06-21 14:20:47 +02:00
|
|
|
build-hook.nix.in build-hook.hook.sh \
|
2004-06-24 14:56:24 +02:00
|
|
|
substitutes.nix.in substituter.nix.in substituter.builder.sh \
|
2004-06-24 16:35:01 +02:00
|
|
|
substitutes2.nix.in substituter2.nix.in substituter2.builder.sh \
|
2004-10-27 14:41:53 +02:00
|
|
|
fallback.nix.in \
|
|
|
|
$(wildcard lang/*.nix) $(wildcard lang/*.exp)
|