1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-09-29 18:09:29 +02:00

tests: simplify make variables a bit

Add dummy assign statements at the top so we don't have to trace all
the different if paths to see where the value is initially assigned.
Now all code paths just append it.
This commit is contained in:
Mike Frysinger 2016-06-13 14:15:33 -04:00 committed by Dave Watson
parent 208a430bcb
commit 67d4137ba7

View file

@ -7,24 +7,27 @@ EXTRA_DIST = run-ia64-test-dyn1 run-ptrace-mapper run-ptrace-misc \
MAINTAINERCLEANFILES = Makefile.in MAINTAINERCLEANFILES = Makefile.in
noinst_PROGRAMS_arch =
noinst_PROGRAMS_cdep =
noinst_PROGRAMS_common = noinst_PROGRAMS_common =
check_PROGRAMS_arch =
check_PROGRAMS_cdep =
check_PROGRAMS_common = test-proc-info test-static-link \ check_PROGRAMS_common = test-proc-info test-static-link \
test-strerror test-strerror
check_SCRIPTS_arch =
check_SCRIPTS_cdep =
check_SCRIPTS_common = run-check-namespace check_SCRIPTS_common = run-check-namespace
if REMOTE_ONLY if REMOTE_ONLY
check_SCRIPTS_cdep =
check_PROGRAMS_cdep =
noinst_PROGRAMS_cdep = $(noinst_PROGRAMS_common)
perf: perf:
else else
LIBUNWIND_local = $(top_builddir)/src/libunwind.la LIBUNWIND_local = $(top_builddir)/src/libunwind.la
if ARCH_IA64 if ARCH_IA64
noinst_PROGRAMS_arch = ia64-test-dyn1 noinst_PROGRAMS_arch += ia64-test-dyn1
check_SCRIPTS_arch = run-ia64-test-dyn1 check_SCRIPTS_arch += run-ia64-test-dyn1
check_PROGRAMS_arch = Gia64-test-stack Lia64-test-stack \ check_PROGRAMS_arch += Gia64-test-stack Lia64-test-stack \
Gia64-test-nat Lia64-test-nat \ Gia64-test-nat Lia64-test-nat \
Gia64-test-rbs Lia64-test-rbs \ Gia64-test-rbs Lia64-test-rbs \
Gia64-test-readonly Lia64-test-readonly \ Gia64-test-readonly Lia64-test-readonly \
@ -32,12 +35,11 @@ if ARCH_IA64
else #!ARCH_IA64 else #!ARCH_IA64
if ARCH_PPC64 if ARCH_PPC64
if USE_ALTIVEC if USE_ALTIVEC
noinst_PROGRAMS_arch = ppc64-test-altivec noinst_PROGRAMS_arch += ppc64-test-altivec
endif #USE_ALTIVEC endif #USE_ALTIVEC
endif #ARCH_PPC64 endif #ARCH_PPC64
endif #!ARCH_IA64 endif #!ARCH_IA64
check_SCRIPTS_cdep = check_PROGRAMS_cdep += Gtest-bt Ltest-bt Gtest-exc Ltest-exc \
check_PROGRAMS_cdep = Gtest-bt Ltest-bt Gtest-exc Ltest-exc \
Gtest-init Ltest-init \ Gtest-init Ltest-init \
Gtest-concurrent Ltest-concurrent \ Gtest-concurrent Ltest-concurrent \
Gtest-resume-sig Ltest-resume-sig \ Gtest-resume-sig Ltest-resume-sig \
@ -46,7 +48,7 @@ endif #!ARCH_IA64
test-async-sig test-flush-cache test-init-remote \ test-async-sig test-flush-cache test-init-remote \
test-mem Ltest-varargs Ltest-nomalloc \ test-mem Ltest-varargs Ltest-nomalloc \
Ltest-nocalloc Lrs-race Ltest-nocalloc Lrs-race
noinst_PROGRAMS_cdep = forker Gperf-simple Lperf-simple \ noinst_PROGRAMS_cdep += forker Gperf-simple Lperf-simple \
Gperf-trace Lperf-trace Gperf-trace Lperf-trace
if BUILD_PTRACE if BUILD_PTRACE