diff options
Diffstat (limited to 'scripts/t/Dpkg_Shlibs_Cppfilt.t')
-rw-r--r-- | scripts/t/Dpkg_Shlibs_Cppfilt.t | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/t/Dpkg_Shlibs_Cppfilt.t b/scripts/t/Dpkg_Shlibs_Cppfilt.t index 6a76977..f5bd22e 100644 --- a/scripts/t/Dpkg_Shlibs_Cppfilt.t +++ b/scripts/t/Dpkg_Shlibs_Cppfilt.t @@ -19,9 +19,15 @@ use warnings; use Test::More; use Test::Dpkg qw(:needs); +use Config; + test_needs_command('c++filt'); -plan tests => 124; +if (defined $Config{bin_ELF} && $Config{bin_ELF} eq 'define') { + plan tests => 124; +} else { + plan skip_all => 'only ELF is currently supported'; +} use_ok('Dpkg::Shlibs::Cppfilt'); |