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 1d3d586099f21fbc0a9fd887da2621e0924b6a86..39e8c6155c0f068a20c2548e036ae616345d7c74 100755 |
--- a/src/platform/update_engine/gen_coverage_html.sh |
+++ b/src/platform/update_engine/gen_coverage_html.sh |
@@ -6,7 +6,7 @@ |
set -ex |
-scons debug=1 -j 2 |
+scons debug=1 -j $(cat /proc/cpuinfo |grep '^processor' | wc -l) |
lcov -d . --zerocounters |
./update_engine_unittests --gtest_filter='-*.RunAsRoot*:*.Fakeroot*' |
fakeroot ./update_engine_unittests --gtest_filter='*.Fakeroot*' |