2004-05-04 15:15:30 +03:00
|
|
|
TEST_ROOT = $(shell pwd)/test-tmp
|
|
|
|
|
2004-05-04 20:04:17 +03:00
|
|
|
extra1 = $(TEST_ROOT)/shared
|
|
|
|
|
2004-05-04 15:15:30 +03: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 \
|
|
|
|
TOP=$(shell pwd)/.. \
|
2004-05-04 20:04:17 +03:00
|
|
|
SHARED=$(extra1) \
|
2004-05-04 15:15:30 +03:00
|
|
|
$(SHELL) -e -x
|
|
|
|
|
|
|
|
simple.sh: simple.nix
|
2004-05-04 16:22:33 +03:00
|
|
|
dependencies.sh: dependencies.nix
|
2004-05-04 16:56:30 +03:00
|
|
|
locking.sh: locking.nix
|
2004-05-04 20:04:17 +03:00
|
|
|
parallel.sh: parallel.nix
|
2004-05-12 12:35:51 +03:00
|
|
|
build-hook.sh: build-hook.nix
|
2004-05-04 15:15:30 +03:00
|
|
|
|
2004-05-12 12:35:51 +03:00
|
|
|
TESTS = init.sh simple.sh dependencies.sh locking.sh parallel.sh \
|
|
|
|
build-hook.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
|
|
|
|
|
2004-05-04 15:45:04 +03:00
|
|
|
EXTRA_DIST = $(TESTS) \
|
2004-05-04 16:22:33 +03:00
|
|
|
simple.nix.in simple.builder.sh \
|
2004-05-04 16:56:30 +03:00
|
|
|
dependencies.nix.in dependencies.builder*.sh \
|
2004-05-04 20:04:17 +03:00
|
|
|
locking.nix.in locking.builder.sh \
|
2004-05-12 12:35:51 +03:00
|
|
|
parallel.nix.in parallel.builder.sh \
|
|
|
|
build-hook.nix.in
|