-
-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added pigz to unit tests #985
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #985 +/- ##
===========================================
+ Coverage 75.81% 76.45% +0.64%
===========================================
Files 74 74
Lines 8082 8317 +235
Branches 1343 1369 +26
===========================================
+ Hits 6127 6359 +232
- Misses 1425 1427 +2
- Partials 530 531 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
If we add the files in https://github.com/neurolabusc/zlib-bench/tree/master/corpus to https://github.com/zlib-ng/corpora repository then we can also provide test coverage for old pigz issue #536. @Dead2 what do you think? Those files are 18mb and 34mb. |
I'm all for adding tests that make sure we don't introduce regressions or tests that confirm we have an crash issue. |
I might just create a new repository corpora-lg for larger test corpora. |
bfe54f2
to
ba4fd35
Compare
@nmoinvaz I usually just clone the original repository and then rename it... That's a lot easier than trying to combine files from multiple repositories and preserving edit history to conform to copyrights. |
I have added a CI test for no threads to be able isolate threaded compression and also a CI test for no optimizations to isolate those as well. |
@mtl1979 it could be as simple as a GitHub CI action that will download the new repo (same as what is done with corpora). CMake script picks up everything in |
I'm not big fan of supporting pigz but if it helps finding issues involving corner cases, then I see no reason to "oppose"... Keeping own "version" of repositories is always a good thing as the original repository might go offline and break our build system... |
If we ended up include the pigz sources in our repository then we will likely have to support it, that is why I pull the official sources from madler/pigz. We could fork that repo, but I don't want to have to keep it up to date. |
Added GitHub Actions CI for testing pigz.
541b2ab
to
e16dd54
Compare
Regarding neuro images, I have decided to just added them to corpora repository (also I don't want to manage yet another repo). Even though it is an extra 80mb it will be good to have it tested every where because image data such as that is unique and good for RLE tests. So now this PR should provide coverage for #536. |
Looks good to me. Is this ready to merge? |
Yes it is. The CI tests that fail, fail because our code fails them. |
- Minor code cleanup #983 #984 - Fix mpicc compilation #959 - Fix build on NetBSD #964 - Fix build on OpenBSD #970 - Fix build on Cygwin #972 #974 - Fix linter warnings in configure #975 - Spelling fixes #961 - Improve unistd.h handling #960 - Remove stdarg.h detection #976 - CI/Test improvements #977 #981 #985 - Cmake improvements #980
- Minor code cleanup #983 #984 - Fix mpicc compilation #959 - Fix build on NetBSD #964 - Fix build on OpenBSD #970 - Fix build on Cygwin #972 #974 - Fix linter warnings in configure #975 - Spelling fixes #961 - Improve unistd.h handling #960 - Remove stdarg.h detection #976 - CI/Test improvements #977 #981 #985 - Cmake improvements #980 #989
- Fix inflate corruption #982 - Minor code cleanup #983 #984 - Fix mpicc compilation #959 - Fix build on NetBSD #964 - Fix build on OpenBSD #970 - Fix build on Cygwin #972 #974 - Fix linter warnings in configure #975 - Spelling fixes #961 - Improve unistd.h handling #960 - Remove stdarg.h detection #976 - CI/Test improvements #977 #981 #985 - Cmake improvements #980 #989
- Fix inflate corruption #982 - Minor code cleanup #983 #984 - Fix mpicc compilation #959 - Fix build on NetBSD #964 - Fix build on OpenBSD #970 - Fix build on Cygwin #972 #974 - Fix linter warnings in configure #975 - Spelling fixes #961 - Improve unistd.h handling #960 - Remove stdarg.h detection #976 - CI/Test improvements #977 #981 #985 - Cmake improvements #980 #989
This PR adds:
pigz
.pigz
against zlib-ng or any other zlib variant.pigz
compression/decompression against all the files intest/*
andtest/corpora/**
(similar to what zlib-ng does with minigzip)