summaryrefslogtreecommitdiffstats
path: root/tests/run-disasm-x86-64.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-disasm-x86-64.sh')
-rwxr-xr-xtests/run-disasm-x86-64.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/run-disasm-x86-64.sh b/tests/run-disasm-x86-64.sh
index a6be62bb..c5256b78 100755
--- a/tests/run-disasm-x86-64.sh
+++ b/tests/run-disasm-x86-64.sh
@@ -17,6 +17,11 @@
. $srcdir/test-subr.sh
+if ! grep -q -F '#define LIBEXT ".so"' ${abs_top_builddir}/config.h; then
+ echo "only works with native ELF binaries."
+ exit 77
+fi
+
# Run x86-64 test.
case "`uname -m`" in
x86_64)