-
Notifications
You must be signed in to change notification settings - Fork 177
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
Fix the PPX expect tests #492
Comments
I'll have a look into this. Might take me some time because I don't know much about jbuilder or opam. |
@raphael-proust Great, thanks! I'm sure you saw the branch linked from #474. Despite my earlier comment, I think the easiest way to get this done is to get the tests to respect Under normal circumstances, I may, of course, still be wrong, and Jbuilder might be easier :p |
I cannot reproduce this failure. I uninstalled lwt (unpinned it really), updated everything, and the ppx part is fine:
Can you confirm it is still happening? It might have been fixed by some other commit. |
@raphael-proust, I temporarily disabled the PPX expect tests in a commit, 3be9cc4. You'll have to uncomment that The tests are in a separate directory |
Progress notes (mostly for myself so I can resume investigation tomorrow). The This is tested like so:
It is easy to set a custom environment in jbuilder
But it still fails. I'll have a look at whether this is the wrong |
Yes, Purely as FYI, I typically set However, using Jbuilder for this is probably more portable, so a good idea. I may have used it, but the code above was written before that project was ported to Jbuilder. |
Hey @raphael-proust, I'm going to take over this so we can put the |
@aantron yeah, sorry I went inactive |
It's no problem at all :) |
According to Travis, a1fc678 didn't fix the issue for .PHONY: coverage
coverage: clean check-config
BISECT_ENABLE=yes make build
BISECT_ENABLE=yes jbuilder runtest --dev -j 1 --no-buffer
bisect-ppx-report \
-I _build/default/ -html _coverage/ \
-text - -summary-only \
$(BISECT_FILES_PATTERN)
@echo See _coverage/index.html Is this an acceptable fix? Is there anything else I should be worried out? I'm still pretty new to |
Absolutely, thanks for taking a look! If the tests are working, and the coverage report looks correct before and after, then it is an acceptable fix indeed :) The most important thing to watch out for is that |
Yep- uninstalled both of them and the coverage tests completed. Opened a PR, too. Thanks, @aantron! |
See comments starting from #474 (comment):
The text was updated successfully, but these errors were encountered: