瀏覽代碼

better script

Christian Grothoff 17 年之前
父節點
當前提交
ce0473d524
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      contrib/coverage.sh

+ 6 - 0
contrib/coverage.sh

@@ -2,6 +2,12 @@
 # make sure configure was run with coverage enabled...
 lcov --directory . --zerocounters
 make check
+for n in `find * -name "*.gc*" | grep libs`
+do
+  cd `dirname $n`
+  mv `basename $n` ..
+  cd -
+done
 lcov --directory . --capture --output-file app.info
 mkdir /tmp/coverage
 genhtml -o /tmp/coverage app.info