nridge added a comment.

In D140462#4017237 <https://reviews.llvm.org/D140462#4017237>, @hyperupcall 
wrote:

> If you would like me to add tests to verify the schema (for now or later?), 
> is there a utility within LLVM to help do so? I saw TableGen was mentioned, 
> but it sounds like the schema validation use case is a different issue.

Is there a command-line tool that can perform JSON schema validation which is 
included in a commonly used package that's available in the default package 
repositories of major Linux distros? If so, we may be able to get away with 
just requiring that the buildbots have that package installed.

If not, then we'd need to check in such a tool into the LLVM repo (and if it 
needs building, integrate its build into the build system).

In either case, the tests themselves can take the form of simple lit tests 
<https://llvm.org/docs/CommandGuide/lit.html> that invoke that tool on some 
test config files.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140462/new/

https://reviews.llvm.org/D140462

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to