I’ve encountered an error after running a .pro script once (a test runs and completes), and then trying to run it again. This is the error output from Riviera-Pro (had the same issue come up in Modelsim):
———————————————–
build ../tests/osvvm_testcases/RunAllTests.pro
# Error: Build ../tests/osvvm_testcases/RunAllTests.pro is not a file or path
# SCRIPTER: Error: Build <path_to_tests>/tests/osvvm_testcases/RunAllTests.pro is not a file or path
———————————————–
The path is obviously correct and the file obviously exists, I just ran it before. I’ve found that closing the simulator and re-opening it allows me to run the .pro file again, but I feel like I shouldn’t have to do that every time I want to run my script.
Hi Preston,
What version are you running? Did the previous build fail?
Prior to 2024.07, if an include failed, there were some conditions under which it would not restore the CurrentWorkingDirectory back to the original value. This was addressed in 2024.07. This only happened if something in the process used an exit code that indicated a failure.
I agree things like this should never happen. Hopefully the fix in 2024.07 addresses this.