mirror of
https://github.com/verilator/verilator.git
synced 2026-10-02 16:13:34 +02:00
Tests: With --benchmark, don't time directory change.
This commit is contained in:
@@ -928,7 +928,7 @@ sub _run {
|
||||
my %param = (tee=>1,
|
||||
@_);
|
||||
my $command = join(' ',@{$param{cmd}});
|
||||
$command = "time $command" if $opt_benchmark;
|
||||
$command = "time $command" if $opt_benchmark && $command !~ /^cd /;
|
||||
print "\t$command";
|
||||
print " > $param{logfile}" if $param{logfile};
|
||||
print "\n";
|
||||
|
||||
Reference in New Issue
Block a user