From 61fad17d29ed661d15a80ed931c7822e5e7ea411 Mon Sep 17 00:00:00 2001 From: Matt Fischer Date: Fri, 19 Apr 2013 10:01:57 -0500 Subject: [PATCH] Build crasher test only when coredump support is enabled The crasher test is used as part of the coredump test suite, but is being built regardless of whether that support has been configured or not. This patch changes the build so that it is only built when coredump support is enabled. --- tests/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 87e74d03..0e30536b 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -47,7 +47,7 @@ endif #!ARCH_IA64 test-async-sig test-flush-cache test-init-remote \ test-mem Ltest-varargs Ltest-nomalloc \ Ltest-nocalloc Lrs-race - noinst_PROGRAMS_cdep = forker crasher Gperf-simple Lperf-simple \ + noinst_PROGRAMS_cdep = forker Gperf-simple Lperf-simple \ Gperf-trace Lperf-trace if BUILD_PTRACE @@ -67,7 +67,7 @@ endif if OS_LINUX if BUILD_COREDUMP check_SCRIPTS_cdep += run-coredump-unwind - noinst_PROGRAMS_cdep += test-coredump-unwind + noinst_PROGRAMS_cdep += crasher test-coredump-unwind if HAVE_LZMA check_SCRIPTS_cdep += run-coredump-unwind-mdi