mirror of
https://github.com/verilator/verilator.git
synced 2025-01-01 12:17:35 +00:00
Tests: Remove lint-py, need ci package.
This commit is contained in:
parent
9a27004ae5
commit
249feaae7c
@ -1,34 +0,0 @@
|
||||
#!/usr/bin/env perl
|
||||
if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); die; }
|
||||
# DESCRIPTION: Verilator: Verilog Test driver/expect definition
|
||||
#
|
||||
# Copyright 2022 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 Version 3 or the Perl Artistic License
|
||||
# Version 2.0.
|
||||
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||
|
||||
scenarios(dist => 1);
|
||||
|
||||
my $root = "..";
|
||||
|
||||
if (!-r "$root/.git") {
|
||||
skip("Not in a git repository");
|
||||
} else {
|
||||
my $cmd = "cd $root && make lint-py";
|
||||
my $out = `$cmd`;
|
||||
my $first;
|
||||
foreach my $line (split /\n+/, $out) {
|
||||
next if $line =~ /^---/;
|
||||
next if $line =~ /^flake8/;
|
||||
next if $line =~ /^pylint/;
|
||||
print "$line\n";
|
||||
if (!defined $first) {
|
||||
$first = $line;
|
||||
error("lint-py failed: ", $first);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ok(1);
|
||||
1;
|
Loading…
Reference in New Issue
Block a user