fix(ci): use PATH-based iverilog/vvp discovery for cross-layer tests
The default IVERILOG and VVP paths were hardcoded to macOS Homebrew locations (/opt/homebrew/bin/iverilog). On Ubuntu CI runners, apt installs iverilog to /usr/bin/, so the Path.exists() check returns False and all Tier 2 Verilog cosim tests are silently skipped. Change defaults to bare command names so the existing which-based fallback at line 57-58 discovers the binary via PATH on any platform.
This commit is contained in:
@@ -49,8 +49,8 @@ sys.path.insert(0, str(cp.GUI_DIR))
|
|||||||
# Helpers
|
# Helpers
|
||||||
# ===================================================================
|
# ===================================================================
|
||||||
|
|
||||||
IVERILOG = os.environ.get("IVERILOG", "/opt/homebrew/bin/iverilog")
|
IVERILOG = os.environ.get("IVERILOG", "iverilog")
|
||||||
VVP = os.environ.get("VVP", "/opt/homebrew/bin/vvp")
|
VVP = os.environ.get("VVP", "vvp")
|
||||||
CXX = os.environ.get("CXX", "c++")
|
CXX = os.environ.get("CXX", "c++")
|
||||||
|
|
||||||
# Check tool availability for conditional skipping
|
# Check tool availability for conditional skipping
|
||||||
|
|||||||
Reference in New Issue
Block a user