mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
tests: add G_GNUC_PRINTF for various functions
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20221219130205.687815-6-berrange@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
beede7e848
commit
0472b2e541
14 changed files with 36 additions and 18 deletions
|
@ -72,9 +72,9 @@ int main(int argc, char **argv)
|
|||
qtest_add_func("/uhci/pci/hotplug/usb-storage", test_usb_storage_hotplug);
|
||||
|
||||
if (strcmp(arch, "i386") == 0 || strcmp(arch, "x86_64") == 0) {
|
||||
qs = qtest_pc_boot(cmd);
|
||||
qs = qtest_pc_boot("%s", cmd);
|
||||
} else if (strcmp(arch, "ppc64") == 0) {
|
||||
qs = qtest_spapr_boot(cmd);
|
||||
qs = qtest_spapr_boot("%s", cmd);
|
||||
} else {
|
||||
g_printerr("usb-hcd-uhci-test tests are only "
|
||||
"available on x86 or ppc64\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue