forked from github/verilator
Fix make test with no VERILATOR_ROOT, bug1494.
This commit is contained in:
parent
4c0f95af10
commit
3bc260c55d
2
Changes
2
Changes
@ -4,6 +4,8 @@ The contributors that suggested a given feature are shown in []. Thanks!
|
||||
|
||||
* Verilator 4.019 devel
|
||||
|
||||
**** Fix make test with no VERILATOR_ROOT, bug1494. [Ahmed El-Mahmoudy]
|
||||
|
||||
|
||||
* Verilator 4.018 2019-08-29
|
||||
|
||||
|
@ -6,6 +6,12 @@ eval 'exec perl -wS $0 ${1+"$@"}'
|
||||
|
||||
require 5.006_001;
|
||||
use Cwd;
|
||||
BEGIN {
|
||||
if (!$ENV{VERILATOR_ROOT} && -x "../bin/verilator") {
|
||||
$ENV{VERILATOR_ROOT} = Cwd::getcwd()."/..";
|
||||
}
|
||||
}
|
||||
|
||||
use Getopt::Long;
|
||||
use IO::File;
|
||||
use Pod::Usage;
|
||||
|
Loading…
Reference in New Issue
Block a user