-
Notifications
You must be signed in to change notification settings - Fork 292
Rearrange main executables and tests #3472
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
ocaml/xapi/jbuild
Outdated
(flags (:standard -bin-annot %s -warn-error +a-3-4-6-9-27-28-29-52)) | ||
(modules (:standard \ xapi_main quicktest)) | ||
(libraries ( | ||
alcotest |
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.
Can we also remove this?
Rebased on top of #3468.
|
(action (run ${<})) | ||
) | ||
) | ||
|} (flags rewriters) coverage_rewriter |
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.
Do we still need to do this?
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.
Only for coverage, as far as I know.
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.
So I think we could remove flags
.
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 is still needed until we port rpc
to jbuilder
. A port is ready but there are some issues with camlp4
and the way it interacts with ppx in xapi-idl
, so I'd rather wait until the port is complete
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.
Yay sensible ordering!
Signed-off-by: Marcello Seri <marcello.seri@citrix.com>
includes exporting the xapi library as an internal (and not installed) xapi_internal library Signed-off-by: Marcello Seri <marcello.seri@citrix.com>
Signed-off-by: Marcello Seri <marcello.seri@citrix.com>
Signed-off-by: Marcello Seri <marcello.seri@citrix.com>
Signed-off-by: Marcello Seri <marcello.seri@citrix.com>
Signed-off-by: Marcello Seri <marcello.seri@citrix.com>
Signed-off-by: Marcello Seri <marcello.seri@citrix.com>
Signed-off-by: Marcello Seri <marcello.seri@citrix.com>
Signed-off-by: Marcello Seri <marcello.seri@citrix.com>
Signed-off-by: Marcello Seri <marcello.seri@citrix.com>
Signed-off-by: Marcello Seri <marcello.seri@citrix.com>
I've rebased to avoid the conflicts. I am going to merge this if Travis is happy |
The xenserver-build-env failure is due to idl changes not yet propagated. The Travis build with xs-opam has successfully passed. Merging |
This moves the executables and tests in different scopes, reorganising and clarifying the dependencies.
This is a first step, further improvements will be to further refine the dependencies among those folders and replace
stdext
with the appropriatexapi-stdext-
submodules.