1--- a/test/run
2+++ b/test/run
3@@ -148,21 +148,17 @@ file_size() {
4 objdump_cmd() {
5 local file="$1"
6
7- if $HOST_OS_APPLE; then
8- xcrun dwarfdump -r 0 "$file"
9- elif $HOST_OS_WINDOWS || $HOST_OS_CYGWIN; then
10+ if $HOST_OS_WINDOWS || $HOST_OS_CYGWIN; then
11 # For some reason objdump only shows the basename of the file, so fall
12 # back to brute force and ignorance.
13 strings "$1"
14 else
15- objdump -W "$file"
16+ @objdump@ -W "$file"
17 fi
18 }
19
20 objdump_grep_cmd() {
21- if $HOST_OS_APPLE; then
22- fgrep -q "\"$1\""
23- elif $HOST_OS_WINDOWS || $HOST_OS_CYGWIN; then
24+ if $HOST_OS_WINDOWS || $HOST_OS_CYGWIN; then
25 fgrep -q "$1"
26 else
27 fgrep -q ": $1"