-
Notifications
You must be signed in to change notification settings - Fork 465
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
tests: clean up some tests to avoid build error with stale output #7355
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is a good place to do the clean task.
The pipeline is managed by the Makefile
: test -> lib (build test) -> build (build compiler)
If the goal is to get a clean build before running tests, you should use a config file instead of inserting the task into the middle of the test script. You could also make lib
always guarantee that, but I don't prefer either because I want incremental builds during development.
There is no need for additional dependencies or script, since rescript clean
does exactly what you need.
Ok, but currently some tests don't have incremental compilation. I think what happened was that they forgot to add a step to clean Mocha test run |
A bunch of those tests self clean. |
18de458
to
bb4ba65
Compare
lib
folder)
I added a cleaning step in the tests where I saw the most errors with stale outputs. |
Thanks @aspeddro |
No description provided.