source: trunk/LATMOS-Accounts/live-test/91_scripts_run_help.t @ 1910

Last change on this file since 1910 was 1046, checked in by nanardon, 12 years ago
  • make test really optional
File size: 342 bytes
Line 
1use strict;
2use warnings;
3use Test::More;
4
5eval "use Test::Script::Run";
6plan skip_all => 'Test::Script::Run required' if $@;
7
8# Check all script can be call with --help w/o generating error
9
10my @scripts = glob('blib/script/*');
11
12plan tests => scalar(@scripts);
13
14foreach (@scripts) {
15    run_ok($_, [ qw(--help) ], "Can launch $_ --help");
16}
Note: See TracBrowser for help on using the repository browser.