-
Notifications
You must be signed in to change notification settings - Fork 414
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
Shorter path for inline-tests #11307
base: main
Are you sure you want to change the base?
Conversation
This PR fixes all long path related issue in ocsigen/js_of_ocaml#1799 |
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.
LGTM
inline_test_runner_test_lib2 alias test2/runtest | ||
run alias test2/runtest | ||
run alias test2/runtest | ||
run alias test2/runtest |
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.
One could argue that the new output is less informative than the old one, but I don't see how we can do better while keeping the paths short.
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've pushed alternative names. the inline-test executable in now called inline-test-runner
. Its entry point is main.ml
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.
Thanks. I'm a bit hesitatnt to merge because I have never used inline tests myself so I am not 100% sure I am not missing any details. A quick glance from someone familiar with this part of the code (or @rgrinberg) would be good.
The second commits changes names a bit and avoid duplication between |
Signed-off-by: Hugo Heuzard <[email protected]>
Signed-off-by: Hugo Heuzard <[email protected]>
6dd5d4f
to
52fd9bd
Compare
The PR uses shorter path names for inline-tests.
I believe there is little value repeating the libname information in the path under
.<LIBNAME>.inline-tests
With this PR
becomes
and
becomes