diff mbox

[for-1.4,5/6] tests: Add gcov support for x86_64 qtest

Message ID 1359200715-27222-6-git-send-email-afaerber@suse.de
State New
Headers show

Commit Message

Andreas Färber Jan. 26, 2013, 11:45 a.m. UTC
Since x86_64 is a superset of i386 and reuses all its test cases, adopt
all the i386 gcov source files as well, substituting their paths
appropriately.

Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 tests/Makefile |    1 +
 1 Datei geändert, 1 Zeile hinzugefügt(+)
diff mbox

Patch

diff --git a/tests/Makefile b/tests/Makefile
index a6341f2..442b286 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -57,6 +57,7 @@  gcov-files-i386-y += hw/hd-geometry.c
 check-qtest-i386-y += tests/rtc-test$(EXESUF)
 check-qtest-x86_64-y = $(check-qtest-i386-y)
 gcov-files-i386-y += i386-softmmu/hw/mc146818rtc.c
+gcov-files-x86_64-y = $(subst i386-softmmu/,x86_64-softmmu/,$(gcov-files-i386-y))
 check-qtest-sparc-y = tests/m48t59-test$(EXESUF)
 check-qtest-sparc64-y = tests/m48t59-test$(EXESUF)
 gcov-files-sparc-y += hw/m48t59.c