diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-12-04 23:16:11 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-12-04 23:51:48 +0100 |
commit | d23077dc5ca1517bd6d1600664fe2303b86eb16c (patch) | |
tree | ad0875d0cc2d9bc415506ff77adec3d699cc5115 /daemon.am | |
parent | 2606bbcf917c0bc1b2ed10a104acfbbe151a941b (diff) |
daemon: Add test.
* daemon.am (test_root, AM_TESTS_ENVIRONMENT): New variables.
(clean-local): New target.
* tests/guix-daemon.sh: New file.
Diffstat (limited to 'daemon.am')
-rw-r--r-- | daemon.am | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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)" |