forked from github/verilator
Tests: With --benchmark, don't time directory change.
This commit is contained in:
parent
cc22847bc3
commit
b16ea8b719
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user