]>
Commit | Line | Data |
---|---|---|
833884f3 TH |
1 | # All QTests for now are POSIX-only, but the dependencies are |
2 | # really in libqtest, not in the testcases themselves. | |
3 | ||
4 | check-qtest-generic-y += cdrom-test | |
5 | check-qtest-generic-y += device-introspect-test | |
6 | check-qtest-generic-y += machine-none-test | |
7 | check-qtest-generic-y += qmp-test | |
8 | check-qtest-generic-y += qmp-cmd-test | |
9 | check-qtest-generic-y += qom-test | |
10 | check-qtest-generic-$(CONFIG_MODULES) += modules-test | |
11 | check-qtest-generic-y += test-hmp | |
12 | ||
13 | check-qtest-pci-$(CONFIG_RTL8139_PCI) += rtl8139-test | |
14 | check-qtest-pci-$(CONFIG_VGA) += display-vga-test | |
15 | check-qtest-pci-$(CONFIG_HDA) += intel-hda-test | |
16 | check-qtest-pci-$(CONFIG_IVSHMEM_DEVICE) += ivshmem-test | |
17 | ||
18 | DBUS_DAEMON := $(shell which dbus-daemon 2>/dev/null) | |
19 | ifneq ($(GDBUS_CODEGEN),) | |
20 | ifneq ($(DBUS_DAEMON),) | |
21 | check-qtest-pci-$(CONFIG_GIO) += dbus-vmstate-test | |
22 | endif | |
23 | endif | |
24 | ||
25 | check-qtest-i386-$(CONFIG_ISA_TESTDEV) = endianness-test | |
26 | check-qtest-i386-y += fdc-test | |
27 | check-qtest-i386-y += ide-test | |
28 | check-qtest-i386-$(CONFIG_TOOLS) += ahci-test | |
29 | check-qtest-i386-y += hd-geo-test | |
30 | check-qtest-i386-y += boot-order-test | |
31 | check-qtest-i386-y += bios-tables-test | |
32 | check-qtest-i386-$(CONFIG_SGA) += boot-serial-test | |
33 | check-qtest-i386-$(CONFIG_SLIRP) += pxe-test | |
34 | check-qtest-i386-y += rtc-test | |
35 | check-qtest-i386-$(CONFIG_ISA_IPMI_KCS) += ipmi-kcs-test | |
36 | ifdef CONFIG_LINUX | |
37 | check-qtest-i386-$(CONFIG_ISA_IPMI_BT) += ipmi-bt-test | |
38 | endif | |
39 | check-qtest-i386-y += i440fx-test | |
40 | check-qtest-i386-y += fw_cfg-test | |
41 | check-qtest-i386-y += device-plug-test | |
42 | check-qtest-i386-y += drive_del-test | |
43 | check-qtest-i386-$(CONFIG_WDT_IB700) += wdt_ib700-test | |
44 | check-qtest-i386-y += tco-test | |
45 | check-qtest-i386-y += $(check-qtest-pci-y) | |
46 | check-qtest-i386-$(CONFIG_PVPANIC) += pvpanic-test | |
47 | check-qtest-i386-$(CONFIG_I82801B11) += i82801b11-test | |
48 | check-qtest-i386-$(CONFIG_IOH3420) += ioh3420-test | |
49 | check-qtest-i386-$(CONFIG_USB_UHCI) += usb-hcd-uhci-test | |
50 | check-qtest-i386-$(call land,$(CONFIG_USB_EHCI),$(CONFIG_USB_UHCI)) += usb-hcd-ehci-test | |
51 | check-qtest-i386-$(CONFIG_USB_XHCI_NEC) += usb-hcd-xhci-test | |
52 | check-qtest-i386-y += cpu-plug-test | |
53 | check-qtest-i386-y += q35-test | |
54 | check-qtest-i386-y += vmgenid-test | |
55 | check-qtest-i386-$(CONFIG_TPM_CRB) += tpm-crb-swtpm-test | |
56 | check-qtest-i386-$(CONFIG_TPM_CRB) += tpm-crb-test | |
57 | check-qtest-i386-$(CONFIG_TPM_TIS) += tpm-tis-swtpm-test | |
58 | check-qtest-i386-$(CONFIG_TPM_TIS) += tpm-tis-test | |
59 | check-qtest-i386-$(CONFIG_SLIRP) += test-netfilter | |
60 | check-qtest-i386-$(CONFIG_POSIX) += test-filter-mirror | |
61 | check-qtest-i386-$(CONFIG_RTL8139_PCI) += test-filter-redirector | |
62 | check-qtest-i386-y += migration-test | |
63 | check-qtest-i386-y += test-x86-cpuid-compat | |
64 | check-qtest-i386-y += numa-test | |
65 | ||
66 | check-qtest-x86_64-y += $(check-qtest-i386-y) | |
67 | ||
68 | check-qtest-alpha-y += boot-serial-test | |
69 | check-qtest-alpha-$(CONFIG_VGA) += display-vga-test | |
70 | ||
71 | check-qtest-hppa-y += boot-serial-test | |
72 | check-qtest-hppa-$(CONFIG_VGA) += display-vga-test | |
73 | ||
74 | check-qtest-m68k-y = boot-serial-test | |
75 | ||
76 | check-qtest-microblaze-y += boot-serial-test | |
77 | ||
78 | check-qtest-mips-$(CONFIG_ISA_TESTDEV) = endianness-test | |
79 | check-qtest-mips-$(CONFIG_VGA) += display-vga-test | |
80 | ||
81 | check-qtest-mips64-$(CONFIG_ISA_TESTDEV) = endianness-test | |
82 | check-qtest-mips64-$(CONFIG_VGA) += display-vga-test | |
83 | ||
84 | check-qtest-mips64el-$(CONFIG_ISA_TESTDEV) = endianness-test | |
85 | check-qtest-mips64el-$(CONFIG_VGA) += display-vga-test | |
86 | ||
87 | check-qtest-moxie-y += boot-serial-test | |
88 | ||
89 | check-qtest-ppc-$(CONFIG_ISA_TESTDEV) = endianness-test | |
90 | check-qtest-ppc-y += boot-order-test | |
91 | check-qtest-ppc-y += prom-env-test | |
92 | check-qtest-ppc-y += drive_del-test | |
93 | check-qtest-ppc-y += boot-serial-test | |
94 | check-qtest-ppc-$(CONFIG_M48T59) += m48t59-test | |
95 | ||
96 | check-qtest-ppc64-y += $(check-qtest-ppc-y) | |
97 | check-qtest-ppc64-$(CONFIG_PSERIES) += device-plug-test | |
98 | check-qtest-ppc64-$(CONFIG_POWERNV) += pnv-xscom-test | |
99 | check-qtest-ppc64-y += migration-test | |
100 | check-qtest-ppc64-$(CONFIG_PSERIES) += rtas-test | |
101 | check-qtest-ppc64-$(CONFIG_SLIRP) += pxe-test | |
102 | check-qtest-ppc64-$(CONFIG_USB_UHCI) += usb-hcd-uhci-test | |
103 | check-qtest-ppc64-$(CONFIG_USB_XHCI_NEC) += usb-hcd-xhci-test | |
104 | check-qtest-ppc64-$(CONFIG_SLIRP) += test-netfilter | |
105 | check-qtest-ppc64-$(CONFIG_POSIX) += test-filter-mirror | |
106 | check-qtest-ppc64-$(CONFIG_RTL8139_PCI) += test-filter-redirector | |
107 | check-qtest-ppc64-$(CONFIG_VGA) += display-vga-test | |
108 | check-qtest-ppc64-y += numa-test | |
109 | check-qtest-ppc64-$(CONFIG_IVSHMEM_DEVICE) += ivshmem-test | |
110 | check-qtest-ppc64-y += cpu-plug-test | |
111 | ||
112 | check-qtest-sh4-$(CONFIG_ISA_TESTDEV) = endianness-test | |
113 | ||
114 | check-qtest-sh4eb-$(CONFIG_ISA_TESTDEV) = endianness-test | |
115 | ||
116 | check-qtest-sparc-y += prom-env-test | |
117 | check-qtest-sparc-y += m48t59-test | |
118 | check-qtest-sparc-y += boot-serial-test | |
119 | ||
120 | check-qtest-sparc64-$(CONFIG_ISA_TESTDEV) = endianness-test | |
121 | check-qtest-sparc64-y += prom-env-test | |
122 | check-qtest-sparc64-y += boot-serial-test | |
123 | ||
124 | check-qtest-arm-y += arm-cpu-features | |
125 | check-qtest-arm-y += microbit-test | |
126 | check-qtest-arm-y += m25p80-test | |
127 | check-qtest-arm-y += test-arm-mptimer | |
128 | check-qtest-arm-y += boot-serial-test | |
129 | check-qtest-arm-y += hexloader-test | |
130 | check-qtest-arm-$(CONFIG_PFLASH_CFI02) += pflash-cfi02-test | |
131 | ||
132 | check-qtest-aarch64-y += arm-cpu-features | |
133 | check-qtest-aarch64-y += numa-test | |
134 | check-qtest-aarch64-y += boot-serial-test | |
135 | check-qtest-aarch64-y += migration-test | |
136 | ||
137 | # TODO: once aarch64 TCG is fixed on ARM 32 bit host, make test unconditional | |
138 | ifneq ($(ARCH),arm) | |
139 | check-qtest-aarch64-y += bios-tables-test | |
140 | endif | |
141 | ||
142 | check-qtest-microblazeel-y += $(check-qtest-microblaze-y) | |
143 | ||
144 | check-qtest-xtensaeb-y += $(check-qtest-xtensa-y) | |
145 | ||
146 | check-qtest-s390x-y = boot-serial-test | |
147 | check-qtest-s390x-$(CONFIG_SLIRP) += pxe-test | |
148 | check-qtest-s390x-$(CONFIG_SLIRP) += test-netfilter | |
149 | check-qtest-s390x-$(CONFIG_POSIX) += test-filter-mirror | |
150 | check-qtest-s390x-$(CONFIG_POSIX) += test-filter-redirector | |
151 | check-qtest-s390x-y += drive_del-test | |
152 | check-qtest-s390x-y += device-plug-test | |
153 | check-qtest-s390x-y += virtio-ccw-test | |
154 | check-qtest-s390x-y += cpu-plug-test | |
155 | check-qtest-s390x-y += migration-test | |
156 | ||
157 | # libqos / qgraph : | |
1cf4323e TH |
158 | libqgraph-obj-y = tests/qtest/libqos/qgraph.o |
159 | ||
160 | libqos-obj-y = $(libqgraph-obj-y) tests/qtest/libqos/pci.o tests/qtest/libqos/fw_cfg.o | |
161 | libqos-obj-y += tests/qtest/libqos/malloc.o | |
162 | libqos-obj-y += tests/qtest/libqos/libqos.o | |
163 | libqos-spapr-obj-y = $(libqos-obj-y) tests/qtest/libqos/malloc-spapr.o | |
164 | libqos-spapr-obj-y += tests/qtest/libqos/libqos-spapr.o | |
165 | libqos-spapr-obj-y += tests/qtest/libqos/rtas.o | |
166 | libqos-spapr-obj-y += tests/qtest/libqos/pci-spapr.o | |
167 | libqos-pc-obj-y = $(libqos-obj-y) tests/qtest/libqos/pci-pc.o | |
168 | libqos-pc-obj-y += tests/qtest/libqos/malloc-pc.o tests/qtest/libqos/libqos-pc.o | |
169 | libqos-pc-obj-y += tests/qtest/libqos/ahci.o | |
170 | libqos-usb-obj-y = $(libqos-spapr-obj-y) $(libqos-pc-obj-y) tests/qtest/libqos/usb.o | |
833884f3 TH |
171 | |
172 | # qos devices: | |
173 | qos-test-obj-y = tests/qtest/qos-test.o $(libqgraph-obj-y) | |
174 | qos-test-obj-y += $(libqos-pc-obj-y) $(libqos-spapr-obj-y) | |
1cf4323e TH |
175 | qos-test-obj-y += tests/qtest/libqos/e1000e.o |
176 | qos-test-obj-y += tests/qtest/libqos/i2c.o | |
177 | qos-test-obj-y += tests/qtest/libqos/i2c-imx.o | |
178 | qos-test-obj-y += tests/qtest/libqos/i2c-omap.o | |
179 | qos-test-obj-y += tests/qtest/libqos/sdhci.o | |
180 | qos-test-obj-y += tests/qtest/libqos/tpci200.o | |
181 | qos-test-obj-y += tests/qtest/libqos/virtio.o | |
182 | qos-test-obj-$(CONFIG_VIRTFS) += tests/qtest/libqos/virtio-9p.o | |
183 | qos-test-obj-y += tests/qtest/libqos/virtio-balloon.o | |
184 | qos-test-obj-y += tests/qtest/libqos/virtio-blk.o | |
185 | qos-test-obj-y += tests/qtest/libqos/virtio-mmio.o | |
186 | qos-test-obj-y += tests/qtest/libqos/virtio-net.o | |
187 | qos-test-obj-y += tests/qtest/libqos/virtio-pci.o | |
188 | qos-test-obj-y += tests/qtest/libqos/virtio-pci-modern.o | |
189 | qos-test-obj-y += tests/qtest/libqos/virtio-rng.o | |
190 | qos-test-obj-y += tests/qtest/libqos/virtio-scsi.o | |
191 | qos-test-obj-y += tests/qtest/libqos/virtio-serial.o | |
833884f3 TH |
192 | |
193 | # qos machines: | |
1cf4323e TH |
194 | qos-test-obj-y += tests/qtest/libqos/aarch64-xlnx-zcu102-machine.o |
195 | qos-test-obj-y += tests/qtest/libqos/arm-imx25-pdk-machine.o | |
196 | qos-test-obj-y += tests/qtest/libqos/arm-n800-machine.o | |
197 | qos-test-obj-y += tests/qtest/libqos/arm-raspi2-machine.o | |
198 | qos-test-obj-y += tests/qtest/libqos/arm-sabrelite-machine.o | |
199 | qos-test-obj-y += tests/qtest/libqos/arm-smdkc210-machine.o | |
200 | qos-test-obj-y += tests/qtest/libqos/arm-virt-machine.o | |
201 | qos-test-obj-y += tests/qtest/libqos/arm-xilinx-zynq-a9-machine.o | |
202 | qos-test-obj-y += tests/qtest/libqos/ppc64_pseries-machine.o | |
203 | qos-test-obj-y += tests/qtest/libqos/x86_64_pc-machine.o | |
833884f3 TH |
204 | |
205 | # qos tests: | |
206 | qos-test-obj-y += tests/qtest/ac97-test.o | |
207 | qos-test-obj-y += tests/qtest/ds1338-test.o | |
208 | qos-test-obj-y += tests/qtest/e1000-test.o | |
209 | qos-test-obj-y += tests/qtest/e1000e-test.o | |
210 | qos-test-obj-y += tests/qtest/eepro100-test.o | |
211 | qos-test-obj-y += tests/qtest/es1370-test.o | |
212 | qos-test-obj-y += tests/qtest/ipoctal232-test.o | |
213 | qos-test-obj-y += tests/qtest/megasas-test.o | |
214 | qos-test-obj-y += tests/qtest/ne2000-test.o | |
215 | qos-test-obj-y += tests/qtest/nvme-test.o | |
216 | qos-test-obj-y += tests/qtest/pca9552-test.o | |
217 | qos-test-obj-y += tests/qtest/pci-test.o | |
218 | qos-test-obj-y += tests/qtest/pcnet-test.o | |
219 | qos-test-obj-y += tests/qtest/sdhci-test.o | |
220 | qos-test-obj-y += tests/qtest/spapr-phb-test.o | |
221 | qos-test-obj-y += tests/qtest/tmp105-test.o | |
222 | qos-test-obj-y += tests/qtest/usb-hcd-ohci-test.o $(libqos-usb-obj-y) | |
223 | qos-test-obj-$(CONFIG_VHOST_NET_USER) += tests/qtest/vhost-user-test.o $(chardev-obj-y) $(test-io-obj-y) | |
224 | qos-test-obj-y += tests/qtest/virtio-test.o | |
225 | qos-test-obj-$(CONFIG_VIRTFS) += tests/qtest/virtio-9p-test.o | |
226 | qos-test-obj-y += tests/qtest/virtio-blk-test.o | |
227 | qos-test-obj-y += tests/qtest/virtio-net-test.o | |
228 | qos-test-obj-y += tests/qtest/virtio-rng-test.o | |
229 | qos-test-obj-y += tests/qtest/virtio-scsi-test.o | |
230 | qos-test-obj-y += tests/qtest/virtio-serial-test.o | |
231 | qos-test-obj-y += tests/qtest/vmxnet3-test.o | |
232 | ||
233 | check-unit-y += tests/test-qgraph$(EXESUF) | |
234 | tests/test-qgraph$(EXESUF): tests/test-qgraph.o $(libqgraph-obj-y) | |
235 | ||
236 | check-qtest-generic-y += qos-test | |
237 | tests/qtest/qos-test$(EXESUF): $(qos-test-obj-y) | |
238 | ||
239 | # QTest dependencies: | |
240 | tests/qtest/qmp-test$(EXESUF): tests/qtest/qmp-test.o | |
241 | tests/qtest/qmp-cmd-test$(EXESUF): tests/qtest/qmp-cmd-test.o | |
242 | tests/qtest/device-introspect-test$(EXESUF): tests/qtest/device-introspect-test.o | |
243 | tests/qtest/rtc-test$(EXESUF): tests/qtest/rtc-test.o | |
244 | tests/qtest/m48t59-test$(EXESUF): tests/qtest/m48t59-test.o | |
245 | tests/qtest/hexloader-test$(EXESUF): tests/qtest/hexloader-test.o | |
246 | tests/qtest/pflash-cfi02$(EXESUF): tests/qtest/pflash-cfi02-test.o | |
247 | tests/qtest/endianness-test$(EXESUF): tests/qtest/endianness-test.o | |
248 | tests/qtest/prom-env-test$(EXESUF): tests/qtest/prom-env-test.o $(libqos-obj-y) | |
249 | tests/qtest/rtas-test$(EXESUF): tests/qtest/rtas-test.o $(libqos-spapr-obj-y) | |
250 | tests/qtest/fdc-test$(EXESUF): tests/qtest/fdc-test.o | |
251 | tests/qtest/ide-test$(EXESUF): tests/qtest/ide-test.o $(libqos-pc-obj-y) | |
252 | tests/qtest/ahci-test$(EXESUF): tests/qtest/ahci-test.o $(libqos-pc-obj-y) qemu-img$(EXESUF) | |
253 | tests/qtest/ipmi-kcs-test$(EXESUF): tests/qtest/ipmi-kcs-test.o | |
254 | tests/qtest/ipmi-bt-test$(EXESUF): tests/qtest/ipmi-bt-test.o | |
255 | tests/qtest/hd-geo-test$(EXESUF): tests/qtest/hd-geo-test.o $(libqos-obj-y) | |
256 | tests/qtest/boot-order-test$(EXESUF): tests/qtest/boot-order-test.o $(libqos-obj-y) | |
257 | tests/qtest/boot-serial-test$(EXESUF): tests/qtest/boot-serial-test.o $(libqos-obj-y) | |
258 | tests/qtest/bios-tables-test$(EXESUF): tests/qtest/bios-tables-test.o \ | |
259 | tests/qtest/boot-sector.o tests/qtest/acpi-utils.o $(libqos-obj-y) | |
260 | tests/qtest/pxe-test$(EXESUF): tests/qtest/pxe-test.o tests/qtest/boot-sector.o $(libqos-obj-y) | |
261 | tests/qtest/microbit-test$(EXESUF): tests/qtest/microbit-test.o | |
262 | tests/qtest/m25p80-test$(EXESUF): tests/qtest/m25p80-test.o | |
263 | tests/qtest/i440fx-test$(EXESUF): tests/qtest/i440fx-test.o $(libqos-pc-obj-y) | |
264 | tests/qtest/q35-test$(EXESUF): tests/qtest/q35-test.o $(libqos-pc-obj-y) | |
265 | tests/qtest/fw_cfg-test$(EXESUF): tests/qtest/fw_cfg-test.o $(libqos-pc-obj-y) | |
266 | tests/qtest/rtl8139-test$(EXESUF): tests/qtest/rtl8139-test.o $(libqos-pc-obj-y) | |
267 | tests/qtest/pnv-xscom-test$(EXESUF): tests/qtest/pnv-xscom-test.o | |
268 | tests/qtest/wdt_ib700-test$(EXESUF): tests/qtest/wdt_ib700-test.o | |
269 | tests/qtest/tco-test$(EXESUF): tests/qtest/tco-test.o $(libqos-pc-obj-y) | |
270 | tests/qtest/virtio-ccw-test$(EXESUF): tests/qtest/virtio-ccw-test.o | |
271 | tests/qtest/display-vga-test$(EXESUF): tests/qtest/display-vga-test.o | |
272 | tests/qtest/qom-test$(EXESUF): tests/qtest/qom-test.o | |
273 | tests/qtest/test-hmp$(EXESUF): tests/qtest/test-hmp.o | |
274 | tests/qtest/machine-none-test$(EXESUF): tests/qtest/machine-none-test.o | |
275 | tests/qtest/device-plug-test$(EXESUF): tests/qtest/device-plug-test.o | |
276 | tests/qtest/drive_del-test$(EXESUF): tests/qtest/drive_del-test.o | |
277 | tests/qtest/pvpanic-test$(EXESUF): tests/qtest/pvpanic-test.o | |
278 | tests/qtest/i82801b11-test$(EXESUF): tests/qtest/i82801b11-test.o | |
279 | tests/qtest/intel-hda-test$(EXESUF): tests/qtest/intel-hda-test.o | |
280 | tests/qtest/ioh3420-test$(EXESUF): tests/qtest/ioh3420-test.o | |
281 | tests/qtest/usb-hcd-uhci-test$(EXESUF): tests/qtest/usb-hcd-uhci-test.o $(libqos-usb-obj-y) | |
282 | tests/qtest/usb-hcd-ehci-test$(EXESUF): tests/qtest/usb-hcd-ehci-test.o $(libqos-usb-obj-y) | |
283 | tests/qtest/usb-hcd-xhci-test$(EXESUF): tests/qtest/usb-hcd-xhci-test.o $(libqos-usb-obj-y) | |
284 | tests/qtest/cpu-plug-test$(EXESUF): tests/qtest/cpu-plug-test.o | |
285 | tests/qtest/migration-test$(EXESUF): tests/qtest/migration-test.o tests/qtest/migration-helpers.o | |
286 | tests/qtest/qemu-iotests/qtest/socket_scm_helper$(EXESUF): tests/qtest/qemu-iotests/qtest/socket_scm_helper.o | |
287 | tests/qtest/test-netfilter$(EXESUF): tests/qtest/test-netfilter.o $(qtest-obj-y) | |
288 | tests/qtest/test-filter-mirror$(EXESUF): tests/qtest/test-filter-mirror.o $(qtest-obj-y) | |
289 | tests/qtest/test-filter-redirector$(EXESUF): tests/qtest/test-filter-redirector.o $(qtest-obj-y) | |
290 | tests/qtest/test-x86-cpuid-compat$(EXESUF): tests/qtest/test-x86-cpuid-compat.o $(qtest-obj-y) | |
291 | tests/qtest/ivshmem-test$(EXESUF): tests/qtest/ivshmem-test.o contrib/ivshmem-server/ivshmem-server.o $(libqos-pc-obj-y) $(libqos-spapr-obj-y) | |
292 | tests/qtest/dbus-vmstate-test$(EXESUF): tests/qtest/dbus-vmstate-test.o tests/qtest/migration-helpers.o tests/qtest/dbus-vmstate1.o $(libqos-pc-obj-y) $(libqos-spapr-obj-y) | |
833884f3 TH |
293 | tests/qtest/test-arm-mptimer$(EXESUF): tests/qtest/test-arm-mptimer.o |
294 | tests/qtest/numa-test$(EXESUF): tests/qtest/numa-test.o | |
295 | tests/qtest/vmgenid-test$(EXESUF): tests/qtest/vmgenid-test.o tests/qtest/boot-sector.o tests/qtest/acpi-utils.o | |
296 | tests/qtest/cdrom-test$(EXESUF): tests/qtest/cdrom-test.o tests/qtest/boot-sector.o $(libqos-obj-y) | |
297 | tests/qtest/arm-cpu-features$(EXESUF): tests/qtest/arm-cpu-features.o | |
298 | tests/qtest/tpm-crb-swtpm-test$(EXESUF): tests/qtest/tpm-crb-swtpm-test.o tests/qtest/tpm-emu.o \ | |
299 | tests/qtest/tpm-util.o tests/qtest/tpm-tests.o $(test-io-obj-y) | |
300 | tests/qtest/tpm-crb-test$(EXESUF): tests/qtest/tpm-crb-test.o tests/qtest/tpm-emu.o $(test-io-obj-y) | |
301 | tests/qtest/tpm-tis-swtpm-test$(EXESUF): tests/qtest/tpm-tis-swtpm-test.o tests/qtest/tpm-emu.o \ | |
302 | tests/qtest/tpm-util.o tests/qtest/tpm-tests.o $(test-io-obj-y) | |
303 | tests/qtest/tpm-tis-test$(EXESUF): tests/qtest/tpm-tis-test.o tests/qtest/tpm-emu.o $(test-io-obj-y) | |
304 | ||
305 | # QTest rules | |
306 | ||
307 | TARGETS=$(patsubst %-softmmu,%, $(filter %-softmmu,$(TARGET_DIRS))) | |
308 | ifeq ($(CONFIG_POSIX),y) | |
309 | QTEST_TARGETS = $(TARGETS) | |
310 | check-qtest-y=$(foreach TARGET,$(TARGETS), $(check-qtest-$(TARGET)-y:%=tests/qtest/%$(EXESUF))) | |
311 | check-qtest-y += $(check-qtest-generic-y:%=tests/qtest/%$(EXESUF)) | |
312 | else | |
313 | QTEST_TARGETS = | |
314 | endif | |
315 | ||
316 | qtest-obj-y = tests/qtest/libqtest.o $(test-util-obj-y) | |
317 | $(check-qtest-y): $(qtest-obj-y) |