-
Notifications
You must be signed in to change notification settings - Fork 193
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
chore: move Tests.v to test/ folder #1753
chore: move Tests.v to test/ folder #1753
Conversation
0b3e8d8
to
81dbf1c
Compare
This is great. Is there a way to run the tests with Separately, I think we should also link to this README.md from STYLE.md. |
81dbf1c
to
a0a91bd
Compare
Signed-off-by: Ali Caglayan <[email protected]>
Signed-off-by: Ali Caglayan <[email protected]>
Signed-off-by: Ali Caglayan <[email protected]>
Signed-off-by: Ali Caglayan <[email protected]>
Signed-off-by: Ali Caglayan <[email protected]>
Signed-off-by: Ali Caglayan <[email protected]>
Signed-off-by: Ali Caglayan <[email protected]>
a0a91bd
to
de09eca
Compare
Signed-off-by: Ali Caglayan <[email protected]>
Signed-off-by: Ali Caglayan <[email protected]>
@jdchristensen I've updated our _CoqProject script to also include the tests, I don't see an easy way to split these up currently. This means that they will always be run with I've also updated the STYLE.md file to point to |
Signed-off-by: Ali Caglayan <[email protected]>
Signed-off-by: Ali Caglayan <[email protected]>
Signed-off-by: Ali Caglayan <[email protected]>
Signed-off-by: Ali Caglayan <[email protected]>
d17d4aa
to
790f411
Compare
I've annotated (oo)ExtendableAlong_Over and made sure that |
LGTM |
It seems like `dune build' doesn't work from a subfolder anymore. I'm pretty sure it used to work, right? |
Which folder are you trying it from? It appears to work for me. If you are trying it in |
If I try it within the WildCat folder, it doesn't build anything, but gives no errors. |
It works within the theories folder, or one up from that. |
That's very strange, are you sure it isn't building anything? One way you can test this is by doing Also which version of Dune are you using? I am using 3.10 and I can build everything like you describe just fine. Also if you paste the |
Oh, I see what is happening. If I run |
@jdchristensen Yes that's what it is supposed to do. You can build outside the folder with |
Thanks. Is dune also supposed to rebuild the emacs TAGS file? (Sorry to clutter this PR...) |
@jdchristensen I did not add such a rule, but I can add one if you would like. |
@Alizter That would be great! |
If you want a continuous build with the new tags rule #1754 you can do something like |
It seems like
But just |
@jdchristensen Ah thats my miatake. TAGS is pulling in the tests too. I can fix that tomorrow. If you want to fix it, replace the deps field of that TAGS rule with two (glob_files_rec) for theories and contrib only rather than all vo diles starting from the root. |
@jdchristensen Actually that had nothing to do with it. The reason is as follows:
That is clearer to understand and you don't need to know about aliases. You can read this as: Build all the targets in theories/, contrib/ and the target TAGS all in watch mode. |
These won't be built when doing
dune build
and can be very noisy. Instead these will be built when doingdune test
which we do in the CI. The opam jobs should catch any failing tests. The makefile will build all of them.We further improve performance by splitting the tests file into multiple separate files.
We also add a README detailing some conventions we can use on tests.
@jdchristensen This also makes the main build silent.