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

Unified Diff: src/platform/update_engine/gen_coverage_html.sh

Issue 466036: AU: Beginnings of delta support (Closed)
Patch Set: Created 11 years 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 | « src/platform/update_engine/file_writer_unittest.cc ('k') | src/platform/update_engine/http_fetcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/update_engine/gen_coverage_html.sh
diff --git a/src/platform/update_engine/gen_coverage_html.sh b/src/platform/update_engine/gen_coverage_html.sh
index 7ccc5d86175dfd67380f561e5b2f9b6a234c77b6..1d3d586099f21fbc0a9fd887da2621e0924b6a86 100755
--- a/src/platform/update_engine/gen_coverage_html.sh
+++ b/src/platform/update_engine/gen_coverage_html.sh
@@ -6,10 +6,11 @@
set -ex
-scons debug=1 -c
-scons debug=1
+scons debug=1 -j 2
lcov -d . --zerocounters
-./update_engine_unittests
+./update_engine_unittests --gtest_filter='-*.RunAsRoot*:*.Fakeroot*'
+fakeroot ./update_engine_unittests --gtest_filter='*.Fakeroot*'
+sudo ./update_engine_unittests --gtest_filter='*.RunAsRoot*'
lcov --directory . --capture --output-file app.info
# some versions of genhtml support the --no-function-coverage argument,
@@ -19,3 +20,4 @@ lcov --directory . --capture --output-file app.info
# is tested, but it shows only 50% function coverage b/c it thinks we didn't
# test the prod version.
genhtml --no-function-coverage -o html ./app.info || genhtml -o html ./app.info
+./local_coverage_rate.sh
« no previous file with comments | « src/platform/update_engine/file_writer_unittest.cc ('k') | src/platform/update_engine/http_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698