Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Unified Diff: tools/coverage.sh

Issue 2343243002: tools/coverage: clean up (Closed)
Patch Set: final changes, plus help Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bin/coverage ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/coverage.sh
diff --git a/tools/coverage.sh b/tools/coverage.sh
deleted file mode 100755
index 8fe75c5cd5e62b510e3cfe8bce7381d07d581622..0000000000000000000000000000000000000000
--- a/tools/coverage.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-
-# Run from Skia trunk something like this:
-# $ tools/coverage.sh tests
-# or
-# $ tools/coverage.sh gm
-
-set -x
-set -e
-
-COMMAND=$@
-GCOV=$(realpath tools/gcov_shim)
-
-QUIET=-q
-
-# Build all of Skia.
-./gyp_skia
-ninja -C out/Coverage
-
-# Generate a zero-baseline so files not covered by $COMMAND will still show up in the report.
-# This reads the .gcno files that are created at compile time.
-lcov $QUIET --gcov-tool=$GCOV -c -b out/Coverage -d out/Coverage -o /tmp/baseline -i
-
-# Running the binary generates the real coverage information, the .gcda files.
-out/Coverage/$COMMAND
-lcov $QUIET --gcov-tool=$GCOV -c -b out/Coverage -d out/Coverage -o /tmp/coverage
-
-lcov $QUIET -a /tmp/baseline -a /tmp/coverage -o /tmp/merged
-
-genhtml $QUIET /tmp/merged --legend -o out/Coverage/report
-xdg-open out/Coverage/report/index.html
« no previous file with comments | « bin/coverage ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698