File tree Expand file tree Collapse file tree 12 files changed +24
-154
lines changed
Expand file tree Collapse file tree 12 files changed +24
-154
lines changed Original file line number Diff line number Diff line change 1- (* -*- tuareg -*- *)
2- let coverage_rewriter =
3- match Sys.getenv "BISECT_ENABLE" with
4- | "YES" -> "bisect_ppx"
5- | _ -> ""
6- | exception Not_found -> ""
7-
8- let () = Printf.ksprintf Jbuild_plugin.V1.send {|
91
102(library
113 (name xcp_cluster)
@@ -14,7 +6,7 @@ let () = Printf.ksprintf Jbuild_plugin.V1.send {|
146 (flags (:standard -w -39))
157 (libraries xapi-idl threads rpclib.core)
168 (wrapped false)
17- (preprocess (pps ppx_deriving_rpc %s ))
9+ (preprocess (pps ppx_deriving_rpc ))
1810)
1911
2012(executable
@@ -31,6 +23,5 @@ let () = Printf.ksprintf Jbuild_plugin.V1.send {|
3123(alias
3224 (name runtest)
3325 (deps (:x cluster_cli.exe))
34- (action (run %% {x}))
26+ (action (run %{x}))
3527)
36- |} coverage_rewriter
Original file line number Diff line number Diff line change 1- (* -*- tuareg -*- *)
2- let coverage_rewriter =
3- match Sys.getenv "BISECT_ENABLE" with
4- | "YES" -> "bisect_ppx"
5- | _ -> ""
6- | exception Not_found -> ""
7-
8- let () = Printf.ksprintf Jbuild_plugin.V1.send {|
91
102(executable
113 (name example)
@@ -14,12 +6,11 @@ let () = Printf.ksprintf Jbuild_plugin.V1.send {|
146 rpclib.core
157 xapi-idl
168 )
17- (preprocess (pps ppx_deriving_rpc %s ))
9+ (preprocess (pps ppx_deriving_rpc ))
1810)
1911
2012(alias
2113 (name runtest)
2214 (deps (:x example.exe))
23- (action (run %% {x}))
15+ (action (run %{x}))
2416)
25- |} coverage_rewriter
Original file line number Diff line number Diff line change 1- (* -*- tuareg -*- *)
2- let coverage_rewriter =
3- match Sys.getenv "BISECT_ENABLE" with
4- | "YES" -> "bisect_ppx"
5- | _ -> ""
6- | exception Not_found -> ""
7-
8- let () = Printf.ksprintf Jbuild_plugin.V1.send {|
91
102(library
113 (name xapi_gpumon)
@@ -18,7 +10,7 @@ let () = Printf.ksprintf Jbuild_plugin.V1.send {|
1810 xapi-idl
1911 )
2012 (wrapped false)
21- (preprocess (pps ppx_deriving_rpc %s ))
13+ (preprocess (pps ppx_deriving_rpc ))
2214)
2315
2416(executable
@@ -35,6 +27,5 @@ let () = Printf.ksprintf Jbuild_plugin.V1.send {|
3527(alias
3628 (name runtest)
3729 (deps (:x gpumon_cli.exe))
38- (action (run %% {x}))
30+ (action (run %{x}))
3931)
40- |} coverage_rewriter
Original file line number Diff line number Diff line change 1- (* -*- tuareg -*- *)
2- let coverage_rewriter =
3- match Sys.getenv "BISECT_ENABLE" with
4- | "YES" -> "bisect_ppx"
5- | _ -> ""
6- | exception Not_found -> ""
7-
8- let runtime_coverage_enabled, coverage_dep =
9- let use_bisect_runtime =
10- match Sys.getenv "BISECT_RUNTIME" with
11- | "YES" -> true
12- | _ -> false
13- | exception Not_found -> false in
14- if use_bisect_runtime then
15- "enabled.ml", "bisect_ppx.runtime"
16- else
17- "disabled.ml", ""
18-
19- let () = Printf.ksprintf Jbuild_plugin.V1.send {|
20-
21- (rule
22- (targets xcp_coverage.ml)
23- (action (copy coverage/%s %%{targets}))
24- )
251
262(library
273 (name xcp)
@@ -30,7 +6,6 @@ let () = Printf.ksprintf Jbuild_plugin.V1.send {|
306 (modules (:standard \ scheduler task_server updates))
317 (c_names syslog_stubs)
328 (libraries
33- %s
349 cmdliner
3510 cohttp
3611 fd-send-recv
@@ -53,7 +28,7 @@ let () = Printf.ksprintf Jbuild_plugin.V1.send {|
5328 xmlm
5429 )
5530 (wrapped false)
56- (preprocess (pps ppx_sexp_conv ppx_deriving_rpc %s ))
31+ (preprocess (pps ppx_sexp_conv ppx_deriving_rpc ))
5732)
5833
5934(library
@@ -63,6 +38,5 @@ let () = Printf.ksprintf Jbuild_plugin.V1.send {|
6338 (modules updates task_server scheduler)
6439 (libraries xapi-idl)
6540 (wrapped false)
66- (preprocess (pps ppx_deriving_rpc %s ))
41+ (preprocess (pps ppx_deriving_rpc ))
6742)
68- |} runtime_coverage_enabled coverage_dep coverage_rewriter coverage_rewriter
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -361,7 +361,6 @@ type ('a, 'b) error = [
361361
362362let configure2 ~name ~version ~doc ?(options =[] ) ?(resources =[] ) () =
363363 try
364- Xcp_coverage. init name;
365364 configure_common ~options ~resources
366365 (fun config_spec ->
367366 match Term. eval (command_of ~name ~version ~doc config_spec) with
Original file line number Diff line number Diff line change 1- (* -*- tuareg -*- *)
2- let coverage_rewriter =
3- match Sys.getenv "BISECT_ENABLE" with
4- | "YES" -> "bisect_ppx"
5- | _ -> ""
6- | exception Not_found -> ""
7-
8-
9- let () = Printf.ksprintf Jbuild_plugin.V1.send {|
101
112(executables
123 (names test)
@@ -29,19 +20,18 @@ let () = Printf.ksprintf Jbuild_plugin.V1.send {|
2920 xapi-idl.v6
3021 xapi-idl.xen
3122 )
32- (preprocess (pps ppx_deriving_rpc %s ))
23+ (preprocess (pps ppx_deriving_rpc ))
3324)
3425
3526(alias
3627 (name runtest)
3728 (deps (:x test.exe) (source_tree test_data))
38- (action (run %% {x}))
29+ (action (run %{x}))
3930)
4031
4132(alias
4233 (name runtest-quick)
4334 (deps (:x test.exe) (source_tree test_data))
44- (action (run %% {x} -q))
35+ (action (run %{x} -q))
4536)
4637
47- |} coverage_rewriter
Original file line number Diff line number Diff line change 1- (* -*- tuareg -*- *)
2- let coverage_rewriter =
3- match Sys.getenv "BISECT_ENABLE" with
4- | "YES" -> "bisect_ppx"
5- | _ -> ""
6- | exception Not_found -> ""
7-
8- let () = Printf.ksprintf Jbuild_plugin.V1.send {|
91
102(library
113 (name xcp_memory)
@@ -18,7 +10,7 @@ let () = Printf.ksprintf Jbuild_plugin.V1.send {|
1810 xapi-idl
1911 )
2012 (wrapped false)
21- (preprocess (pps ppx_deriving_rpc %s ))
13+ (preprocess (pps ppx_deriving_rpc ))
2214)
2315
2416(executable
@@ -35,7 +27,6 @@ let () = Printf.ksprintf Jbuild_plugin.V1.send {|
3527(alias
3628 (name runtest)
3729 (deps (:x memory_cli.exe))
38- (action (run %% {x}))
30+ (action (run %{x}))
3931)
4032
41- |} coverage_rewriter
Original file line number Diff line number Diff line change 1- (* -*- tuareg -*- *)
2- let coverage_rewriter =
3- match Sys.getenv "BISECT_ENABLE" with
4- | "YES" -> "bisect_ppx"
5- | _ -> ""
6- | exception Not_found -> ""
7-
8- let () = Printf.ksprintf Jbuild_plugin.V1.send {|
91
102(library
113 (name xcp_network)
@@ -18,7 +10,7 @@ let () = Printf.ksprintf Jbuild_plugin.V1.send {|
1810 xapi-idl
1911 )
2012 (wrapped false)
21- (preprocess (pps ppx_deriving_rpc %s ))
13+ (preprocess (pps ppx_deriving_rpc ))
2214)
2315
2416(executable
@@ -35,7 +27,6 @@ let () = Printf.ksprintf Jbuild_plugin.V1.send {|
3527(alias
3628 (name runtest)
3729 (deps (:x network_cli.exe))
38- (action (run %% {x}))
30+ (action (run %{x}))
3931)
4032
41- |} coverage_rewriter
Original file line number Diff line number Diff line change 1- (* -*- tuareg -*- *)
2- let coverage_rewriter =
3- match Sys.getenv "BISECT_ENABLE" with
4- | "YES" -> "bisect_ppx"
5- | _ -> ""
6- | exception Not_found -> ""
7-
8- let () = Printf.ksprintf Jbuild_plugin.V1.send {|
91
102(library
113 (name xcp_rrd_interface_types)
@@ -19,7 +11,7 @@ let () = Printf.ksprintf Jbuild_plugin.V1.send {|
1911 xapi-idl
2012 )
2113 (wrapped false)
22- (preprocess (pps ppx_deriving_rpc %s ))
14+ (preprocess (pps ppx_deriving_rpc ))
2315)
2416
2517(library
@@ -35,7 +27,7 @@ let () = Printf.ksprintf Jbuild_plugin.V1.send {|
3527 xapi-idl.rrd.interface.types
3628 )
3729 (wrapped false)
38- (preprocess (pps ppx_deriving_rpc %s ))
30+ (preprocess (pps ppx_deriving_rpc ))
3931)
4032
4133(library
@@ -51,7 +43,7 @@ let () = Printf.ksprintf Jbuild_plugin.V1.send {|
5143 xapi-idl.rrd.interface
5244 )
5345 (wrapped false)
54- (preprocess (pps ppx_deriving_rpc %s ))
46+ (preprocess (pps ppx_deriving_rpc ))
5547)
5648
5749(executable
@@ -68,7 +60,6 @@ let () = Printf.ksprintf Jbuild_plugin.V1.send {|
6860(alias
6961 (name runtest)
7062 (deps (:x rrd_cli.exe))
71- (action (run %% {x}))
63+ (action (run %{x}))
7264)
7365
74- |} coverage_rewriter coverage_rewriter coverage_rewriter
You can’t perform that action at this time.
0 commit comments