tools/ocaml: abi-check: Check properly.
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 10 Sep 2019 11:27:45 +0000 (12:27 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Tue, 10 Sep 2019 13:44:33 +0000 (14:44 +0100)
commit8a0aa3878da4092a9b503dfbce0de4db4f85b148
tree9eac6fd53cc5402cbdb6e244211c7709c43ef0ca
parent278b237d8d55de6141df9210ffd031c0f1c0907c
tools/ocaml: abi-check: Check properly.

Fix a broken regexp which would mention `$/' when it ought to have
mentioned `$'.  The result would be that it would match lines like
    type some_ocaml_type = Thing | Other_Thing
but ignore everything but the type name, giving wrong answers.

Check that we check mentioned types.  Otherwise if we fail to spot
some suitable thing in the ocaml, we would just omit checking this
type !

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Andrew Cooper <Andrew.Cooper3@citrix.com>
Acked-by: Christian Lindig <christian.lindig@citrix.com>
tools/ocaml/libs/xc/abi-check