about summary refs log blame commit diff
path: root/tests/local.mk
blob: 87f4e25e6024dd4a70e575712c762b4f8f8e54a1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14












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

nix_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 \
  binary-cache.sh nix-profile.sh

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

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

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

installcheck: $(d)/common.sh