You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The paths in clash-vexriscv-sim/tests/tests.hs are hardcoded relative to the project root.
This causes cabal run unittests tot fail for clash-vexriscv-sim when you are in the package directory.
We should rewrite this to either:
Dynamically find the project root use that as base path for the relative paths.
Move the files to the data-files segment of the package and use getDataFileName from the implicit Paths_clash_vexriscv_sim module.
The paths in
clash-vexriscv-sim/tests/tests.hs
are hardcoded relative to the project root.This causes
cabal run unittests
tot fail forclash-vexriscv-sim
when you are in the package directory.We should rewrite this to either:
data-files
segment of the package and usegetDataFileName
from the implicitPaths_clash_vexriscv_sim
module.Example: https://github.com/clash-lang/clash-vexriscv/blob/main/clash-vexriscv-sim/tests/Tests/Jtag.hs#L24-L52
The text was updated successfully, but these errors were encountered: