New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Always generate .corrected files when used in dune #168
Comments
See ocaml/dune#2482 |
I'm not sure it's related as the issue here was that nothing happened because the second argument of |
In other words |
Isn't this a similar issue that @clecat had in ocaml/dune#2396 ? But if the real issue is that |
As I said, the bug is already fixed. I'm suggesting generating a more explicit rule that would be less error prone and would allow us to catch those bugs earlier if they arise. |
Indeed this is the same issue I had several weeks ago. |
Note that if the file are identical dune won't promote anything, that's how promotion through the |
My point being, always generating the |
I'm closing this as:
|
While toying around with
mdx.1.4.0
I stumbled upon the bug fixed by #136. This bug is now fixed but one thing I noticed is that it manifested in a really weird and disturbing way if you usedocaml-mdx rule
to generate your mdx test rules.Because the generated rule uses
(diff? %{x} %{x}.corrected)
actions, it will silently pass if no.corrected
file has been generated.I'm wondering if it wouldn't be more robust to have
ocaml-mdx rule
to produce a rule that generates all the.corrected
no matter what, using the--force-output
option ofocaml-mdx test
and to produce strict diff rules thus preventing any such silent failures.Let me know what you think!
The text was updated successfully, but these errors were encountered: