Test feature before running test for CLI

This commit is contained in:
Clément Oudot 2013-11-02 16:15:53 +00:00
parent 4f81f8552e
commit 84a580e052

View File

@ -6,7 +6,12 @@ use Test::More tests => 1;
use strict;
BEGIN { use_ok('Lemonldap::NG::Manager::Cli') }
# Insert your test code below, the Test::More module is use()ed here so read
# its man page ( perldoc Test::More ) for help writing this test script.
SKIP: {
eval { require feature; };
skip
"Perl feature non available, so lemonldap-ng-cli will not be useable", 1
if ($@);
use_ok('Lemonldap::NG::Manager::Cli');
}