[libbacktrace] Add tests for unused formats
authorTom de Vries <tdevries@suse.de>
Fri, 30 Nov 2018 15:33:23 +0000 (15:33 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Fri, 30 Nov 2018 15:33:23 +0000 (15:33 +0000)
commit187b9e1dc53da0a7db345b3c39fce7941e15f0f1
tree2278b013a18d99cde1bd0604c72fce27d41d5265
parent9b7d1a9741bb4064a091a9c065487dafe7408102
[libbacktrace] Add tests for unused formats

When building libbacktrace, we typically use elf.c, and don't build pecoff.c,
xcoff.c or unknown.c.

Add testcases that use unused format to ensure that we also build and
test those on a typical development setup.

Bootstrapped and reg-tested on x86_64.

2018-11-30  Tom de Vries  <tdevries@suse.de>

* Makefile.am (check_PROGRAMS): Add test_elf, test_xcoff_32,
test_xcoff_64, test_pecoff and test_unknown.
* Makefile.in: Regenerate.
* test_format.c: New file.

From-SVN: r266668
libbacktrace/ChangeLog
libbacktrace/Makefile.am
libbacktrace/Makefile.in
libbacktrace/test_format.c [new file with mode: 0644]