From a3cf506ae9fc124f1943419959a8d2cdcfc82bcc Mon Sep 17 00:00:00 2001 From: Robert Ancell Date: Tue, 18 Apr 2017 07:56:29 +0000 Subject: Use valgrind to make build logs bigger help in triaging FTBFS problems. --- configure.ac | 3 +++ debian/control | 1 + tests/Makefile.am | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) 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 \ -- cgit v1.2.3