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
Last week I got bitten by rules_haskell's assumption that a ./haskell/ directory exists and contains a ghc.BUILD (see #719 (comment)). Most likely this is only the case in the root of this repo. I suspect there are a few similar bugs lurking around.
One way to make sure that we don't make such assumptions is to have tests be run from a different directory.
You mean from a dependent project. Please update title and description accordingly. I think we should do better than this: detect all hard-coded labels and make sure they are all fully qualified.
Profpatsch
changed the title
Run tests outside of ./. to ensure reproducibility
Make sure all labels we use in rules_haskell are fully qualified
Oct 7, 2019
Last week I got bitten by rules_haskell's assumption that a
./haskell/
directory exists and contains aghc.BUILD
(see #719 (comment)). Most likely this is only the case in the root of this repo. I suspect there are a few similar bugs lurking around.One way to make sure that we don't make such assumptions is to have tests be run from a different directory.
CC @Profpatsch
The text was updated successfully, but these errors were encountered: