All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: qemu-devel@nongnu.org
Cc: Markus Armbruster <armbru@redhat.com>, patches@linaro.org
Subject: [Qemu-devel] [PATCH 0/2] tests: clean includes
Date: Mon,  8 Feb 2016 18:49:15 +0000	[thread overview]
Message-ID: <1454957357-22094-1-git-send-email-peter.maydell@linaro.org> (raw)

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

             reply	other threads:[~2016-02-08 18:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-08 18:49 Peter Maydell [this message]
2016-02-08 18:49 ` [Qemu-devel] [PATCH 1/2] tests/i440fx-test: Don't define ARRAY_SIZE locally Peter Maydell
2016-02-08 20:32   ` Eric Blake
2016-02-08 18:49 ` [Qemu-devel] [PATCH 2/2] tests: Clean up includes Peter Maydell
2016-02-08 20:51   ` Eric Blake
2016-02-08 21:16     ` Peter Maydell
2016-02-09 10:54 ` [Qemu-devel] [PATCH 0/2] tests: clean includes Markus Armbruster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1454957357-22094-1-git-send-email-peter.maydell@linaro.org \
    --to=peter.maydell@linaro.org \
    --cc=armbru@redhat.com \
    --cc=patches@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.