summaryrefslogtreecommitdiffstats
path: root/scripts/t/Dpkg_Shlibs.t
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--scripts/t/Dpkg_Shlibs.t7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/t/Dpkg_Shlibs.t b/scripts/t/Dpkg_Shlibs.t
index 7cc325c..774f409 100644
--- a/scripts/t/Dpkg_Shlibs.t
+++ b/scripts/t/Dpkg_Shlibs.t
@@ -19,10 +19,15 @@ use warnings;
use Test::More;
use Test::Dpkg qw(:needs :paths);
+use Config;
use Cwd;
use IPC::Cmd qw(can_run);
-plan tests => 150;
+if (defined $Config{bin_ELF} && $Config{bin_ELF} eq 'define') {
+ plan tests => 150;
+} else {
+ plan skip_all => 'only ELF is currently supported';
+}
$ENV{DEB_BUILD_ARCH} = 'amd64';
$ENV{DEB_HOST_ARCH} = 'amd64';