mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-27 00:06:16 +02:00
ea402a255f
Ensuring that the tests work from the build tree requires a growing number of nasty hacks. The tests also don't verify that the installed Nix actually works. Thus, the tests now require "make install" to have been run.
48 lines
1.6 KiB
Makefile
48 lines
1.6 KiB
Makefile
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
|
|
|
|
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 \
|
|
$(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
|