aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac3
-rw-r--r--debian/control1
-rw-r--r--tests/Makefile.am2
3 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index a45f5a8..685177f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -54,6 +54,9 @@ else
AC_DEFINE_UNQUOTED([SD_BINARY], ["$SD_BINARY"], [Path to g-s-d])
fi
+AC_CHECK_PROG(VALGRIND, valgrind, valgrind --trace-children=yes --num-callers=256)
+AC_SUBST(VALGRIND)
+
dnl ###########################################################################
dnl Internationalization
dnl ###########################################################################
diff --git a/debian/control b/debian/control
index 8b4fe46..0d39942 100644
--- a/debian/control
+++ b/debian/control
@@ -19,6 +19,7 @@ Build-Depends: at-spi2-core,
lightdm-vala | liblightdm-gobject-1-dev,
libpixman-1-dev,
valac (>= 0.20.0),
+ valgrind [amd64],
xvfb,
xauth,
Homepage: http://arctica-project.org
diff --git a/tests/Makefile.am b/tests/Makefile.am
index fa5aaee..8aab566 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -3,7 +3,7 @@
check_PROGRAMS = arctica-greeter-test
check: arctica-greeter-test
- UBUNTU_MENUPROXY=0 top_srcdir=$(top_srcdir) . xvfb-run -s "-extension GLX" -a ./arctica-greeter-test
+ UBUNTU_MENUPROXY=0 top_srcdir=$(top_srcdir) @VALGRIND@ xvfb-run -s "-extension GLX" -a ./arctica-greeter-test
arctica_greeter_test_SOURCES = \
test.vala \