hack/make/test-unit: support coverprofile#22930
hack/make/test-unit: support coverprofile#22930AkihiroSuda wants to merge 1 commit intomoby:masterfrom
Conversation
c33025e to
bd693cc
Compare
|
The test failures seems related to my change. I'll look into this. |
|
The |
|
boo. looks like CI doesn't want to restart, @AkihiroSuda can you try rebasing and pushing again? |
|
@thaJeztah OK, but I need to wait for #23120, #23152, and LLVM apt issue |
3105159 to
7b99373
Compare
|
@thaJeztah I think the PR is ready for review. The failure in win2lin seems not related to my change. Note that the build time seems getting longer 😞 Maybe we can solve this performance regression by disabling |
|
Thanks! I removed the "failing-ci" label and restarted win2lin. Yes, the tests are really getting long, perhaps we should consider something like that to see if it helps speeding up |
|
ping @vdemeester @justincormack could you have a look at this one? |
|
Amended the PR so as to compile test binaries at once for multiple packages. |
|
Hm, something's failing; |
5a6e1c0 to
e971231
Compare
e.g. for github.com/docker/api, the coverprofile is located on bundles/latest/test-unit/coverprofiles/docker-api Update moby#22899 Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
e971231 to
4f40165
Compare
|
CI is passing, but I found that no coverprofile for integration-test is generated.. perhaps related to the handling of Sorry for failing repeatedly.. |
|
@AkihiroSuda no worries, thanks in advance! Looking forward to an updated PR |
- What I did
Support coverprofiles for
hack/make/test-unit.- How I did it
test-integration-cliusesgo_test_dirfor fetching the coverprofile.Now test-unit utilizes
go_test_diras well.- How to verify it
- Description for the changelog
Update #22899
TODOs suggested in #22899 (should be done in separate PRs after merging this PR)
Signed-off-by: Akihiro Suda suda.akihiro@lab.ntt.co.jp