Fix Verilator detection by tests
Created by: valentinThomazic
Related to : https://github.com/openhwgroup/cva6/issues/1795.
- The detection of the tools should now work as expected.
- Also moved the
setup-env.sh
execution in the smoke-tests since it is intended to be ran when tools are installed. - Added a failsafe in
install-verilator.sh
in case several verilator directories are installed in thetools
directory (the first one returned bygrep
is picked). - Use
setup-env.sh
instead ofinstall-cva6.sh
andinstall-riscv-dv.sh
inlinux.sh
test since they no longer exist in the repo