01_manifest.t

来自「Verilog Parser in Perl」· T 代码 · 共 32 行

T
32
字号
#!/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 { plan tests => 1 }if (!$ENV{VERILATOR_AUTHOR_SITE}) {    skip("author only test (harmless)",1);} else {    eval { use ExtUtils::Manifest; };    $ExtUtils::Manifest::Quiet = 1;    my ($missing, $extra) = ExtUtils::Manifest::fullcheck();    my $bad;    foreach my $file (@{$missing}) {	next if $file eq "README";	warn "%Warning: MANIFEST listed file not found: $file\n";	$bad = 1;    }    foreach my $file (@{$extra}) {	warn "%Warning: MANIFEST maybe missing: $file\n";	$bad = 1;    }    ok (!$bad);}

⌨️ 快捷键说明

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