Skip to content

Commit

Permalink
tests: Move unit tests into a separate directory
Browse files Browse the repository at this point in the history
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: <[email protected]>
Acked-by: Paolo Bonzini <[email protected]>
Signed-off-by: Thomas Huth <[email protected]>
  • Loading branch information
huth committed Mar 12, 2021
1 parent 363fc96 commit da668aa
Show file tree
Hide file tree
Showing 106 changed files with 223 additions and 219 deletions.
68 changes: 34 additions & 34 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -1537,7 +1537,7 @@ F: include/hw/southbridge/piix.h
F: hw/misc/sga.c
F: hw/isa/apm.c
F: include/hw/isa/apm.h
F: tests/test-x86-cpuid.c
F: tests/unit/test-x86-cpuid.c
F: tests/qtest/test-x86-cpuid-compat.c

PC Chipset
Expand Down Expand Up @@ -2212,7 +2212,7 @@ F: qemu-io*
F: tests/qemu-iotests/
F: util/qemu-progress.c
F: qobject/block-qdict.c
F: tests/check-block-qdict.c
F: tests/unit/check-block-qdict.c
T: git https://repo.or.cz/qemu/kevin.git block

Storage daemon
Expand All @@ -2238,7 +2238,7 @@ F: migration/block*
F: include/block/aio.h
F: include/block/aio-wait.h
F: scripts/qemugdb/aio.py
F: tests/test-fdmon-epoll.c
F: tests/unit/test-fdmon-epoll.c
T: git https://github.com/stefanha/qemu.git block

Block SCSI subsystem
Expand Down Expand Up @@ -2298,7 +2298,7 @@ F: block/dirty-bitmap.c
F: block/qcow2-bitmap.c
F: migration/block-dirty-bitmap.c
F: util/hbitmap.c
F: tests/test-hbitmap.c
F: tests/unit/test-hbitmap.c
F: docs/interop/bitmaps.rst
T: git https://repo.or.cz/qemu/ericb.git bitmaps

Expand All @@ -2319,8 +2319,8 @@ Command line option argument parsing
M: Markus Armbruster <[email protected]>
S: Supported
F: include/qemu/option.h
F: tests/test-keyval.c
F: tests/test-qemu-opts.c
F: tests/unit/test-keyval.c
F: tests/unit/test-qemu-opts.c
F: util/keyval.c
F: util/qemu-option.c

Expand Down Expand Up @@ -2438,8 +2438,8 @@ Read, Copy, Update (RCU)
M: Paolo Bonzini <[email protected]>
S: Maintained
F: include/qemu/rcu*.h
F: tests/rcutorture.c
F: tests/test-rcu-*.c
F: tests/unit/rcutorture.c
F: tests/unit/test-rcu-*.c
F: util/rcu.c

