aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-01-26 12:45:14 +0100
committerBlue Swirl <blauwirbel@gmail.com>2013-01-26 13:52:07 +0000
commitc5cd02ba16e784699d04456c8e406445db997121 (patch)
tree8f1a3da933dc9f0bd8378c6271e6f925601c6e85
parentcba040c2b19f584bb33ae83af8517ecc9796e328 (diff)
tests: Add gcov support for x86_64 qtest
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> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r--tests/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
index a6341f2303..442b286ccf 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