aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorQyriad <qyriad@qyriad.me>2024-05-07 13:34:36 -0600
committerQyriad <qyriad@qyriad.me>2024-05-07 17:04:30 -0600
commitb9be46fb3115dffcd5cdaa62523bd025c7342e42 (patch)
treee95c1b36bf9797ce725481246980cf7c353f829d /tests
parentd184981af019f786df8ddb1b39527df30c62b262 (diff)
remove the autoconf+Make buildsystem
We're not using it anymore. Any leftover bugs in the Meson buildsystem are now just bugs. Closes #249. Change-Id: I0465a0c37ae819f94d40e7829f5bff046aa63d73
Diffstat (limited to 'tests')
-rw-r--r--tests/functional/ca/local.mk29
-rw-r--r--tests/functional/dyn-drv/local.mk15
-rw-r--r--tests/functional/local.mk156
-rw-r--r--tests/functional/plugins/local.mk27
-rw-r--r--tests/functional/repl_characterization/local.mk15
-rw-r--r--tests/functional/test-libstoreconsumer/local.mk15
-rw-r--r--tests/unit/libexpr-support/local.mk19
-rw-r--r--tests/unit/libexpr/local.mk32
-rw-r--r--tests/unit/libstore-support/local.mk17
-rw-r--r--tests/unit/libstore/local.mk27
-rw-r--r--tests/unit/libutil-support/local.mk16
-rw-r--r--tests/unit/libutil/local.mk23
12 files changed, 0 insertions, 391 deletions
diff --git a/tests/functional/ca/local.mk b/tests/functional/ca/local.mk
deleted file mode 100644
index 4f86b268f..000000000
--- a/tests/functional/ca/local.mk
+++ /dev/null
@@ -1,29 +0,0 @@
-ca-tests := \
- $(d)/build-with-garbage-path.sh \
- $(d)/build.sh \
- $(d)/build-cache.sh \
- $(d)/concurrent-builds.sh \
- $(d)/derivation-json.sh \
- $(d)/duplicate-realisation-in-closure.sh \
- $(d)/eval-store.sh \
- $(d)/gc.sh \
- $(d)/import-derivation.sh \
- $(d)/new-build-cmd.sh \
- $(d)/nix-copy.sh \
- $(d)/nix-run.sh \
- $(d)/nix-shell.sh \
- $(d)/post-hook.sh \
- $(d)/recursive.sh \
- $(d)/repl.sh \
- $(d)/selfref-gc.sh \
- $(d)/signatures.sh \
- $(d)/substitute.sh \
- $(d)/why-depends.sh
-
-install-tests-groups += ca
-
-clean-files += \
- $(d)/config.nix
-
-test-deps += \
- tests/functional/ca/config.nix
diff --git a/tests/functional/dyn-drv/local.mk b/tests/functional/dyn-drv/local.mk
deleted file mode 100644
index c87534944..000000000
--- a/tests/functional/dyn-drv/local.mk
+++ /dev/null
@@ -1,15 +0,0 @@
-dyn-drv-tests := \
- $(d)/text-hashed-output.sh \
- $(d)/recursive-mod-json.sh \
- $(d)/build-built-drv.sh \
- $(d)/eval-outputOf.sh \
- $(d)/dep-built-drv.sh \
- $(d)/old-daemon-error-hack.sh
-
-install-tests-groups += dyn-drv
-
-clean-files += \
- $(d)/config.nix
-
-test-deps += \
- tests/functional/dyn-drv/config.nix
diff --git a/tests/functional/local.mk b/tests/functional/local.mk
deleted file mode 100644
index 417c78509..000000000
--- a/tests/functional/local.mk
+++ /dev/null
@@ -1,156 +0,0 @@
-nix_tests = \
- test-infra.sh \
- init.sh \
- flakes/flakes.sh \
- flakes/develop.sh \
- flakes/develop-r8854.sh \
- flakes/run.sh \
- flakes/mercurial.sh \
- flakes/circular.sh \
- flakes/init.sh \
- flakes/inputs.sh \
- flakes/follow-paths.sh \
- flakes/bundle.sh \
- flakes/check.sh \
- flakes/unlocked-override.sh \
- flakes/absolute-paths.sh \
- flakes/build-paths.sh \
- flakes/flake-in-submodule.sh \
- gc.sh \
- nix-collect-garbage-d.sh \
- remote-store.sh \
- legacy-ssh-store.sh \
- lang.sh \
- lang-test-infra.sh \
- experimental-features.sh \
- fetchMercurial.sh \
- gc-auto.sh \
- user-envs.sh \
- user-envs-migration.sh \
- binary-cache.sh \
- multiple-outputs.sh \
- nix-build.sh \
- gc-concurrent.sh \
- repair.sh \
- fixed.sh \
- export-graph.sh \
- timeout.sh \
- fetchGitRefs.sh \
- gc-runtime.sh \
- tarball.sh \
- fetchGit.sh \
- fetchurl.sh \
- fetchPath.sh \
- fetchTree-file.sh \
- simple.sh \
- referrers.sh \
- optimise-store.sh \
- substitute-with-invalid-ca.sh \
- signing.sh \
- hash.sh \
- gc-non-blocking.sh \
- check.sh \
- nix-shell.sh \
- check-refs.sh \
- build-remote-input-addressed.sh \
- secure-drv-outputs.sh \
- restricted.sh \
- fetchGitSubmodules.sh \
- flakes/search-root.sh \
- readfile-context.sh \
- nix-channel.sh \
- recursive.sh \
- dependencies.sh \
- check-reqs.sh \
- build-remote-content-addressed-fixed.sh \
- build-remote-content-addressed-floating.sh \
- build-remote-trustless-should-pass-0.sh \
- build-remote-trustless-should-pass-1.sh \
- build-remote-trustless-should-pass-2.sh \
- build-remote-trustless-should-pass-3.sh \
- build-remote-trustless-should-fail-0.sh \
- nar-access.sh \
- impure-eval.sh \
- pure-eval.sh \
- eval.sh \
- repl.sh \
- binary-cache-build-remote.sh \
- search.sh \
- logging.sh \
- export.sh \
- config.sh \
- add.sh \
- local-store.sh \
- filter-source.sh \
- misc.sh \
- dump-db.sh \
- linux-sandbox.sh \
- supplementary-groups.sh \
- build-dry.sh \
- structured-attrs.sh \
- shell.sh \
- brotli.sh \
- zstd.sh \
- compression-levels.sh \
- nix-copy-ssh.sh \
- nix-copy-ssh-ng.sh \
- post-hook.sh \
- function-trace.sh \
- flakes/config.sh \
- fmt.sh \
- eval-store.sh \
- why-depends.sh \
- derivation-json.sh \
- import-derivation.sh \
- nix_path.sh \
- case-hack.sh \
- placeholders.sh \
- ssh-relay.sh \
- build.sh \
- build-delete.sh \
- output-normalization.sh \
- selfref-gc.sh \
- db-migration.sh \
- bash-profile.sh \
- pass-as-file.sh \
- nix-profile.sh \
- suggestions.sh \
- store-ping.sh \
- fetchClosure.sh \
- completions.sh \
- flakes/show.sh \
- impure-derivations.sh \
- path-from-hash-part.sh \
- toString-path.sh \
- read-only-store.sh \
- nested-sandboxing.sh \
- debugger.sh
-
-ifeq ($(HAVE_LIBCPUID), 1)
- nix_tests += compute-levels.sh
-endif
-
-ifeq ($(ENABLE_BUILD), yes)
- nix_tests += test-libstoreconsumer.sh test-repl-characterization.sh
-
- ifeq ($(BUILD_SHARED_LIBS), 1)
- nix_tests += plugins.sh
- endif
-endif
-
-$(d)/test-libstoreconsumer.sh.test $(d)/test-libstoreconsumer.sh.test-debug: \
- $(buildprefix)$(d)/test-libstoreconsumer/test-libstoreconsumer
-$(d)/plugins.sh.test $(d)/plugins.sh.test-debug: \
- $(buildprefix)$(d)/plugins/libplugintest.$(SO_EXT) \
- $(buildprefix)$(d)/plugins/libplugintestfail.$(SO_EXT)
-$(d)/test-repl-characterization.sh.test $(d)/test-repl-characterization.sh.test-debug: \
- $(buildprefix)$(d)/repl_characterization/test-repl-characterization
-
-install-tests += $(foreach x, $(nix_tests), $(d)/$(x))
-
-test-clean-files := \
- $(d)/common/vars-and-functions.sh \
- $(d)/config.nix
-
-clean-files += $(test-clean-files)
-test-deps += $(test-clean-files)
diff --git a/tests/functional/plugins/local.mk b/tests/functional/plugins/local.mk
deleted file mode 100644
index 77339d4c6..000000000
--- a/tests/functional/plugins/local.mk
+++ /dev/null
@@ -1,27 +0,0 @@
-libraries += libplugintest libplugintestfail
-
-libplugintest_DIR := $(d)
-
-libplugintest_SOURCES := $(d)/plugintest.cc
-
-libplugintest_ALLOW_UNDEFINED := 1
-
-libplugintest_EXCLUDE_FROM_LIBRARY_LIST := 1
-
-libplugintest_CXXFLAGS := -I src/libutil -I src/libstore -I src/libexpr -I src/libfetchers
-
-libplugintestfail_DIR := $(d)
-
-libplugintestfail_SOURCES := $(d)/plugintestfail.cc
-
-libplugintestfail_ALLOW_UNDEFINED := 1
-
-libplugintestfail_EXCLUDE_FROM_LIBRARY_LIST := 1
-
-libplugintestfail_CXXFLAGS := -I src/libutil -I src/libstore -I src/libexpr -I src/libfetchers -DMISSING_REFERENCE
-
-# Make sure that the linker strictly evaluates all symbols on .so load on Linux
-# so it will definitely fail to load as expected.
-ifdef HOST_LINUX
- libplugintestfail_LDFLAGS += -z now
-endif
diff --git a/tests/functional/repl_characterization/local.mk b/tests/functional/repl_characterization/local.mk
deleted file mode 100644
index aa0cf3615..000000000
--- a/tests/functional/repl_characterization/local.mk
+++ /dev/null
@@ -1,15 +0,0 @@
-programs += test-repl-characterization
-
-test-repl-characterization_DIR := $(d)
-
-# do not install
-test-repl-characterization_INSTALL_DIR :=
-
-test-repl-characterization_SOURCES := \
- $(wildcard $(d)/*.cc) \
-
-test-repl-characterization_CXXFLAGS += -I src/libutil -I tests/unit/libutil-support -DNIX_BIN_DIR="\"$(bindir)\""
-
-test-repl-characterization_LIBS = libutil libutil-test-support
-
-test-repl-characterization_LDFLAGS = $(THREAD_LDFLAGS) $(SODIUM_LIBS) $(EDITLINE_LIBS) $(BOOST_LDFLAGS) $(LOWDOWN_LIBS) $(GTEST_LIBS)
diff --git a/tests/functional/test-libstoreconsumer/local.mk b/tests/functional/test-libstoreconsumer/local.mk
deleted file mode 100644
index edc140723..000000000
--- a/tests/functional/test-libstoreconsumer/local.mk
+++ /dev/null
@@ -1,15 +0,0 @@
-programs += test-libstoreconsumer
-
-test-libstoreconsumer_DIR := $(d)
-
-# do not install
-test-libstoreconsumer_INSTALL_DIR :=
-
-test-libstoreconsumer_SOURCES := \
- $(wildcard $(d)/*.cc) \
-
-test-libstoreconsumer_CXXFLAGS += -I src/libutil -I src/libstore
-
-test-libstoreconsumer_LIBS = libstore libutil
-
-test-libstoreconsumer_LDFLAGS = -pthread $(SODIUM_LIBS) $(EDITLINE_LIBS) $(BOOST_LDFLAGS) $(LOWDOWN_LIBS)
diff --git a/tests/unit/libexpr-support/local.mk b/tests/unit/libexpr-support/local.mk
deleted file mode 100644
index ce0d9950c..000000000
--- a/tests/unit/libexpr-support/local.mk
+++ /dev/null
@@ -1,19 +0,0 @@
-libraries += libexpr-test-support
-
-libexpr-test-support_NAME = libnixexpr-test-support
-
-libexpr-test-support_DIR := $(d)
-
-libexpr-test-support_INSTALL_DIR :=
-
-libexpr-test-support_SOURCES := \
- $(wildcard $(d)/tests/*.cc) \
- $(wildcard $(d)/tests/value/*.cc)
-
-libexpr-test-support_CXXFLAGS += $(libexpr-tests_EXTRA_INCLUDES)
-
-libexpr-test-support_LIBS = \
- libstore-test-support libutil-test-support \
- libexpr libstore libutil
-
-libexpr-test-support_LDFLAGS := -pthread -lrapidcheck
diff --git a/tests/unit/libexpr/local.mk b/tests/unit/libexpr/local.mk
deleted file mode 100644
index 068dd7a17..000000000
--- a/tests/unit/libexpr/local.mk
+++ /dev/null
@@ -1,32 +0,0 @@
-check: libexpr-tests_RUN
-
-programs += libexpr-tests
-
-libexpr-tests_NAME := libnixexpr-tests
-
-libexpr-tests_ENV := _NIX_TEST_UNIT_DATA=$(d)/data
-
-libexpr-tests_DIR := $(d)
-
-libexpr-tests_INSTALL_DIR :=
-
-libexpr-tests_SOURCES := \
- $(wildcard $(d)/*.cc) \
- $(wildcard $(d)/value/*.cc)
-
-libexpr-tests_EXTRA_INCLUDES = \
- -I tests/unit/libexpr-support \
- -I tests/unit/libstore-support \
- -I tests/unit/libutil-support \
- -I src/libexpr \
- -I src/libfetchers \
- -I src/libstore \
- -I src/libutil
-
-libexpr-tests_CXXFLAGS += $(libexpr-tests_EXTRA_INCLUDES)
-
-libexpr-tests_LIBS = \
- libexpr-test-support libstore-test-support libutils-test-support \
- libexpr libfetchers libstore libutil
-
-libexpr-tests_LDFLAGS := -lrapidcheck $(GTEST_LIBS) -lgmock
diff --git a/tests/unit/libstore-support/local.mk b/tests/unit/libstore-support/local.mk
deleted file mode 100644
index 59c3e09ca..000000000
--- a/tests/unit/libstore-support/local.mk
+++ /dev/null
@@ -1,17 +0,0 @@
-libraries += libstore-test-support
-
-libstore-test-support_NAME = libnixstore-test-support
-
-libstore-test-support_DIR := $(d)
-
-libstore-test-support_INSTALL_DIR :=
-
-libstore-test-support_SOURCES := $(wildcard $(d)/tests/*.cc)
-
-libstore-test-support_CXXFLAGS += $(libstore-tests_EXTRA_INCLUDES)
-
-libstore-test-support_LIBS = \
- libutil-test-support \
- libstore libutil
-
-libstore-test-support_LDFLAGS := -pthread -lrapidcheck
diff --git a/tests/unit/libstore/local.mk b/tests/unit/libstore/local.mk
deleted file mode 100644
index fb7385ec1..000000000
--- a/tests/unit/libstore/local.mk
+++ /dev/null
@@ -1,27 +0,0 @@
-check: libstore-tests_RUN
-
-programs += libstore-tests
-
-libstore-tests_NAME = libnixstore-tests
-
-libstore-tests_ENV := _NIX_TEST_UNIT_DATA=$(d)/data
-
-libstore-tests_DIR := $(d)
-
-libstore-tests_INSTALL_DIR :=
-
-libstore-tests_SOURCES := $(wildcard $(d)/*.cc)
-
-libstore-tests_EXTRA_INCLUDES = \
- -I tests/unit/libstore-support \
- -I tests/unit/libutil-support \
- -I src/libstore \
- -I src/libutil
-
-libstore-tests_CXXFLAGS += $(libstore-tests_EXTRA_INCLUDES)
-
-libstore-tests_LIBS = \
- libstore-test-support libutil-test-support \
- libstore libutil
-
-libstore-tests_LDFLAGS := -lrapidcheck $(GTEST_LIBS)
diff --git a/tests/unit/libutil-support/local.mk b/tests/unit/libutil-support/local.mk
deleted file mode 100644
index 67fd92d77..000000000
--- a/tests/unit/libutil-support/local.mk
+++ /dev/null
@@ -1,16 +0,0 @@
-libraries += libutil-test-support
-
-libutil-test-support_NAME = libnixutil-test-support
-
-libutil-test-support_DIR := $(d)
-
-libutil-test-support_INSTALL_DIR :=
-
-libutil-test-support_SOURCES := $(wildcard $(d)/tests/*.cc)
-
-libutil-test-support_CXXFLAGS += $(libutil-tests_EXTRA_INCLUDES) -I src/libutil
-
-# libexpr so we can steal their string printer from print.cc
-libutil-test-support_LIBS = libutil libexpr
-
-libutil-test-support_LDFLAGS := -pthread -lrapidcheck
diff --git a/tests/unit/libutil/local.mk b/tests/unit/libutil/local.mk
deleted file mode 100644
index 6de96c0dc..000000000
--- a/tests/unit/libutil/local.mk
+++ /dev/null
@@ -1,23 +0,0 @@
-check: libutil-tests_RUN
-
-programs += libutil-tests
-
-libutil-tests_NAME = libnixutil-tests
-
-libutil-tests_ENV := _NIX_TEST_UNIT_DATA=$(d)/data
-
-libutil-tests_DIR := $(d)
-
-libutil-tests_INSTALL_DIR :=
-
-libutil-tests_SOURCES := $(wildcard $(d)/*.cc)
-
-libutil-tests_EXTRA_INCLUDES = \
- -I tests/unit/libutil-support \
- -I src/libutil
-
-libutil-tests_CXXFLAGS += $(libutil-tests_EXTRA_INCLUDES)
-
-libutil-tests_LIBS = libutil-test-support libutil
-
-libutil-tests_LDFLAGS := -lrapidcheck $(GTEST_LIBS)