Displaying 7 results from an estimated 7 matches for "test_builder".
2014 Oct 02
3
[LLVMdev] How do I update Ocaml debug info? (was Re: [llvm] r218914 - DI: Fold constant arguments into a single MDString)
-llvm-commits, +llvmdev
> On Oct 2, 2014, at 2:57 PM, Duncan P. N. Exon Smith <dexonsmith at apple.com> wrote:
>
> Author: dexonsmith
> Date: Thu Oct 2 16:56:57 2014
> New Revision: 218914
>
> URL: http://llvm.org/viewvc/llvm-project?rev=218914&view=rev
> Log:
> DI: Fold constant arguments into a single MDString
>
> This patch addresses the first
2015 May 11
3
[PATCH 1/2] mllib: Require OUnit2 for tests.
...*)
-let test_qemu () =
+let test_qemu ctx =
let doc = [
"file.driver", JSON.String "https";
"file.url", JSON.String "https://libguestfs.org";
@@ -155,7 +155,7 @@ let test_qemu () =
}"
(JSON.string_of_doc ~fmt:JSON.Indented doc)
-let test_builder () =
+let test_builder ctx =
let doc = [
"version", JSON.Int 1;
"sources", JSON.List [
@@ -221,25 +221,19 @@ let test_builder () =
(* Suites declaration. *)
let suite =
- TestList ([
- "basic" >::: [
- "empty" >:: test_empty;
-...
2016 Jan 17
3
Building SVN head with CMake - shared libraries?
Hi,
On Sun, Jan 17, 2016 at 1:04 PM, Dan Liew <dan at su-root.co.uk> wrote:
> On 16 January 2016 at 20:21, Ismail Donmez <ismail at i10z.com> wrote:
>> On Sat, Jan 16, 2016 at 9:33 PM, Dan Liew <dan at su-root.co.uk> wrote:
>>>> I am trying to enable this on openSUSE but it seems to break
>>>> standalone lldb (note that we don't ship static
2015 Jan 23
0
[PATCH 2/2] mllib: add simple tests for the JSON module
...doc);
+ assert_equal_string
+ "{
+ \"file.driver\": \"https\",
+ \"file.url\": \"https://libguestfs.org\",
+ \"file.timeout\": 60,
+ \"file.readahead\": 67108864
+}"
+ (JSON.string_of_doc ~fmt:JSON.Indented doc)
+
+let test_builder () =
+ let doc = [
+ "version", JSON.Int 1;
+ "sources", JSON.List [
+ JSON.Dict [
+ "uri", JSON.String "http://libguestfs.org/index";
+ ];
+ ];
+ "templates", JSON.List [
+ JSON.Dict [
+ "os-version&qu...
2015 Jan 23
2
[PATCH 1/2] mllib: tests: add tests for string_lines_split
---
mllib/common_utils_tests.ml | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/mllib/common_utils_tests.ml b/mllib/common_utils_tests.ml
index 09d5c51..283e9a1 100644
--- a/mllib/common_utils_tests.ml
+++ b/mllib/common_utils_tests.ml
@@ -27,6 +27,7 @@ let prog = "common_utils_tests"
let assert_equal_string = assert_equal ~printer:(fun x -> x)
let
2018 Aug 20
6
[PATCH 0/4] mltools: JSON unification
An evolution of:
https://www.redhat.com/archives/libguestfs/2018-August/msg00155.html
2017 Sep 26
5
[PATCH 0/5] Miscellaneous refactoring of common/utils, create common/mltools
Miscellaneous refactoring, but the main one is to rename mllib/
as common/mltools/
Rich.