tests: Move unit tests into a separate directory
commitda668aa15b99150a8595c491aee00d5d2426aaf9
authorThomas Huth <thuth@redhat.com>
Wed, 10 Mar 2021 06:33:14 +0000 (10 07:33 +0100)
committerThomas Huth <thuth@redhat.com>
Fri, 12 Mar 2021 14:46:30 +0000 (12 15:46 +0100)
tree0463b0a303e807bdab46460f6c702be611bd7179
parent363fc963054d8e82cfd55fa9b9aa130692a8dbd7
tests: Move unit tests into a separate directory

The main tests directory still looks very crowded, and it's not
clear which files are part of a unit tests and which belong to
a different test subsystem. Let's clean up the mess and move the
unit tests to a separate directory.

Message-Id: <20210310063314.1049838-1-thuth@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
106 files changed:
MAINTAINERS
tests/meson.build
tests/unit/check-block-qdict.c [moved from tests/check-block-qdict.c with 100% similarity]
tests/unit/check-qdict.c [moved from tests/check-qdict.c with 100% similarity]
tests/unit/check-qjson.c [moved from tests/check-qjson.c with 100% similarity]
tests/unit/check-qlist.c [moved from tests/check-qlist.c with 100% similarity]
tests/unit/check-qlit.c [moved from tests/check-qlit.c with 100% similarity]
tests/unit/check-qnull.c [moved from tests/check-qnull.c with 100% similarity]
tests/unit/check-qnum.c [moved from tests/check-qnum.c with 100% similarity]
tests/unit/check-qobject.c [moved from tests/check-qobject.c with 100% similarity]
tests/unit/check-qom-interface.c [moved from tests/check-qom-interface.c with 100% similarity]
tests/unit/check-qom-proplist.c [moved from tests/check-qom-proplist.c with 100% similarity]
tests/unit/check-qstring.c [moved from tests/check-qstring.c with 100% similarity]
tests/unit/crypto-tls-psk-helpers.c [moved from tests/crypto-tls-psk-helpers.c with 100% similarity]
tests/unit/crypto-tls-psk-helpers.h [moved from tests/crypto-tls-psk-helpers.h with 100% similarity]
tests/unit/crypto-tls-x509-helpers.c [moved from tests/crypto-tls-x509-helpers.c with 100% similarity]
tests/unit/crypto-tls-x509-helpers.h [moved from tests/crypto-tls-x509-helpers.h with 100% similarity]
tests/unit/io-channel-helpers.c [moved from tests/io-channel-helpers.c with 100% similarity]
tests/unit/io-channel-helpers.h [moved from tests/io-channel-helpers.h with 100% similarity]
tests/unit/iothread.c [moved from tests/iothread.c with 100% similarity]
tests/unit/iothread.h [moved from tests/iothread.h with 100% similarity]
tests/unit/meson.build [copied from tests/meson.build with 59% similarity]
tests/unit/pkix_asn1_tab.c [moved from tests/pkix_asn1_tab.c with 99% similarity]
tests/unit/ptimer-test-stubs.c [moved from tests/ptimer-test-stubs.c with 100% similarity]
tests/unit/ptimer-test.c [moved from tests/ptimer-test.c with 100% similarity]
tests/unit/ptimer-test.h [moved from tests/ptimer-test.h with 100% similarity]
tests/unit/rcutorture.c [moved from tests/rcutorture.c with 100% similarity]
tests/unit/socket-helpers.c [moved from tests/socket-helpers.c with 100% similarity]
tests/unit/socket-helpers.h [moved from tests/socket-helpers.h with 100% similarity]
tests/unit/test-aio-multithread.c [moved from tests/test-aio-multithread.c with 100% similarity]
tests/unit/test-aio.c [moved from tests/test-aio.c with 100% similarity]
tests/unit/test-authz-list.c [moved from tests/test-authz-list.c with 100% similarity]
tests/unit/test-authz-listfile.c [moved from tests/test-authz-listfile.c with 100% similarity]
tests/unit/test-authz-pam.c [moved from tests/test-authz-pam.c with 100% similarity]
tests/unit/test-authz-simple.c [moved from tests/test-authz-simple.c with 100% similarity]
tests/unit/test-base64.c [moved from tests/test-base64.c with 100% similarity]
tests/unit/test-bdrv-drain.c [moved from tests/test-bdrv-drain.c with 100% similarity]
tests/unit/test-bdrv-graph-mod.c [moved from tests/test-bdrv-graph-mod.c with 100% similarity]
tests/unit/test-bitcnt.c [moved from tests/test-bitcnt.c with 100% similarity]
tests/unit/test-bitmap.c [moved from tests/test-bitmap.c with 100% similarity]
tests/unit/test-bitops.c [moved from tests/test-bitops.c with 100% similarity]
tests/unit/test-block-backend.c [moved from tests/test-block-backend.c with 100% similarity]
tests/unit/test-block-iothread.c [moved from tests/test-block-iothread.c with 100% similarity]
tests/unit/test-blockjob-txn.c [moved from tests/test-blockjob-txn.c with 100% similarity]
tests/unit/test-blockjob.c [moved from tests/test-blockjob.c with 100% similarity]
tests/unit/test-bufferiszero.c [moved from tests/test-bufferiszero.c with 100% similarity]
tests/unit/test-char.c [moved from tests/test-char.c with 100% similarity]
tests/unit/test-clone-visitor.c [moved from tests/test-clone-visitor.c with 100% similarity]
tests/unit/test-coroutine.c [moved from tests/test-coroutine.c with 100% similarity]
tests/unit/test-crypto-afsplit.c [moved from tests/test-crypto-afsplit.c with 100% similarity]
tests/unit/test-crypto-block.c [moved from tests/test-crypto-block.c with 100% similarity]
tests/unit/test-crypto-cipher.c [moved from tests/test-crypto-cipher.c with 100% similarity]
tests/unit/test-crypto-hash.c [moved from tests/test-crypto-hash.c with 100% similarity]
tests/unit/test-crypto-hmac.c [moved from tests/test-crypto-hmac.c with 100% similarity]
tests/unit/test-crypto-ivgen.c [moved from tests/test-crypto-ivgen.c with 100% similarity]
tests/unit/test-crypto-pbkdf.c [moved from tests/test-crypto-pbkdf.c with 100% similarity]
tests/unit/test-crypto-secret.c [moved from tests/test-crypto-secret.c with 100% similarity]
tests/unit/test-crypto-tlscredsx509.c [moved from tests/test-crypto-tlscredsx509.c with 100% similarity]
tests/unit/test-crypto-tlssession.c [moved from tests/test-crypto-tlssession.c with 100% similarity]
tests/unit/test-crypto-xts.c [moved from tests/test-crypto-xts.c with 100% similarity]
tests/unit/test-cutils.c [moved from tests/test-cutils.c with 100% similarity]
tests/unit/test-fdmon-epoll.c [moved from tests/test-fdmon-epoll.c with 100% similarity]
tests/unit/test-hbitmap.c [moved from tests/test-hbitmap.c with 100% similarity]
tests/unit/test-image-locking.c [moved from tests/test-image-locking.c with 100% similarity]
tests/unit/test-int128.c [moved from tests/test-int128.c with 100% similarity]
tests/unit/test-io-channel-buffer.c [moved from tests/test-io-channel-buffer.c with 100% similarity]
tests/unit/test-io-channel-command.c [moved from tests/test-io-channel-command.c with 100% similarity]
tests/unit/test-io-channel-file.c [moved from tests/test-io-channel-file.c with 100% similarity]
tests/unit/test-io-channel-socket.c [moved from tests/test-io-channel-socket.c with 100% similarity]
tests/unit/test-io-channel-tls.c [moved from tests/test-io-channel-tls.c with 100% similarity]
tests/unit/test-io-task.c [moved from tests/test-io-task.c with 100% similarity]
tests/unit/test-iov.c [moved from tests/test-iov.c with 100% similarity]
tests/unit/test-keyval.c [moved from tests/test-keyval.c with 100% similarity]
tests/unit/test-logging.c [moved from tests/test-logging.c with 100% similarity]
tests/unit/test-mul64.c [moved from tests/test-mul64.c with 100% similarity]
tests/unit/test-opts-visitor.c [moved from tests/test-opts-visitor.c with 100% similarity]
tests/unit/test-qapi-util.c [moved from tests/test-qapi-util.c with 100% similarity]
tests/unit/test-qdev-global-props.c [moved from tests/test-qdev-global-props.c with 100% similarity]
tests/unit/test-qdist.c [moved from tests/test-qdist.c with 100% similarity]
tests/unit/test-qemu-opts.c [moved from tests/test-qemu-opts.c with 100% similarity]
tests/unit/test-qga.c [moved from tests/test-qga.c with 99% similarity]
tests/unit/test-qgraph.c [moved from tests/test-qgraph.c with 99% similarity]
tests/unit/test-qht.c [moved from tests/test-qht.c with 100% similarity]
tests/unit/test-qmp-cmds.c [moved from tests/test-qmp-cmds.c with 100% similarity]
tests/unit/test-qmp-event.c [moved from tests/test-qmp-event.c with 100% similarity]
tests/unit/test-qobject-input-visitor.c [moved from tests/test-qobject-input-visitor.c with 100% similarity]
tests/unit/test-qobject-output-visitor.c [moved from tests/test-qobject-output-visitor.c with 100% similarity]
tests/unit/test-rcu-list.c [moved from tests/test-rcu-list.c with 100% similarity]
tests/unit/test-rcu-simpleq.c [moved from tests/test-rcu-simpleq.c with 100% similarity]
tests/unit/test-rcu-slist.c [moved from tests/test-rcu-slist.c with 100% similarity]
tests/unit/test-rcu-tailq.c [moved from tests/test-rcu-tailq.c with 100% similarity]
tests/unit/test-replication.c [moved from tests/test-replication.c with 100% similarity]
tests/unit/test-shift128.c [moved from tests/test-shift128.c with 100% similarity]
tests/unit/test-string-input-visitor.c [moved from tests/test-string-input-visitor.c with 100% similarity]
tests/unit/test-string-output-visitor.c [moved from tests/test-string-output-visitor.c with 100% similarity]
tests/unit/test-thread-pool.c [moved from tests/test-thread-pool.c with 100% similarity]
tests/unit/test-throttle.c [moved from tests/test-throttle.c with 100% similarity]
tests/unit/test-timed-average.c [moved from tests/test-timed-average.c with 100% similarity]
tests/unit/test-util-filemonitor.c [moved from tests/test-util-filemonitor.c with 100% similarity]
tests/unit/test-util-sockets.c [moved from tests/test-util-sockets.c with 100% similarity]
tests/unit/test-uuid.c [moved from tests/test-uuid.c with 100% similarity]
tests/unit/test-visitor-serialization.c [moved from tests/test-visitor-serialization.c with 100% similarity]
tests/unit/test-vmstate.c [moved from tests/test-vmstate.c with 100% similarity]
tests/unit/test-write-threshold.c [moved from tests/test-write-threshold.c with 100% similarity]
tests/unit/test-x86-cpuid.c [moved from tests/test-x86-cpuid.c with 100% similarity]
tests/unit/test-xbzrle.c [moved from tests/test-xbzrle.c with 100% similarity]