qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] tests: adjust gcov variables for directory movement


From: Paolo Bonzini
Subject: [Qemu-devel] [PATCH] tests: adjust gcov variables for directory movement
Date: Tue, 15 Jan 2013 09:49:35 +0100

I had missed the introduction of the gcov-files-* variables.

Cc: Blue Swirl <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
---
        Blue, can you look at introducing a common variable for the coroutine
        backend?  Like

        coroutine-backend-y = gthread
        coroutine-backend-$(CONFIG_SIGALTSTACK_COROUTINE) = sigaltstack
        coroutine-backend-$(CONFIG_UCONTEXT_COROUTINE) = ucontext
        coroutine-backend-$(CONFIG_WIN32) = win32

        and using it in both Makefile.objs and tests/Makefile.
        Another alternative is to use $(filter) to pick the one file that
        is actually part of $(block-obj-y).  Thanks!

 tests/Makefile | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/tests/Makefile b/tests/Makefile
index d97a571..90ad126 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -1,17 +1,17 @@
 export SRC_PATH
 
 check-unit-y = tests/check-qdict$(EXESUF)
-gcov-files-check-qdict-y = qdict.c
+gcov-files-check-qdict-y = qobject/qdict.c
 check-unit-y += tests/check-qfloat$(EXESUF)
-gcov-files-check-qfloat-y = qfloat.c
+gcov-files-check-qfloat-y = qobject/qfloat.c
 check-unit-y += tests/check-qint$(EXESUF)
-gcov-files-check-qint-y = qint.c
+gcov-files-check-qint-y = qobject/qint.c
 check-unit-y += tests/check-qstring$(EXESUF)
-gcov-files-check-qstring-y = qstring.c
+gcov-files-check-qstring-y = qobject/qstring.c
 check-unit-y += tests/check-qlist$(EXESUF)
-gcov-files-check-qlist-y = qlist.c
+gcov-files-check-qlist-y = qobject/qlist.c
 check-unit-y += tests/check-qjson$(EXESUF)
-gcov-files-check-qjson-y = qjson.c
+gcov-files-check-qjson-y = qobject/qjson.c
 check-unit-y += tests/test-qmp-output-visitor$(EXESUF)
 gcov-files-test-qmp-output-visitor-y = qapi/qmp-output-visitor.c
 check-unit-y += tests/test-qmp-input-visitor$(EXESUF)
@@ -39,7 +39,7 @@ endif
 endif
 check-unit-y += tests/test-visitor-serialization$(EXESUF)
 check-unit-y += tests/test-iov$(EXESUF)
-gcov-files-test-iov-y = iov.c
+gcov-files-test-iov-y = util/iov.c
 check-unit-y += tests/test-aio$(EXESUF)
 gcov-files-test-aio-$(CONFIG_WIN32) = aio-win32.c
 gcov-files-test-aio-$(CONFIG_POSIX) = aio-posix.c
-- 
1.8.1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]