aboutsummaryrefslogtreecommitdiff
path: root/daemon.am
diff options
context:
space:
mode:
Diffstat (limited to 'daemon.am')
-rw-r--r--daemon.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/daemon.am b/daemon.am
index 79e2715c74..48b0871a97 100644
--- a/daemon.am
+++ b/daemon.am
@@ -151,3 +151,15 @@ EXTRA_DIST += \
nix/libstore/schema.sql \
nix/AUTHORS \
nix/COPYING
+
+# Temporary directory used to store the daemon's data.
+test_root = $(abs_top_builddir)/test-tmp
+
+AM_TESTS_ENVIRONMENT += \
+ TEST_ROOT="$(test_root)"
+
+TESTS += \
+ tests/guix-daemon.sh
+
+clean-local:
+ -rm -rf "$(test_root)"