summaryrefslogtreecommitdiffstats
path: root/tests/run-dwfllines.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-dwfllines.sh')
-rwxr-xr-xtests/run-dwfllines.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/run-dwfllines.sh b/tests/run-dwfllines.sh
index b384de09..c228d7db 100755
--- a/tests/run-dwfllines.sh
+++ b/tests/run-dwfllines.sh
@@ -83,6 +83,11 @@ mod: CU: [9e4] m.c
time: 0, len: 0, idx: 0, b: 1, e: 1, pe: 0, eb: 0, block: 0, isa: 0, disc: 0
EOF
+if ! grep -q -F '#define LIBEXT ".so"' ${abs_top_builddir}/config.h; then
+ echo "self tests only work with native ELF binaries."
+ exit 77
+fi
+
testrun_on_self_quiet ${abs_builddir}/dwfllines -e
exit 0