You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/tests/unit
Peter Maydell 168558ed7b tests: Clean up includes
This commit was created with scripts/clean-includes:
 ./scripts/clean-includes --git tests tests

with one hand-edit to remove a now-empty #ifndef WIN32...#endif
from tests/qtest/dbus-display-test.c .

All .c should include qemu/osdep.h first.  The script performs three
related cleanups:

* Ensure .c files include qemu/osdep.h first.
* Including it in a .h is redundant, since the .c  already includes
  it.  Drop such inclusions.
* Likewise, including headers qemu/osdep.h includes is redundant.
  Drop these, too.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Message-id: 20251104160943.751997-10-peter.maydell@linaro.org
3 weeks ago
..
check-block-qdict.c qapi: Move include/qapi/qmp/ to include/qobject/ 10 months ago
check-qdict.c qapi: Move include/qapi/qmp/ to include/qobject/ 10 months ago
check-qjson.c qapi: Move include/qapi/qmp/ to include/qobject/ 10 months ago
check-qlist.c qapi: Move include/qapi/qmp/ to include/qobject/ 10 months ago
check-qlit.c qapi: Move include/qapi/qmp/ to include/qobject/ 10 months ago
check-qnull.c qapi: Move include/qapi/qmp/ to include/qobject/ 10 months ago
check-qnum.c qapi: Move include/qapi/qmp/ to include/qobject/ 10 months ago
check-qobject.c qapi: Move include/qapi/qmp/ to include/qobject/ 10 months ago
check-qom-interface.c qom: Make InterfaceInfo[] uses const 7 months ago
check-qom-proplist.c qom: Make InterfaceInfo[] uses const 7 months ago
check-qstring.c qapi: Move include/qapi/qmp/ to include/qobject/ 10 months ago
crypto-tls-psk-helpers.c crypto: Remove 'crypto-tls-x509-helpers.h' from crypto-tls-psk-helpers.c 1 year ago
crypto-tls-psk-helpers.h
crypto-tls-x509-helpers.c tests/unit/crypto-tls-x509-helpers: deinit privkey in test_tls_cleanup 1 year ago
crypto-tls-x509-helpers.h crypto: stop requiring "key encipherment" usage in x509 certs 1 month ago
io-channel-helpers.c treewide: handle result of qio_channel_set_blocking() 3 months ago
io-channel-helpers.h
iothread.c
iothread.h
meson.build crypto: drop in-tree XTS cipher mode impl 1 month ago
pkix_asn1_tab.c.inc crypto: Restrict pkix_asn1_tab[] to crypto-tls-x509-helpers.c 1 year ago
ptimer-test-stubs.c async: Add an optional reentrancy guard to the BH API 3 years ago
ptimer-test.c hw/core/ptimer: fix timer zero period condition for freq > 1GHz 1 year ago
ptimer-test.h
rcutorture.c Updated the FSF address to <https://www.gnu.org/licenses/> 3 years ago
socket-helpers.c util: drop qemu_socket_set_nonblock() 3 months ago
socket-helpers.h
test-aio-multithread.c timers: properly prefix init_clocks() 1 month ago
test-aio.c aio-posix: integrate fdmon into glib event loop 3 weeks ago
test-authz-list.c
test-authz-listfile.c
test-authz-pam.c
test-authz-simple.c
test-base64.c
test-bdrv-drain.c block: drop wrapper for bdrv_set_backing_hd_drained() 5 months ago
test-bdrv-graph-mod.c block: drop wrapper for bdrv_set_backing_hd_drained() 5 months ago
test-bitcnt.c
test-bitmap.c
test-bitops.c
test-block-backend.c include: Rename sysemu/ -> system/ 12 months ago
test-block-iothread.c mirror: Drop redundant zero_target parameter 7 months ago
test-blockjob-txn.c qapi: Move include/qapi/qmp/ to include/qobject/ 10 months ago
test-blockjob.c qapi: Move include/qapi/qmp/ to include/qobject/ 10 months ago
test-bufferiszero.c
test-char.c char: rename CharBackend->CharFrontend 1 month ago
test-clone-visitor.c
test-coroutine.c tests/coroutine: Clean up global variable shadowing 2 years ago
test-crypto-afsplit.c qapi/crypto: Rename QCryptoHashAlgorithm to *Algo, and drop prefix 1 year ago
test-crypto-akcipher.c qapi/crypto: Rename QCryptoRSAPaddingAlgorithm to *Algo, and drop prefix 1 year ago
test-crypto-block.c crypto: bump min gnutls to 3.7.5 1 month ago
test-crypto-cipher.c tests: fix skipping cipher tests when AES is not available 7 months ago
test-crypto-der.c
test-crypto-hash.c crypto: Introduce SM3 hash hmac pbkdf algorithm 1 year ago
test-crypto-hmac.c crypto: Introduce SM3 hash hmac pbkdf algorithm 1 year ago
test-crypto-ivgen.c qapi/crypto: Rename QCryptoIVGenAlgorithm to *Algo, and drop prefix 1 year ago
test-crypto-pbkdf.c crypto: Introduce SM3 hash hmac pbkdf algorithm 1 year ago
test-crypto-secret.c tests: skip encrypted secret tests if AES is not available 7 months ago
test-crypto-tlscredsx509.c crypto: avoid loading the identity certs twice 1 month ago
test-crypto-tlssession.c io/channel: Have read/write functions take void * buffer argument 1 month ago
test-cutils.c tests: Clean up includes 3 weeks ago
test-div128.c
test-error-report.c tests: Clean up includes 3 weeks ago
test-fifo.c tests/unit: Comment FIFO8 tests 1 year ago
test-forward-visitor.c qapi: Move include/qapi/qmp/ to include/qobject/ 10 months ago
test-hbitmap.c
test-image-locking.c qapi: Move include/qapi/qmp/ to include/qobject/ 10 months ago
test-int128.c
test-interval-tree.c util: Add interval-tree.c 3 years ago
test-io-channel-buffer.c
test-io-channel-command.c tests: Clean up includes 3 weeks ago
test-io-channel-file.c
test-io-channel-null.c
test-io-channel-socket.c tests/unit: Add a assert for test_io_channel_unix_listen_cleanup 1 year ago
test-io-channel-tls.c crypto: stop requiring "key encipherment" usage in x509 certs 1 month ago
test-io-task.c tests/unit/test-io-task: Rename "qemu:dummy" to avoid colon in the name 2 years ago
test-iov.c treewide: use qemu_set_blocking instead of g_unix_set_fd_nonblocking 3 months ago
test-keyval.c qapi: Move include/qapi/qmp/ to include/qobject/ 10 months ago
test-logging.c
test-mul64.c
test-nested-aio-poll.c tests/unit: skip test-nested-aio-poll with io_uring 3 weeks ago
test-opts-visitor.c
test-qapi-util.c
test-qdev-global-props.c qom: Have class_init() take a const data argument 7 months ago
test-qdist.c
test-qemu-opts.c qapi: Move include/qapi/qmp/ to include/qobject/ 10 months ago
test-qga.c qga: Add tests for guest-get-load command 6 months ago
test-qgraph.c cleanup: Drop pointless return at end of function 8 months ago
test-qht.c
test-qmp-cmds.c qapi: Move include/qapi/qmp/ to include/qobject/ 10 months ago
test-qmp-event.c qapi: Move include/qapi/qmp/ to include/qobject/ 10 months ago
test-qobject-input-visitor.c qapi: Move include/qapi/qmp/ to include/qobject/ 10 months ago
test-qobject-output-visitor.c qapi: Move include/qapi/qmp/ to include/qobject/ 10 months ago
test-qtree.c util: import GTree as QTree 3 years ago
test-rcu-list.c replace TABs with spaces 3 years ago
test-rcu-simpleq.c
test-rcu-slist.c
test-rcu-tailq.c
test-replication.c qapi: Move include/qapi/qmp/ to include/qobject/ 10 months ago
test-resv-mem.c include/system: Move exec/memory.h to system/memory.h 8 months ago
test-seccomp.c include: Rename sysemu/ -> system/ 12 months ago
test-shift128.c
test-smp-parse.c qom: Have class_init() take a const data argument 7 months ago
test-string-input-visitor.c
test-string-output-visitor.c
test-thread-pool.c thread-pool: Remove thread_pool_submit() function 9 months ago
test-throttle.c include: Rename sysemu/ -> system/ 12 months ago
test-timed-average.c include: Rename sysemu/ -> system/ 12 months ago
test-util-filemonitor.c test-util-filemonitor: Adapt to the FreeBSD inotify rename semantics 2 years ago
test-util-sockets.c tests/unit/test-util-sockets: fix mem-leak on error object 6 months ago
test-uuid.c util/uuid: Add UUID_STR_LEN definition 2 years ago
test-virtio-dmabuf.c hw/display: introduce virtio-dmabuf 2 years ago
test-visitor-serialization.c qapi: Move include/qapi/qmp/ to include/qobject/ 10 months ago
test-vmstate.c migration: Remove error variant of vmstate_save_state() function 2 months ago
test-write-threshold.c
test-x86-topo.c tests: Add test case of APIC ID for module level parsing 2 years ago
test-xbzrle.c migration/xbzrle: Use i386 host/cpuinfo.h 3 years ago
test-xs-node.c tests/unit: replace assert(0) with g_assert_not_reached() 1 year ago
test-yank.c char: rename CharBackend->CharFrontend 1 month ago