Add a simple testdemangle.c test program

This commit is contained in:
Søren Sandmann Pedersen
2011-08-31 19:57:33 -04:00
parent f347b87e46
commit 139437ecbe
2 changed files with 17 additions and 1 deletions

View File

@ -100,7 +100,7 @@ sysprof_cli_LDADD = $(CORE_DEP_LIBS)
#
# Test programs
#
noinst_PROGRAMS = testelf testunwind
noinst_PROGRAMS = testelf testunwind testdemangle
# testunwind
testunwind_SOURCES = \
@ -122,3 +122,12 @@ testelf_SOURCES = \
testelf_CPPFLAGS = $(CORE_DEP_CFLAGS)
testelf_LDADD = $(CORE_DEP_LIBS)
# testdemangle
testdemangle_SOURCES = \
testdemangle.c \
elfparser.c \
elfparser.h \
demangle.c
testdemangle_CPPFLAGS = $(CORE_DEP_CFLAGS)
testdemangle_LDADD = $(CORE_DEP_LIBS)