Human Monitor (HMP)
Expand Down Expand Up @@ -2517,10 +2517,10 @@ F: include/qapi/
X: include/qapi/qmp/
F: include/qapi/qmp/dispatch.h
F: tests/qapi-schema/
F: tests/test-*-visitor.c
F: tests/test-qapi-*.c
F: tests/test-qmp-*.c
F: tests/test-visitor-serialization.c
F: tests/unit/test-*-visitor.c
F: tests/unit/test-qapi-*.c
F: tests/unit/test-qmp-*.c
F: tests/unit/test-visitor-serialization.c
F: scripts/qapi-gen.py
F: scripts/qapi/*
F: docs/sphinx/qapidoc.py
Expand All @@ -2541,14 +2541,14 @@ F: qobject/
F: include/qapi/qmp/
X: include/qapi/qmp/dispatch.h
F: scripts/coccinelle/qobject.cocci
F: tests/check-qdict.c
F: tests/check-qjson.c
F: tests/check-qlist.c
F: tests/check-qlit.c
F: tests/check-qnull.c
F: tests/check-qnum.c
F: tests/check-qobject.c
F: tests/check-qstring.c
F: tests/unit/check-qdict.c
F: tests/unit/check-qjson.c
F: tests/unit/check-qlist.c
F: tests/unit/check-qlit.c
F: tests/unit/check-qnull.c
F: tests/unit/check-qnum.c
F: tests/unit/check-qobject.c
F: tests/unit/check-qstring.c
F: tests/data/qobject/qdict.txt
T: git https://repo.or.cz/qemu/armbru.git qapi-next

Expand All @@ -2559,7 +2559,7 @@ F: qga/
F: docs/interop/qemu-ga.rst
F: docs/interop/qemu-ga-ref.rst
F: scripts/qemu-guest-agent/
F: tests/test-qga.c
F: tests/unit/test-qga.c
T: git https://github.com/mdroth/qemu.git qga

QOM
Expand All @@ -2580,9 +2580,9 @@ F: scripts/coccinelle/qom-parent-type.cocci
F: softmmu/qdev-monitor.c
F: stubs/qdev.c
F: qom/
F: tests/check-qom-interface.c
F: tests/check-qom-proplist.c
F: tests/test-qdev-global-props.c
F: tests/unit/check-qom-interface.c
F: tests/unit/check-qom-proplist.c
F: tests/unit/test-qdev-global-props.c

QOM boilerplate conversion script
M: Eduardo Habkost <[email protected]>
Expand Down Expand Up @@ -2721,10 +2721,10 @@ S: Maintained
F: crypto/
F: include/crypto/
F: qapi/crypto.json
F: tests/test-crypto-*
F: tests/unit/test-crypto-*
F: tests/benchmark-crypto-*
F: tests/crypto-tls-*
F: tests/pkix_asn1_tab.c
F: tests/unit/crypto-tls-*
F: tests/unit/pkix_asn1_tab.c
F: qemu.sasl

Coroutines
Expand All @@ -2733,7 +2733,7 @@ M: Kevin Wolf <[email protected]>
S: Maintained
F: util/*coroutine*
F: include/qemu/coroutine*
F: tests/test-coroutine.c
F: tests/unit/test-coroutine.c

Buffers
M: Daniel P. Berrange <[email protected]>
Expand All @@ -2746,15 +2746,15 @@ M: Daniel P. Berrange <[email protected]>
S: Maintained
F: io/
F: include/io/
F: tests/test-io-*
F: tests/unit/test-io-*

User authorization
M: Daniel P. Berrange <[email protected]>
S: Maintained
F: authz/
F: qapi/authz.json
F: include/authz/
F: tests/test-authz-*
F: tests/unit/test-authz-*

Sockets
M: Daniel P. Berrange <[email protected]>
Expand All @@ -2769,7 +2769,7 @@ M: Daniel P. Berrange <[email protected]>
S: Odd Fixes
F: util/filemonitor*.c
F: include/qemu/filemonitor.h
F: tests/test-util-filemonitor.c
F: tests/unit/test-util-filemonitor.c

Throttling infrastructure
M: Alberto Garcia <[email protected]>
Expand All @@ -2779,15 +2779,15 @@ F: include/block/throttle-groups.h
F: include/qemu/throttle*.h
F: util/throttle.c
F: docs/throttle.txt
F: tests/test-throttle.c
F: tests/unit/test-throttle.c
L: [email protected]

UUID
M: Fam Zheng <[email protected]>
S: Supported
F: util/uuid.c
F: include/qemu/uuid.h
F: tests/test-uuid.c
F: tests/unit/test-uuid.c

Yank feature
M: Lukas Straub <[email protected]>
Expand Down Expand Up @@ -3237,7 +3237,7 @@ M: Xie Changlong <[email protected]>
S: Supported
F: replication*
F: block/replication.c
F: tests/test-replication.c
F: tests/unit/test-replication.c
F: docs/block-replication.txt

PVRDMA
Expand Down
Loading

0 comments on commit da668aa

Please sign in to comment.