aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2017-04-18 07:56:29 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-04-18 07:56:29 +0000
commita3cf506ae9fc124f1943419959a8d2cdcfc82bcc (patch)
tree40f342599e0db461091975c79b484a712ae8bf93
parent24d90866b4867e9490813cc5b495bf478c49d920 (diff)
downloadarctica-greeter-a3cf506ae9fc124f1943419959a8d2cdcfc82bcc.tar.gz
arctica-greeter-a3cf506ae9fc124f1943419959a8d2cdcfc82bcc.tar.bz2
arctica-greeter-a3cf506ae9fc124f1943419959a8d2cdcfc82bcc.zip
Use valgrind to make build logs bigger help in triaging FTBFS problems.
-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 \