⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 02_help.t

📁 Verilog Parser in Perl
💻 T
字号:
#!/usr/bin/perl -w# DESCRIPTION: Perl ExtUtils: Type 'make test' to test this package## Copyright 2007-2009 by Wilson Snyder.  This program is free software;# you can redistribute it and/or modify it under the terms of either the GNU# Lesser General Public License or the Perl Artistic License.use strict;use Test;BEGIN { require "t/test_utils.pl"; }my @execs = glob ("blib/script/[a-z]*");plan tests => (3 * ($#execs+1));foreach my $exe (@execs) {    print "Doc test of: $exe\n";    ok (-e $exe);    my $help = `$PERL $exe --help 2>&1`;    if ($exe =~ /vsplitmodule/) {	skip("vsplitmodule is only example (harmless)",1);    } else {	ok ($help =~ /DISTRIBUTION/);    }    $help = `$PERL $exe --version 2>&1`;    if ($exe =~ /vsplitmodule/) {	skip("vsplitmodule is only example (harmless)",1);    } else {	ok ($help =~ /Version.*[0-9]/);    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -