aboutsummaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit')
-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
6 files changed, 0 insertions, 134 deletions
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)