From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqvj-0006ub-6a for qemu-devel@nongnu.org; Mon, 08 Feb 2016 13:53:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSqvi-0002cP-0N for qemu-devel@nongnu.org; Mon, 08 Feb 2016 13:52:59 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:57231) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqvh-0002c3-Lb for qemu-devel@nongnu.org; Mon, 08 Feb 2016 13:52:57 -0500 From: Peter Maydell Date: Mon, 8 Feb 2016 18:49:15 +0000 Message-Id: <1454957357-22094-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 0/2] tests: clean includes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Markus Armbruster , patches@linaro.org This patchset runs clean-includes on all the .c files in tests/, except those in tests/tcg, which I think are all intended as standalone test programs for the guest. The first patch handles i440fx-test.c manually since otherwise compilation would fail due to the redefinition of ARRAY_SIZE. The second patch is automated; I can split it up if people prefer but it seems just about small enough to leave as one patch. With these patches applied Eric's "qapi: Clean up includes in generated files" patch no longer breaks 'make check'. thanks -- PMM Peter Maydell (2): tests/i440fx-test: Don't define ARRAY_SIZE locally tests: Clean up includes tests/ac97-test.c | 3 +-- tests/bios-tables-test.c | 4 +--- tests/boot-order-test.c | 2 +- tests/check-qdict.c | 1 + tests/check-qfloat.c | 1 + tests/check-qint.c | 1 + tests/check-qjson.c | 1 + tests/check-qlist.c | 1 + tests/check-qom-interface.c | 1 + tests/check-qom-proplist.c | 1 + tests/check-qstring.c | 1 + tests/crypto-tls-x509-helpers.c | 4 +--- tests/device-introspect-test.c | 2 +- tests/display-vga-test.c | 3 +-- tests/drive_del-test.c | 2 +- tests/ds1338-test.c | 1 + tests/e1000-test.c | 3 +-- tests/eepro100-test.c | 3 +-- tests/endianness-test.c | 5 +---- tests/es1370-test.c | 3 +-- tests/fdc-test.c | 4 +--- tests/fw_cfg-test.c | 2 +- tests/hd-geo-test.c | 4 +--- tests/i440fx-test.c | 8 +------- tests/i82801b11-test.c | 3 +-- tests/intel-hda-test.c | 3 +-- tests/io-channel-helpers.c | 1 + tests/ioh3420-test.c | 3 +-- tests/ipmi-bt-test.c | 5 +---- tests/ipmi-kcs-test.c | 4 +--- tests/ipoctal232-test.c | 3 +-- tests/ivshmem-test.c | 6 +----- tests/libqos/fw_cfg.c | 1 + tests/libqos/i2c-imx.c | 3 +-- tests/libqos/i2c-omap.c | 3 +-- tests/libqos/i2c.c | 1 + tests/libqos/libqos-pc.c | 1 + tests/libqos/libqos.c | 6 +----- tests/libqos/malloc-generic.c | 1 + tests/libqos/malloc-pc.c | 1 + tests/libqos/malloc.c | 3 +-- tests/libqos/pci-pc.c | 1 + tests/libqos/pci.c | 1 + tests/libqos/usb.c | 3 +-- tests/libqos/virtio-mmio.c | 2 +- tests/libqos/virtio-pci.c | 2 +- tests/libqos/virtio.c | 1 + tests/libqtest.c | 12 ++---------- tests/m48t59-test.c | 5 +---- tests/multiboot/libc.c | 1 + tests/multiboot/mmap.c | 1 + tests/multiboot/modules.c | 1 + tests/ne2000-test.c | 3 +-- tests/nvme-test.c | 3 +-- tests/pc-cpu-test.c | 3 +-- tests/pcnet-test.c | 3 +-- tests/pkix_asn1_tab.c | 1 + tests/pvpanic-test.c | 3 +-- tests/q35-test.c | 3 +-- tests/qemu-iotests/socket_scm_helper.c | 8 +------- tests/qom-test.c | 3 +-- tests/rcutorture.c | 5 +---- tests/rtc-test.c | 5 +---- tests/rtl8139-test.c | 3 +-- tests/spapr-phb-test.c | 1 + tests/tco-test.c | 4 +--- tests/test-aio.c | 1 + tests/test-base64.c | 1 + tests/test-bitops.c | 3 +-- tests/test-blockjob-txn.c | 2 +- tests/test-coroutine.c | 1 + tests/test-crypto-cipher.c | 1 + tests/test-crypto-hash.c | 1 + tests/test-crypto-secret.c | 1 + tests/test-crypto-tlscredsx509.c | 4 +--- tests/test-crypto-tlssession.c | 4 +--- tests/test-cutils.c | 3 +-- tests/test-hbitmap.c | 4 +--- tests/test-int128.c | 3 +-- tests/test-io-channel-buffer.c | 1 + tests/test-io-channel-command.c | 1 + tests/test-io-channel-file.c | 1 + tests/test-io-channel-socket.c | 1 + tests/test-io-channel-tls.c | 4 +--- tests/test-io-task.c | 1 + tests/test-iov.c | 1 + tests/test-mul64.c | 3 +-- tests/test-netfilter.c | 1 + tests/test-opts-visitor.c | 1 + tests/test-qdev-global-props.c | 2 +- tests/test-qemu-opts.c | 3 +-- tests/test-qga.c | 9 +-------- tests/test-qmp-commands.c | 1 + tests/test-qmp-event.c | 2 +- tests/test-qmp-input-strict.c | 2 +- tests/test-qmp-input-visitor.c | 2 +- tests/test-qmp-output-visitor.c | 1 + tests/test-rcu-list.c | 6 +----- tests/test-rfifolock.c | 1 + tests/test-string-input-visitor.c | 2 +- tests/test-string-output-visitor.c | 1 + tests/test-thread-pool.c | 1 + tests/test-throttle.c | 1 + tests/test-timed-average.c | 2 +- tests/test-visitor-serialization.c | 3 +-- tests/test-vmstate.c | 1 + tests/test-write-threshold.c | 2 +- tests/test-x86-cpuid.c | 1 + tests/test-xbzrle.c | 6 +----- tests/tmp105-test.c | 1 + tests/tpci200-test.c | 3 +-- tests/vhost-user-bridge.c | 12 +----------- tests/vhost-user-test.c | 1 + tests/virtio-balloon-test.c | 3 +-- tests/virtio-blk-test.c | 5 +---- tests/virtio-console-test.c | 3 +-- tests/virtio-net-test.c | 3 +-- tests/virtio-rng-test.c | 3 +-- tests/virtio-scsi-test.c | 4 +--- tests/virtio-serial-test.c | 3 +-- tests/vmxnet3-test.c | 3 +-- tests/wdt_ib700-test.c | 3 +-- 122 files changed, 123 insertions(+), 204 deletions(-) -- 1.9.1