-
Notifications
You must be signed in to change notification settings - Fork 102
Add a test for the size of module type of expressions
#1042
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
Conversation
b89ea11 to
14043d8
Compare
14043d8 to
ec56b83
Compare
Julow
left a comment
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 have some small comments but otherwise looks good.
| @@ -0,0 +1,13 @@ | |||
| #!/bin/sh | |||
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 guess this file wasn't meant to be there ? Otherwise, compile.sh and odoc.sh shouldn't be included.
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.
After all, I find gen.sh more readable than the full test.
It could even be inlined in run.t, generating compile.sh and odoc.sh wouldn't be necessary as commands could be called directly in the loop.
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.
It's there in case we ever wanted to increase the size of the test, or modify the contents of the mli files. I wrote it to do this test so I thought I might as well include it :-)
| @@ -0,0 +1,16 @@ | |||
| #!/bin/sh | |||
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.
That's not a portable #! line. I suggest not having one and to run this script using bash ./compile.sh.
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.
Huh? I don't understand - I think this script is pretty portable. The gen.sh needs to be changed to #!/bin/bash though!
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.
The most portable is #!/usr/bin/env bash but it's not perfect. /bin/bash is definitely not portable, it doesn't work on my machine.
It's trivial to do without this line so I think we should do that.
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.
it doesn't use /bin/bash, it's /bin/sh - does that not work on your machine?
|
Closing in favour of #1079 |
No description provided.