aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: a562db52bc57d4b60ae5a18deab6876cf980e38f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
TESTS_ENVIRONMENT = NIX_REMOTE= $(bash) -e

extra1 = $(shell pwd)/test-tmp/shared

TESTS = init.sh hash.sh lang.sh add.sh simple.sh dependencies.sh \
  parallel.sh build-hook.sh substitutes.sh substitutes2.sh \
  fallback.sh nix-push.sh gc.sh gc-concurrent.sh verify.sh nix-pull.sh \
  referrers.sh user-envs.sh logging.sh nix-build.sh misc.sh fixed.sh \
  gc-runtime.sh install-package.sh check-refs.sh filter-source.sh \
  remote-store.sh export.sh export-graph.sh negative-caching.sh \
  binary-patching.sh timeout.sh secure-drv-outputs.sh nix-channel.sh \
  multiple-outputs.sh import-derivation.sh fetchurl.sh optimise-store.sh

XFAIL_TESTS =

include ../substitute.mk

$(TESTS): common.sh config.nix

EXTRA_DIST = $(TESTS) \
  config.nix.in \
  simple.nix simple.builder.sh \
  hash-check.nix \
  dependencies.nix dependencies.builder*.sh \
  parallel.nix parallel.builder.sh \
  build-hook.nix build-hook.hook.sh \
  substituter.sh substituter2.sh \
  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 \
  negative-caching.nix \
  binary-patching.nix \
  timeout.nix timeout.builder.sh \
  secure-drv-outputs.nix \
  multiple-outputs.nix \
  import-derivation.nix \
  fetchurl.nix \
  $(wildcard lang/*.nix) $(wildcard lang/*.exp) $(wildcard lang/*.exp.xml) $(wildcard lang/*.flags) $(wildcard lang/dir*/*.nix) \
  common.sh.in

# Hacky.
check-am:
	@echo "Warning: Nix has no 'make check'. Please install Nix and run 'make installcheck' instead."

installcheck: check-TESTS