diff options
Diffstat (limited to 'tests/run-elflint-self.sh')
| -rwxr-xr-x | tests/run-elflint-self.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/run-elflint-self.sh b/tests/run-elflint-self.sh index 58fa7d0f..fe6b0a46 100755 --- a/tests/run-elflint-self.sh +++ b/tests/run-elflint-self.sh @@ -18,5 +18,10 @@ . $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 + testrun_on_self ${abs_top_builddir}/src/elflint --quiet --gnu-ld testrun_on_self_compressed ${abs_top_builddir}/src/elflint --quiet --gnu-ld |
