这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@phprus
Copy link
Contributor

@phprus phprus commented Nov 26, 2023

Unit test #1603 creates a file in the source directory.

@codecov
Copy link

codecov bot commented Nov 26, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (90b6c36) 83.26% compared to head (48e2b96) 83.27%.
Report is 1 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1604      +/-   ##
===========================================
+ Coverage    83.26%   83.27%   +0.01%     
===========================================
  Files          133      133              
  Lines        10879    10879              
  Branches      2809     2809              
===========================================
+ Hits          9058     9060       +2     
+ Misses        1117     1116       -1     
+ Partials       704      703       -1     
Flag Coverage Δ
macos_clang 42.97% <ø> (ø)
macos_gcc 73.63% <ø> (ø)
ubuntu_clang 82.27% <ø> (ø)
ubuntu_clang_debug 81.90% <ø> (ø)
ubuntu_clang_inflate_allow_invalid_dist 81.93% <ø> (ø)
ubuntu_clang_inflate_strict 82.26% <ø> (ø)
ubuntu_clang_mmap 82.60% <ø> (ø)
ubuntu_clang_pigz 13.92% <ø> (ø)
ubuntu_clang_pigz_no_optim 11.51% <ø> (ø)
ubuntu_clang_pigz_no_threads 13.74% <ø> (ø)
ubuntu_clang_reduced_mem 82.67% <ø> (ø)
ubuntu_clang_toolchain_riscv ∅ <ø> (∅)
ubuntu_gcc 75.23% <ø> (ø)
ubuntu_gcc_aarch64 77.41% <ø> (ø)
ubuntu_gcc_aarch64_compat_no_opt 75.65% <ø> (ø)
ubuntu_gcc_aarch64_no_acle 76.17% <ø> (ø)
ubuntu_gcc_aarch64_no_neon 76.17% <ø> (ø)
ubuntu_gcc_armhf 77.18% <ø> (ø)
ubuntu_gcc_armhf_compat_no_opt 75.62% <ø> (ø)
ubuntu_gcc_armhf_no_acle 77.13% <ø> (ø)
ubuntu_gcc_armhf_no_neon 77.25% <ø> (ø)
ubuntu_gcc_armsf 74.62% <ø> (ø)
ubuntu_gcc_armsf_compat_no_opt 74.13% <ø> (ø)
ubuntu_gcc_benchmark 73.43% <ø> (ø)
ubuntu_gcc_compat_no_opt 76.86% <ø> (ø)
ubuntu_gcc_compat_sprefix 73.75% <ø> (ø)
ubuntu_gcc_m32 73.41% <ø> (ø)
ubuntu_gcc_mingw_i686 73.68% <ø> (ø)
ubuntu_gcc_mingw_x86_64 73.69% <ø> (ø)
ubuntu_gcc_mips 74.99% <ø> (ø)
ubuntu_gcc_mips64 75.00% <ø> (ø)
ubuntu_gcc_no_avx2 74.34% <ø> (ø)
ubuntu_gcc_no_ctz 74.67% <ø> (ø)
ubuntu_gcc_no_ctzll 74.66% <ø> (ø)
ubuntu_gcc_no_pclmulqdq 74.22% <ø> (ø)
ubuntu_gcc_no_sse2 74.49% <ø> (ø)
ubuntu_gcc_no_sse42 74.17% <ø> (ø)
ubuntu_gcc_o1 74.12% <ø> (ø)
ubuntu_gcc_osb ∅ <ø> (∅)
ubuntu_gcc_pigz 38.04% <ø> (-0.14%) ⬇️
ubuntu_gcc_pigz_aarch64 39.18% <ø> (+0.08%) ⬆️
ubuntu_gcc_ppc 73.94% <ø> (ø)
ubuntu_gcc_ppc64 74.38% <ø> (ø)
ubuntu_gcc_ppc64_power9 74.55% <ø> (ø)
ubuntu_gcc_ppc64le 74.45% <ø> (ø)
ubuntu_gcc_ppc64le_novsx 74.77% <ø> (ø)
ubuntu_gcc_ppc64le_power9 74.33% <ø> (ø)
ubuntu_gcc_ppc_no_power8 74.65% <ø> (ø)
ubuntu_gcc_s390x 74.82% <ø> (ø)
ubuntu_gcc_s390x_dfltcc 71.92% <ø> (ø)
ubuntu_gcc_s390x_dfltcc_compat 73.99% <ø> (ø)
ubuntu_gcc_s390x_no_crc32 74.61% <ø> (ø)
ubuntu_gcc_sparc64 74.81% <ø> (ø)
ubuntu_gcc_sprefix 73.42% <ø> (ø)
win64_gcc 74.04% <ø> (ø)
win64_gcc_compat_no_opt 74.73% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@phprus phprus marked this pull request as ready for review November 27, 2023 03:26
@mtl1979
Copy link
Collaborator

mtl1979 commented Nov 27, 2023

We require cmake 3.5.1 or later, so any features that require newer cmake version -- without fallback -- can't be used.

Several CI tests need to be rerun as either them failed (for unknown reason) or were skipped due to other checks failing.

@phprus
Copy link
Contributor Author

phprus commented Nov 27, 2023

We require cmake 3.5.1 or later, so any features that require newer cmake version -- without fallback -- can't be used.

Fallback - do not build zlib-ng with the source directory in read-only mode (anyway it's impossible now).
CMake version condition is only for OSB CI tasks.
Or I could remove "Run OSB tests with readonly source directory." commit.

Several CI tests need to be rerun as either them failed (for unknown reason) or were skipped due to other checks failing.

It seems I don't have permission to restart CI.

@phprus
Copy link
Contributor Author

phprus commented Nov 27, 2023

CI error:

[2023-11-27T14:16:48.274Z] ['error'] There was an error running the uploader: Error uploading to https://codecov.io: Error: There was an error fetching the storage URL during POST: 503 - upstream connect error or disconnect/reset before headers. reset reason: connection failure


set(INPUT_FILE ${OUTPUT_BASE})

# Make CMake copy and rename file in one operation
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment is missing info and is a little misleading.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't changed this comment.
Or do I need to move it before configure_file?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You changed the content that the comment describes, so the comment should be updated to describe the new situation.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment is updated.

@Dead2 Dead2 requested a review from nmoinvaz November 27, 2023 14:56
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
@mtl1979
Copy link
Collaborator

mtl1979 commented Nov 29, 2023

We require cmake 3.5.1 or later, so any features that require newer cmake version -- without fallback -- can't be used.

Fallback - do not build zlib-ng with the source directory in read-only mode (anyway it's impossible now).
CMake version condition is only for OSB CI tasks.
Or I could remove "Run OSB tests with readonly source directory." commit.

Sometimes it's hard to decide if two related changes should be in same or separate pull requests. In this case there is no controversy in improving how a test is executed, but we already require that source directory is writable, so requiring that it is not written to is backwards.

Copy link
Member

@Dead2 Dead2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Dead2 Dead2 merged commit 601ef90 into zlib-ng:develop Dec 11, 2023
@Dead2 Dead2 mentioned this pull request Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants