Add unit tests for lttng_ust_elf
authorAntoine Busque <abusque@efficios.com>
Thu, 30 Jul 2015 20:37:04 +0000 (16:37 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 29 Aug 2015 02:13:57 +0000 (22:13 -0400)
commit22609c7a82c5c8ebc07c19cade9b4d6ff61bd0d0
tree9e356d9b995179631a35a8d26285c960e479c6f4
parent8e2aed3f18adc14ec586ef717e396bcac4473dd7
Add unit tests for lttng_ust_elf

This adds unit tests for UST's ELF parser. Also included are test ELF
files for multiple architectures (x86, x86_64, armeb, aarch64_be). The
procedure to generate these test files is described in
`tests/ust-elf/README.md`.

Signed-off-by: Antoine Busque <abusque@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
17 files changed:
.gitignore
configure.ac
tests/Makefile.am
tests/unit_tests
tests/ust-elf/Makefile.am [new file with mode: 0644]
tests/ust-elf/README.md [new file with mode: 0644]
tests/ust-elf/data/aarch64_be/main.elf [new file with mode: 0644]
tests/ust-elf/data/aarch64_be/main.elf.debug [new file with mode: 0755]
tests/ust-elf/data/armeb/main.elf [new file with mode: 0644]
tests/ust-elf/data/armeb/main.elf.debug [new file with mode: 0755]
tests/ust-elf/data/main.c [new file with mode: 0644]
tests/ust-elf/data/x86/main.elf [new file with mode: 0644]
tests/ust-elf/data/x86/main.elf.debug [new file with mode: 0755]
tests/ust-elf/data/x86_64/main.elf [new file with mode: 0644]
tests/ust-elf/data/x86_64/main.elf.debug [new file with mode: 0755]
tests/ust-elf/prog.c [new file with mode: 0644]
tests/ust-elf/test_ust_elf [new file with mode: 0755]
This page took 0.024804 seconds and 4 git commands to generate.