Add valgrind smoke test
authorAlexandra Hájková <ahajkova@redhat.com>
Tue, 26 Oct 2021 09:42:44 +0000 (11:42 +0200)
committerAlexandra Hájková <ahajkova@redhat.com>
Sat, 22 Jan 2022 16:31:16 +0000 (17:31 +0100)
commit6c2f050dbe11fb4ed0a401a5f25731f2aa53046b
treed18ef8608320942fe90b94aacfa007c8a32fe970
parent8c86ba446367fd676457e51eb44d7af2e5d9a392
Add valgrind smoke test

Check if whether valgrind is available in the test environment.
If not, skip the test. Run smoke tests with valgrind to verify dynamic loader.
First, check if algrind works with the system ld.so in the test
environment. Then run the actual test inside the test environment,
using the just build ld.so and new libraries.

Co-authored-by: Mark Wielaard <mark@klomp.org>
elf/Makefile
elf/tst-valgrind-smoke.sh [new file with mode: 0644]
elf/valgrind-test.c [new file with mode: 0644]