Open oktal3700 opened 5 years ago
Merging #348 into master will increase coverage by
0.36%
. The diff coverage is85.71%
.
@@ Coverage Diff @@
## master #348 +/- ##
==========================================
+ Coverage 88.93% 89.29% +0.36%
==========================================
Files 4 4
Lines 1301 1308 +7
Branches 195 199 +4
==========================================
+ Hits 1157 1168 +11
+ Misses 106 105 -1
+ Partials 38 35 -3
Flag | Coverage Δ | |
---|---|---|
#integrationtests_memcached | 67.24% <14.28%> (-0.38%) |
:arrow_down: |
#unittests | 86.23% <71.42%> (+0.38%) |
:arrow_up: |
Impacted Files | Coverage Δ | |
---|---|---|
clcache/__main__.py | 91.28% <85.71%> (+0.4%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update cae73d8...42da147. Read the comment docs.
Looks good to me -- just a test seems to be missing. :-)
Added a testcase.
Just like in ccache, this puts clcache into a "write-only" mode. Objects will be stored in the cache, but objects already in the cache will not be reused. The real compiler is always used.
This is useful in CI when you have a release branch that you want to always use the real compiler, and feature branches that you want to reap the benefit of the cache generated from the release branch. In that case you would enable CLCACHE_RECACHE only when building from the release branch.