aboutsummaryrefslogtreecommitdiff
path: root/Makefile.objs
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2012-05-01 18:45:39 +0000
committerBlue Swirl <blauwirbel@gmail.com>2013-01-06 08:15:08 +0000
commit1d728c394652d40a9065668606d62f28bc544949 (patch)
tree6f6ef35d2942115f40e1b84ac1d548af74697e23 /Makefile.objs
parent549db5c32bb025501e2eeb23d2e5cc669061eb71 (diff)
tests: add gcov support
Add support for compiling for GCOV test coverage, enabled with '--enable-gcov' during configure. Test coverage will be reported after each test. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'Makefile.objs')
-rw-r--r--Makefile.objs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.objs b/Makefile.objs
index 3a3a4028c5..a3eab4b410 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -31,6 +31,8 @@ oslib-obj-$(CONFIG_POSIX) += oslib-posix.o qemu-thread-posix.o
# coroutines
coroutine-obj-y = qemu-coroutine.o qemu-coroutine-lock.o qemu-coroutine-io.o
coroutine-obj-y += qemu-coroutine-sleep.o
+
+# If you change this logic, please also check tests/Makefile
ifeq ($(CONFIG_UCONTEXT_COROUTINE),y)
coroutine-obj-$(CONFIG_POSIX) += coroutine-ucontext.o
else