Patchwork [for-1.4,2/6] tests: Fix gcov report for test-iov

login
register
mail settings
Submitter Andreas Färber
Date Jan. 26, 2013, 11:45 a.m.
Message ID <1359200715-27222-3-git-send-email-afaerber@suse.de>
Download mbox | patch
Permalink /patch/215901/
State New
Headers show

Comments

Andreas Färber - Jan. 26, 2013, 11:45 a.m.
Commit baacf04799ace72a9c735dd9306a1ceaf305e7cf moved iov.c to util/
subdirectory but forgot to update tests/Makefile, resulting in:

  Gcov report for iov.c:
  ./iov.gcno:cannot open graph file

Fix this by supplying the new path.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 tests/Makefile |    2 +-
 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)

Patch

diff --git a/tests/Makefile b/tests/Makefile
index db04607..d2e326f 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -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