summaryrefslogtreecommitdiffstats
path: root/tests/run-disasm-x86.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-disasm-x86.sh')
-rwxr-xr-xtests/run-disasm-x86.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/run-disasm-x86.sh b/tests/run-disasm-x86.sh
index 28a3df74..e0b6ee3e 100755
--- a/tests/run-disasm-x86.sh
+++ b/tests/run-disasm-x86.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 test.
case "`uname -m`" in
x86_64 | i?86 )