Patchwork [for-1.4,1/6] tests: Fix gcov report for check-q{dict, float, int, string, list, json}

mail settings
Submitter Andreas Färber
Date Jan. 26, 2013, 11:45 a.m.
Message ID <>
Download mbox | patch
Permalink /patch/215899/
State New
Headers show


Andreas Färber - Jan. 26, 2013, 11:45 a.m.
Commit a372823a14461c454feaa86373bd672fd518847a moved the source files
to qobject/ subdirectory but forgot to update tests/Makefile:

  GTESTER tests/check-qdict
  Gcov report for qdict.c:
  ./qdict.gcno:cannot open graph file
  GTESTER tests/check-qfloat
  Gcov report for qfloat.c:
  ./qfloat.gcno:cannot open graph file
  GTESTER tests/check-qint
  Gcov report for qint.c:
  ./qint.gcno:cannot open graph file
  GTESTER tests/check-qstring
  Gcov report for qstring.c:
  ./qstring.gcno:cannot open graph file
  GTESTER tests/check-qlist
  Gcov report for qlist.c:
  ./qlist.gcno:cannot open graph file
  GTESTER tests/check-qjson
  Gcov report for qjson.c:
  ./qjson.gcno:cannot open graph file

Fix this by adding the subdirectory path.

Cc: Paolo Bonzini <>
Signed-off-by: Andreas Färber <>
 tests/Makefile |   12 ++++++------
 1 Datei geändert, 6 Zeilen hinzugefügt(+), 6 Zeilen entfernt(-)


diff --git a/tests/Makefile b/tests/Makefile
index d86e95a..db04607 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)