Test feature before running test for CLI
This commit is contained in:
parent
4f81f8552e
commit
84a580e052
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user