summaryrefslogtreecommitdiffstats
path: root/tests/run-native-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-native-test.sh')
-rwxr-xr-xtests/run-native-test.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/run-native-test.sh b/tests/run-native-test.sh
index d19007f2..4adef49f 100755
--- a/tests/run-native-test.sh
+++ b/tests/run-native-test.sh
@@ -18,6 +18,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
+
# This tests all the miscellaneous components of backend support
# against whatever this build is running on. A platform will fail
# this test if it is missing parts of the backend implementation.