I just discovered that ppx_expect expects that source files are located in the directory from which the test runner was launched. That is never the case under Bazel. I can’t think of a workaround; I suspect the only solution is to change ppx_expect.
Any volunteers? I think it’s a good design problem, not specific to either dune or bazel. My first take on it is that ppx_expect needs to obtain the path containing the source from the build system, somehow.
3 posts - 2 participants