1
1
mirror of https://github.com/rui314/mold.git synced 2024-10-04 08:37:28 +03:00

Skip test if dwarfdump is unavailable

Fixes #430.

Signed-off-by: Christoph Erhardt <github@sicherha.de>
This commit is contained in:
Christoph Erhardt 2022-04-15 20:34:04 +02:00
parent 1f55e40a8a
commit 133946af0c

View File

@ -14,6 +14,8 @@ mold="$(pwd)/mold"
t=out/test/elf/$testname
mkdir -p $t
which dwarfdump >& /dev/null || { echo skipped; exit; }
cat <<EOF | $CXX -c -o $t/a.o -g -xc++ -
#include <iostream>
struct Foo {