OSVVM / OSVVM-Scripts

OSVVM project simulation scripts. Scripts are tedious. These scripts simplify the steps to compile your project for simulation
Other
10 stars 14 forks source link

Riviera-PRO scripting broken on Linux due to typos #28

Closed Asif71 closed 2 years ago

Asif71 commented 2 years ago

Riviera-PRO can't be executed in CI (Linux environment) due to different spellings of Riviera-PRO vs. Riviera-Pro vs. maybe others. This behavior can't be seen on Windows because it's case insensitive.

Spelling differences according to TCL error messages from CI:

  1. SCRIPTER: Error: couldn't read file "/builds/...../lib/OSVVM-Scripts/VendorScripts_RivieraPRO.tcl": no such file or directory

    Identified script line: https://github.com/OSVVM/OSVVM-Scripts/blob/main/StartUp.tcl#L78

    variable ScriptBaseName   "RivieraPRO"

    vs. VendorScripts_RivieraPro.tcl

Please also check in other places and for other simulator tools.
TCL is only reporting the first error and aborts execution.


/cc @Paebbels, @plc2

JimLewis commented 2 years ago

Thanks. A fix was pushed onto Dev branch.

Asif71 commented 2 years ago

Hello Jim, I checked out your latest dev branch commit ID fba9cd6e. Unfortunately I still have same error message. I cross checked the case of word "Pro" but you did not change anything for that.

SCRIPTER: Error: couldn't read file "/builds/...../lib/OSVVM-Scripts/VendorScripts_RivieraPRO.tcl": no such file or directory
JimLewis commented 2 years ago

Looks like I forgot to push the scripts submodule. I have done that now.