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:
parent
1f55e40a8a
commit
133946af0c
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user