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