aboutsummaryrefslogtreecommitdiff
path: root/tests/local.mk
blob: d2a46f22b49bc9a1540a839eea57e81aa23b5547 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
nix_tests = \
  hash.sh lang.sh add.sh simple.sh dependencies.sh \
  config.sh \
  gc.sh \
  ca/gc.sh \
  gc-concurrent.sh \
  gc-non-blocking.sh \
  gc-auto.sh \
  referrers.sh user-envs.sh logging.sh nix-build.sh misc.sh fixed.sh \
  gc-runtime.sh check-refs.sh filter-source.sh \
  local-store.sh remote-store.sh export.sh export-graph.sh \
  db-migration.sh \
  timeout.sh secure-drv-outputs.sh nix-channel.sh \
  multiple-outputs.sh import-derivation.sh ca/import-derivation.sh fetchurl.sh optimise-store.sh \
  binary-cache.sh \
  substitute-with-invalid-ca.sh \
  binary-cache-build-remote.sh \
  nix-profile.sh repair.sh dump-db.sh case-hack.sh \
  check-reqs.sh pass-as-file.sh tarball.sh restricted.sh \
  placeholders.sh nix-shell.sh \
  linux-sandbox.sh \
  build-dry.sh \
  build-remote-input-addressed.sh \
  build-remote-content-addressed-fixed.sh \
  build-remote-content-addressed-floating.sh \
  ssh-relay.sh \
  nar-access.sh \
  structured-attrs.sh \
  fetchGit.sh \
  fetchGitRefs.sh \
  fetchGitSubmodules.sh \
  fetchMercurial.sh \
  signing.sh \
  shell.sh \
  brotli.sh \
  zstd.sh \
  compression-levels.sh \
  pure-eval.sh \
  check.sh \
  plugins.sh \
  search.sh \
  nix-copy-ssh.sh \
  post-hook.sh \
  ca/post-hook.sh \
  function-trace.sh \
  recursive.sh \
  describe-stores.sh \
  flakes.sh \
  flake-local-settings.sh \
  build.sh \
  repl.sh ca/repl.sh \
  ca/build.sh \
  ca/build-with-garbage-path.sh \
  ca/duplicate-realisation-in-closure.sh \
  ca/substitute.sh \
  ca/signatures.sh \
  ca/nix-shell.sh \
  ca/nix-run.sh \
  ca/recursive.sh \
  ca/concurrent-builds.sh \
  ca/nix-copy.sh \
  eval-store.sh \
  readfile-context.sh
  # parallel.sh

ifeq ($(HAVE_LIBCPUID), 1)
	nix_tests += compute-levels.sh
endif

install-tests += $(foreach x, $(nix_tests), tests/$(x))

tests-environment = NIX_REMOTE= $(bash) -e

clean-files += $(d)/common.sh $(d)/config.nix $(d)/ca/config.nix

test-deps += tests/common.sh tests/config.nix tests/ca/config.nix tests/plugins/libplugintest.$(SO_EXT)