summaryrefslogtreecommitdiff
path: root/opam
diff options
context:
space:
mode:
authorAlasdair2020-05-12 21:07:00 +0100
committerAlasdair2020-05-12 21:07:00 +0100
commitb8f9e2a078035cc8e797b1c7c0609f6a0c031a2c (patch)
treeafc770ff1180637b2b9023af34f09be8f271d1dc /opam
parent81516c8ad7c30adb3d52741ad6a7c68d4436ec35 (diff)
Add support for instrumenting generated C with branch coverage metrics
Will call: void sail_branch_reached(int branch_id, char *source_file, int l1, int c1, int l2, int c2); on each branch caused by a match or if statement in the source code For each branch that is taken, will call: void sail_branch_taken(int branch_id, char *source_file, int l1, int c1, int l2, int c2) Every branch gets a unique identifier, and the functions are called with the source file location and line/character information for the start and end of each match case or then/else branch. sail_branch_reached is given the location info for the whole match statement.
Diffstat (limited to 'opam')
-rw-r--r--opam2
1 files changed, 1 insertions, 1 deletions
diff --git a/opam b/opam
index 8f9310ea..52e4332e 100644
--- a/opam
+++ b/opam
@@ -36,7 +36,7 @@ depends: [
"conf-gmp"
"conf-zlib"
"base64" {< "3.0.0"}
- "yojson"
+ "yojson" {>= "1.7.0"}
"pprint"
]
available: [ocaml-version >= "4.06.1"]