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

📄 80_vppreproc.t

📁 Verilog Parser in Perl
💻 T
字号:
#!/usr/bin/perl -w# DESCRIPTION: Perl ExtUtils: Type 'make test' to test this package## Copyright 2000-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 IO::File;use strict;use Test;BEGIN { plan tests => 6 }BEGIN { require "t/test_utils.pl"; }print "Checking vppreproc...\n";vppreproc ("t/80_vppreproc_none.out",   "test_dir/vppreproc_none.v",	"");vppreproc ("t/80_vppreproc_cmped.out",  "test_dir/vppreproc_cmped.v",	"--nocomment --pedantic");vppreproc ("t/80_vppreproc_simple.out", "test_dir/vppreproc_simple.v", "--simple");sub vppreproc {    my $checkname = shift;    my $out = shift;    my $flags = shift;    run_system ("${PERL} vppreproc ${flags} -y verilog inc2.v > $out");    ok(-r $out);    ok(files_identical ($out, $checkname));}

⌨️ 快捷键说明

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