[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 19/71] tests: qgraph API for the qtest driver fr
From: |
Thomas Huth |
Subject: |
Re: [Qemu-devel] [PATCH 19/71] tests: qgraph API for the qtest driver framework |
Date: |
Fri, 7 Dec 2018 13:42:28 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 2018-12-03 16:32, Paolo Bonzini wrote:
> From: Emanuele Giuseppe Esposito <address@hidden>
>
> Add qgraph API that allows to add/remove nodes and edges from the graph,
> implementation of Depth First Search to discover the paths and basic unit
> test to check correctness of the API.
> Included also a main executable that takes care of starting the framework,
> create the nodes, set the available drivers/machines, discover the path and
> run tests.
>
> graph.h provides the public API to manage the graph nodes/edges
> graph_extra.h provides a more private API used successively by the gtest
> integration part
> qos-test.c provides the main executable
>
> Signed-off-by: Emanuele Giuseppe Esposito <address@hidden>
> [Paolo's changes compared to the Google Summer of Code submission:
> * added subprocess to test options
> * refactored object creation to support live migration tests
> * removed driver .before callback (unused)
> * removed test .after callbacks (replaced by GTest destruction queue)]
>
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
[...]
> diff --git a/tests/libqos/qgraph.c b/tests/libqos/qgraph.c
> new file mode 100644
> index 0000000..03783f5
> --- /dev/null
> +++ b/tests/libqos/qgraph.c
> @@ -0,0 +1,760 @@
> +/*
> + * libqos driver framework
> + *
> + * Copyright (c) 2018 Emanuele Giuseppe Esposito <address@hidden>
> + *
> + * This library is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU Lesser General Public
> + * License version 2 as published by the Free Software Foundation.
The license statement is inaccurate. There is no "GNU *Lesser* General
Public License version *2*" ... so I'm assuming you wanted to use one of
these two options:
- GNU Library General Public License, version 2.0
- GNU Lesser General Public License, version 2.1
I assume you wanted to use the latter, so please replace the "2" with
"2.1" in all license statements here.
Thomas
- Re: [Qemu-devel] [PATCH 18/71] tests/libqos: embed allocators instead of malloc-ing them, (continued)
- [Qemu-devel] [PATCH 22/71] tests/libqos: sdhci driver and interface nodes, Paolo Bonzini, 2018/12/03
- [Qemu-devel] [PATCH 21/71] tests/libqos: x86_64/pc machine node, Paolo Bonzini, 2018/12/03
- [Qemu-devel] [PATCH 23/71] tests/libqos: arm/raspi2 machine node, Paolo Bonzini, 2018/12/03
- [Qemu-devel] [PATCH 24/71] tests/libqos: arm/smdkc210 machine node, Paolo Bonzini, 2018/12/03
- [Qemu-devel] [PATCH 20/71] tests/libqos: pci-pc driver and interface nodes, Paolo Bonzini, 2018/12/03
- [Qemu-devel] [PATCH 28/71] qos-test: sdhci test node, Paolo Bonzini, 2018/12/03
- [Qemu-devel] [PATCH 30/71] tests/libqos: pci-spapr driver and interface nodes, Paolo Bonzini, 2018/12/03
- [Qemu-devel] [PATCH 19/71] tests: qgraph API for the qtest driver framework, Paolo Bonzini, 2018/12/03
- [Qemu-devel] [PATCH 25/71] tests/libqos: arm/sabrelite machine node, Paolo Bonzini, 2018/12/03
- [Qemu-devel] [PATCH 27/71] tests/libqos: aarch64/xlnx-zcu102 machine node, Paolo Bonzini, 2018/12/03
- [Qemu-devel] [PATCH 26/71] tests/libqos: arm/xilinx-zynq-a9 machine node, Paolo Bonzini, 2018/12/03
- [Qemu-devel] [PATCH 29/71] tests/qgraph: add generic PCI testcases, Paolo Bonzini, 2018/12/03
- [Qemu-devel] [PATCH 31/71] tests/qgraph: ppc64/pseries machine node, Paolo Bonzini, 2018/12/03
- [Qemu-devel] [PATCH 32/71] tests/libqos: has_buggy_msi flag, Paolo Bonzini, 2018/12/03