mirror of
https://github.com/verilator/verilator.git
synced 2025-03-03 10:39:35 +00:00
Test: Ignore tabs on new .out
This commit is contained in:
parent
6b3304320b
commit
05c3d520a6
@ -27,7 +27,8 @@ if (!-r "$root/.git") {
|
|||||||
my $lineno = 0;
|
my $lineno = 0;
|
||||||
foreach my $line ((split /\n/, $diff), "+++ b/_the_end") {
|
foreach my $line ((split /\n/, $diff), "+++ b/_the_end") {
|
||||||
if ($line =~ m!^\+\+\+ b/(.*)!) {
|
if ($line =~ m!^\+\+\+ b/(.*)!) {
|
||||||
if ($file && !$atab && $btab) {
|
if ($file && !$atab && $btab
|
||||||
|
&& $file !~ /\.out$/) {
|
||||||
$summary = "File modifications adds new tabs (please untabify the patch):";
|
$summary = "File modifications adds new tabs (please untabify the patch):";
|
||||||
$warns{$file} = "File modification adds new tabs (please untabify the patch): $file";
|
$warns{$file} = "File modification adds new tabs (please untabify the patch): $file";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user