1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-25 08:37:38 +01:00

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.
This commit is contained in:
Matt Fischer 2013-04-19 10:01:57 -05:00
parent 563b0ff314
commit 61fad17d29

View file

@ -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