diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-06-13 14:15:33 -0400 |
---|---|---|
committer | Dave Watson <davejwatson@fb.com> | 2017-01-13 08:27:40 -0800 |
commit | 67d4137ba7f02cb68f5d45a9f3a7706c62d921d0 (patch) | |
tree | d4c4e3c95684bc8bf5f36f0474a7d9a20cf582d3 /tests | |
parent | 208a430bcbab7d63a4c04242f13c4740e0246a56 (diff) | |
download | libunwind-67d4137ba7f02cb68f5d45a9f3a7706c62d921d0.tar.gz |
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.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 103d415d..0a74881a 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -7,24 +7,27 @@ EXTRA_DIST = run-ia64-test-dyn1 run-ptrace-mapper run-ptrace-misc \ MAINTAINERCLEANFILES = Makefile.in +noinst_PROGRAMS_arch = +noinst_PROGRAMS_cdep = noinst_PROGRAMS_common = +check_PROGRAMS_arch = +check_PROGRAMS_cdep = check_PROGRAMS_common = test-proc-info test-static-link \ test-strerror +check_SCRIPTS_arch = +check_SCRIPTS_cdep = check_SCRIPTS_common = run-check-namespace if REMOTE_ONLY - check_SCRIPTS_cdep = - check_PROGRAMS_cdep = - noinst_PROGRAMS_cdep = $(noinst_PROGRAMS_common) perf: else LIBUNWIND_local = $(top_builddir)/src/libunwind.la if ARCH_IA64 - noinst_PROGRAMS_arch = ia64-test-dyn1 - check_SCRIPTS_arch = run-ia64-test-dyn1 - check_PROGRAMS_arch = Gia64-test-stack Lia64-test-stack \ + noinst_PROGRAMS_arch += ia64-test-dyn1 + check_SCRIPTS_arch += run-ia64-test-dyn1 + check_PROGRAMS_arch += Gia64-test-stack Lia64-test-stack \ Gia64-test-nat Lia64-test-nat \ Gia64-test-rbs Lia64-test-rbs \ Gia64-test-readonly Lia64-test-readonly \ @@ -32,12 +35,11 @@ if ARCH_IA64 else #!ARCH_IA64 if ARCH_PPC64 if USE_ALTIVEC - noinst_PROGRAMS_arch = ppc64-test-altivec + noinst_PROGRAMS_arch += ppc64-test-altivec endif #USE_ALTIVEC endif #ARCH_PPC64 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-concurrent Ltest-concurrent \ Gtest-resume-sig Ltest-resume-sig \ @@ -46,7 +48,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 Gperf-simple Lperf-simple \ + noinst_PROGRAMS_cdep += forker Gperf-simple Lperf-simple \ Gperf-trace Lperf-trace if BUILD_PTRACE |