summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Fischer <matt.fischer@garmin.com>2013-04-19 10:01:57 -0500
committerMatt Fischer <matt.fischer@garmin.com>2013-04-19 17:08:09 -0500
commit61fad17d29ed661d15a80ed931c7822e5e7ea411 (patch)
treea78af46beba6aad85a51051d66771b46f4aa2b1e
parent563b0ff3144c0e60a9aa63fdafb4dea66ecd3d50 (diff)
downloadlibunwind-61fad17d29ed661d15a80ed931c7822e5e7ea411.tar.gz
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.
-rw-r--r--tests/Makefile.am4
1 files 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