From be230add88815880a41f826ba22d4fcd96547459 Mon Sep 17 00:00:00 2001 From: Tommi Rantala Date: Fri, 14 Sep 2012 14:29:02 +0300 Subject: [PATCH] Rename `test-varargs' to `Ltest-varargs' 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 bf5cee30..603fb57b 100644 --- a/tests/test-varargs.c +++ b/tests/Ltest-varargs.c @@ -1,3 +1,4 @@ +#define UNW_LOCAL_ONLY #include #include #include diff --git a/tests/Makefile.am b/tests/Makefile.am index 74d2ed25..ab5c1486 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