File tree Expand file tree Collapse file tree 6 files changed +22
-22
lines changed Expand file tree Collapse file tree 6 files changed +22
-22
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -10,3 +10,11 @@ This repository contains
1010 * configuration file parsing
1111 * argument parsing
1212 * RPCs
13+ 3 . The following CLI tools for debugging:
14+ * lib/channel_helper.exe -- a channel passing helper CLI
15+ * memory/memory_cli.exe -- a squeezed debugging CLI
16+ * v6/v6_cli.exe -- a V6d debugging CLI
17+ * cluster/cluster_cli.exe -- a xapi-clusterd debugging CLI
18+
19+ To build these, run: ` jbuilder build path/to/exec.exe ` .
20+ To run: ` ./_build/default/path/to/exec.exe ` .
Original file line number Diff line number Diff line change @@ -40,5 +40,6 @@ let () = Printf.ksprintf Jbuild_plugin.V1.send {|
4040
4141(alias
4242 ((name runtest)
43- (deps (example.exe))))
43+ (deps (example.exe))
44+ (action (run ${<}))))
4445|} flags coverage_rewriter
Original file line number Diff line number Diff line change @@ -92,8 +92,4 @@ let () = Printf.ksprintf Jbuild_plugin.V1.send {|
9292 lwt
9393 lwt.unix
9494 xcp))))
95-
96- (alias
97- ((name runtest)
98- (deps (channel_helper.exe))))
9995|} runtime_coverage_enabled flags coverage_dep coverage_rewriter flags coverage_rewriter flags
Original file line number Diff line number Diff line change @@ -48,8 +48,4 @@ let () = Printf.ksprintf Jbuild_plugin.V1.send {|
4848 rpclib.cmdliner
4949 rpclib.markdown
5050 xcp.memory))))
51-
52- (alias
53- ((name runtest)
54- (deps (memory_cli.exe))))
5551|} flags coverage_rewriter
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ let flags = function
1515 in
1616 go ic ""
1717
18- let rewriters_ppx = ["ppx_deriving_rpc"; "ppx_sexp_conv" ]
18+ let rewriters_ppx = ["ppx_deriving_rpc"]
1919let flags = flags rewriters_ppx
2020
2121let coverage_rewriter =
@@ -32,10 +32,21 @@ let () = Printf.ksprintf Jbuild_plugin.V1.send {|
3232 ((name xcp_v6)
3333 (public_name xcp.v6)
3434 (flags (:standard -w -39 %s))
35+ (modules (:standard \ v6_cli ))
3536 (libraries
3637 (rpclib
3738 threads
3839 xcp))
3940 (wrapped false)
4041 %s))
42+
43+ (executable
44+ ((name v6_cli)
45+ (modules (v6_cli))
46+ (libraries
47+ (cmdliner
48+ rpclib.cmdliner
49+ rpclib.markdown
50+ xcp.v6))))
51+
4152|} flags coverage_rewriter
You can’t perform that action at this time.
0 commit comments