]> git.proxmox.com Git - mirror_qemu.git/blob - tests/spapr-phb-test.c
tests: Clean up includes
[mirror_qemu.git] / tests / spapr-phb-test.c
1 /*
2 * QTest testcase for SPAPR PHB
3 *
4 * Authors:
5 * Alexey Kardashevskiy <aik@ozlabs.ru>
6 *
7 * This work is licensed under the terms of the GNU GPL, version 2 or later.
8 * See the COPYING file in the top-level directory.
9 */
10 #include "qemu/osdep.h"
11 #include <glib.h>
12
13 #include "libqtest.h"
14
15 #define TYPE_SPAPR_PCI_HOST_BRIDGE "spapr-pci-host-bridge"
16
17 /* Tests only initialization so far. TODO: Replace with functional tests */
18 static void test_phb_device(void)
19 {
20 }
21
22 int main(int argc, char **argv)
23 {
24 int ret;
25
26 g_test_init(&argc, &argv, NULL);
27 qtest_add_func("/spapr-phb/device", test_phb_device);
28
29 qtest_start("-device " TYPE_SPAPR_PCI_HOST_BRIDGE ",index=100");
30
31 ret = g_test_run();
32
33 qtest_end();
34
35 return ret;
36 }