summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* fix: various typosDominique Pelle2022-07-311-1/+1
|
* extend disabling checksum validation to normal lz4 CLI decompressionYann Collet2022-07-291-1/+1
| | | | | note : it's unlikely to improve speed, as in most cases I/O is slower than lz4 decompression, but maybe in extreme scenarios, it might show a difference.
* added options.skipChecksums to local fuzzer testYann Collet2022-07-291-0/+1
|
* introduced new `--no-crc` commandYann Collet2022-07-291-0/+2
| | | | which disables both frame and block checksums.
* implement decoder-only benchmark modeYann Collet2022-07-292-1/+5
| | | | requires an LZ4 Frame as input
* test independence for parallel runYann Collet2022-07-171-206/+228
| | | | | | | for `make -j test`. note : test-install is no longer part of `make test` It will have to be run on its own.
* Merge pull request #1115 from lz4/lz4f_customMemYann Collet2022-07-161-4/+63
|\ | | | | Support for Custom Memory managers
| * implemented LZ4F_createCDict_advanced()Yann Collet2022-07-131-2/+9
| |
| * Merge branch 'dev' into lz4f_customMemYann Collet2022-07-131-3/+3
| |\
| * | implemented first custom memory manager interfaceYann Collet2022-07-131-4/+56
| | | | | | | | | | | | | | | | | | | | | for compression context only for the time being, using LZ4F_createCompressionContext_advanced(). Added basic test in frametest.c
* | | Merge pull request #1119 from lz4/skipFramesYann Collet2022-07-153-3/+13
|\ \ \ | | | | | | | | support skippable frames within pipe
| * | | support skippable frames within pipeYann Collet2022-07-153-3/+13
| | |/ | |/| | | | | | | | | | | | | | | | fix #977 fseek() doesn't work for pipe, switch to "read and forget" mode in such case.
* | | fix decompress-partial-usingDict.cYann Collet2022-07-151-11/+26
|/ / | | | | | | | | | | | | | | | | The recently added test decompress-partial-usingDict tends to fail for unknown reasons, more frequently under the combination for clang-9 + `-mx32`. There is a suspicion that the test is using too much stack. Fixing that, + adding traces, to get more information if it fails again.
* | fix stricter enum type requirements for C++Yann Collet2022-07-131-3/+3
|/
* minor : specify min versions for library version identifiersYann Collet2022-07-121-0/+1
|
* generalize across all 3 ABI architecturesYann Collet2022-07-122-70/+85
|
* write liblz4 dynamic library versionYann Collet2022-07-123-13/+28
| | | | requires liblz4 >= v1.7.5
* first ABI compat testsYann Collet2022-07-124-1/+377
| | | | only use current march & default compiler
* Merge pull request #1099 from lz4/pr1094_frametestYann Collet2022-07-051-12/+26
|\ | | | | Add a fuzzer test for LZ4F_uncompressedUpdate() within frametest
| * update frametest for new condition for uncompressedUpdateYann Collet2022-07-051-13/+10
| |
| * added fuzzer test for LZ4F_uncompressedUpdate in frametestYann Collet2022-07-011-12/+29
| |
* | clarify yet another time what dual-license meansYann Collet2022-07-041-2/+2
| |
* | fixed minor leakYann Collet2022-07-011-1/+1
| |
* | fixed -tmYann Collet2022-07-011-0/+5
| | | | | | | | which was broken up to now.
* | fail on requesting to process 3+ file names in legacy modeYann Collet2022-07-011-5/+4
| | | | | | | | warning only if -f is selected.
* | tests: add tests for `LZ4_decompress_safe_partial_usingDict`Qi Wang2022-06-075-8/+168
|/ | | | Signed-off-by: Qi Wang <wangqi@linux.alibaba.com>
* added target test-compile-with-lz4-memory-usageYann Collet2022-01-311-0/+8
| | | | and run it in GA CI
* Introduce MIN and MAX bounds to LZ4_MEMORY_USAGEYann Collet2022-01-311-9/+10
| | | | | | | ensure that `frametest` works fine with these values, notably with low LZ4_MEMORY_USAGE (dict test notably) following suggestions from @t-mat at #1016
* Merge pull request #1060 from gabrielstedman/list_test_fixYann Collet2022-01-291-42/+49
|\ | | | | Fix list test
| * Correctly use temp folder variableGabriel2022-01-291-1/+1
| |
| * Convert all strings to fstrings && avoid usage of shell for PopenGabriel2022-01-291-40/+45
| |
| * Ensure list test exits with appropiate exit code on failureGabriel2022-01-291-1/+3
| |
* | --test and --list return an error when parsing invalid fileYann Collet2022-01-291-1/+1
|/ | | | fix #1045
* Merge pull request #1056 from lz4/fix_opt12Yann Collet2022-01-291-0/+1
|\ | | | | fixed bug in optimal parser
| * fixed bug in optimal parserYann Collet2022-01-291-0/+1
| | | | | | | | discovered by @yoniko.
* | added testYann Collet2022-01-291-0/+1
|/ | | | for --list from stdin
* Fix typos found by codespellDimitri Papadopoulos2021-11-252-2/+2
|
* Merge pull request #1022 from lz4/unameYann Collet2021-09-201-2/+2
|\ | | | | make UNAME externally definable
| * make UNAME externally definableYann Collet2021-08-161-2/+2
| | | | | | | | | | | | | | on top of providing a central definition place, which eases maintenance, it might also help for #1021. Also : updated doc
* | trim excess whitespacea13460542021-08-211-1/+1
| |
* | fix warnings reported by shellcheck in shell scriptsa13460542021-08-212-2/+2
| |
* | use the same style of hashbang for all filesa13460542021-08-212-2/+2
| |
* | fix broken hashbangsa13460542021-08-212-2/+2
|/
* minor documentation for unicode_lintYann Collet2021-08-091-5/+9
|
* tests(tests/unicode_lint.sh): expand unicode lint to the ./tests/ directoryNate2021-08-081-1/+10
|
* nit(tests/unicode_lint.sh): standardize failure format messageNate2021-08-081-1/+1
|
* tests(unicode_lint.sh): create: lint source files in ./lib/ and ./programs/ ↵Nate2021-08-081-0/+35
| | | | for Unicode
* fixed minor type, reported by @mwgameraYann Collet2021-08-061-2/+2
|
* Fix g++-4.4 warningTakayuki Matsuoka2021-05-301-1/+1
| | | | | | | | | | g++-4.4 creates the following warning for this line. ``` g++-4.4 -Wno-deprecated -O3 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Werror -I../lib -I../programs -DXXH_NAMESPACE=LZ4_ lz4frame.o lz4.o lz4hc.o xxhash.o checkFrame.c -o checkFrame checkFrame.c: In function ‘int frameCheck(cRess_t, FILE*, unsigned int, size_t)’: checkFrame.c:156: error: comparison between signed and unsigned integer expressions ```
* fix UB lz4:988 and lz4:1178Yann Collet2021-05-281-1/+4
| | | | | ensure `dictBase` is only used when there is an actual dictionary content.