search for: 0e24d6ce9

Displaying 2 results from an estimated 2 matches for "0e24d6ce9".

2019 Mar 28
0
[PATCH v2 4/4] OCaml tools: output messages into JSON for machine readable
...self.assertEqual(len(objects), 1) + self.check_json(objects[0], "error", "Error!") + + +if __name__ == '__main__': + unittest.main() diff --git a/common/mltools/test-tools-messages.sh b/common/mltools/test-tools-messages.sh new file mode 100755 index 000000000..0e24d6ce9 --- /dev/null +++ b/common/mltools/test-tools-messages.sh @@ -0,0 +1,28 @@ +#!/bin/bash - +# libguestfs +# Copyright (C) 2019 Red Hat Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free S...
2019 Mar 28
8
[PATCH v2 0/4] OCaml tools: output messages as JSON machine
Enhance the output in machine parseable mode, by outputting all the messages of OCaml tools as JSON to the machine parseable stream. Related, although not strictly needed for this (and thus can be split if requested), is the addition of the fd format for the machine readable stream. Changes from v1: - use Obj.magic to convert int -> Unix.file_descr - add tests Pino Toscano (4):