[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] [PATCH 22/35] Rename `test-varargs' to `Ltest-varargs'
From: |
Tommi Rantala |
Subject: |
[Libunwind-devel] [PATCH 22/35] Rename `test-varargs' to `Ltest-varargs' |
Date: |
Tue, 18 Sep 2012 16:31:31 +0300 |
This testcase only uses the local-only `unw_backtrace()' from libunwind,
and a "generic" build of this test case would not be interesting.
---
tests/{test-varargs.c => Ltest-varargs.c} | 1 +
tests/Makefile.am | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
rename tests/{test-varargs.c => Ltest-varargs.c} (98%)
diff --git a/tests/test-varargs.c b/tests/Ltest-varargs.c
similarity index 98%
rename from tests/test-varargs.c
rename to tests/Ltest-varargs.c
index 8f8301e..aeb0ba8 100644
--- a/tests/test-varargs.c
+++ b/tests/Ltest-varargs.c
@@ -1,3 +1,4 @@
+#define UNW_LOCAL_ONLY
#include <libunwind.h>
#include <stdarg.h>
#include <stdio.h>
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 74d2ed2..ab5c148 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -45,7 +45,7 @@ endif #!ARCH_IA64
Gtest-dyn1 Ltest-dyn1 \
Gtest-trace Ltest-trace \
test-async-sig test-flush-cache test-init-remote \
- test-mem test-setjmp test-ptrace test-varargs \
+ test-mem test-setjmp test-ptrace Ltest-varargs \
Ltest-nomalloc Ltest-nocalloc rs-race
noinst_PROGRAMS_cdep = forker crasher mapper test-ptrace-misc \
Gperf-simple Lperf-simple
@@ -148,7 +148,7 @@ test_proc_info_LDADD = $(LIBUNWIND)
test_static_link_LDADD = $(LIBUNWIND)
test_strerror_LDADD = $(LIBUNWIND)
rs_race_LDADD = $(LIBUNWIND) -lpthread
-test_varargs_LDADD = $(LIBUNWIND_local)
+Ltest_varargs_LDADD = $(LIBUNWIND_local)
Gtest_bt_LDADD = $(LIBUNWIND) $(LIBUNWIND_local)
Gtest_concurrent_LDADD = $(LIBUNWIND) $(LIBUNWIND_local) -lpthread
--
1.7.9.5
- Re: [Libunwind-devel] [PATCH 21/35] Drop `optimize' attribute in tests/test-varargs.c, (continued)
[Libunwind-devel] [PATCH 23/35] Remove unneeded `config.h' inclusion in Gtest-nomalloc, Tommi Rantala, 2012/09/18
[Libunwind-devel] [PATCH 24/35] Cleanup dynamically allocated memory before exit in tests, Tommi Rantala, 2012/09/18
[Libunwind-devel] [PATCH 19/35] Annotate potentially unused variable in tests/Gtest-trace.c, Tommi Rantala, 2012/09/18
[Libunwind-devel] [PATCH 18/35] Annotate potentially unused variable in tests/Gtest-bt.c, Tommi Rantala, 2012/09/18
[Libunwind-devel] [PATCH 29/35] Nuke HAVE_BACKTRACE, Tommi Rantala, 2012/09/18
[Libunwind-devel] [PATCH 25/35] Rename `rs-race' to `Lrs-race', Tommi Rantala, 2012/09/18
[Libunwind-devel] [PATCH 26/35] Call `unw_backtrace()' explicitly in test-flush-cache.c, Tommi Rantala, 2012/09/18
[Libunwind-devel] [PATCH 22/35] Rename `test-varargs' to `Ltest-varargs',
Tommi Rantala <=
[Libunwind-devel] [PATCH 27/35] Roll `test-nocalloc' into `Ltest-nocalloc.c', Tommi Rantala, 2012/09/18
[Libunwind-devel] [PATCH 32/35] Enable coredump library build on ARM by default, Tommi Rantala, 2012/09/18
[Libunwind-devel] [PATCH 30/35] Stop including `memory.h', Tommi Rantala, 2012/09/18
[Libunwind-devel] [PATCH 34/35] ppc32: include `libunwind_i.h' for UNUSED in ucontext_i.h, Tommi Rantala, 2012/09/18
[Libunwind-devel] [PATCH 33/35] SuperH port, Tommi Rantala, 2012/09/18
[Libunwind-devel] [PATCH 35/35] ppc32: `UNW_PPC32_REGS' fixlet, Tommi Rantala, 2012/09/18
[Libunwind-devel] [PATCH 28/35] Call snprintf() from signal handler only if required in test-async-sig, Tommi Rantala, 2012/09/18
[Libunwind-devel] [PATCH 31/35] MIPS coredump support, Tommi Rantala, 2012/09/18