summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* fix strange printf formatting warningYann Collet2020-12-011-10/+11
| | | | so now, `%p` _requires_ a `void*` pointer ?
* fix CFLAGS unexport issueYann Collet2020-12-011-1/+1
|
* updated license & header datesYann Collet2020-11-258-9/+9
|
* fixed minor Visual warningYann Collet2020-11-151-1/+1
| | | | doesn't happen on my environment, though it's a different version of Visual Studio
* better visual conformanceYann Collet2020-11-153-20/+12
| | | | | | only include <intrin.h> on vs2005+ (#947) remove some useless #pragma fix a few minor Visual warnings
* LZ4IO_createDict() doesn't need prefsYann Collet2020-11-141-1/+1
|
* proper fullbench's LZ4_calloc()Yann Collet2020-11-091-1/+1
|
* changed LZ4_calloc() to a 2-arguments signatureYann Collet2020-11-091-1/+1
| | | | | | to remain similar to stdlib's calloc(). Updated test to use c++ compiler for stricter signature check.
* fix fullbench's LZ4_free()Yann Collet2020-11-091-1/+1
|
* Merge branch 'dev' into customMemYann Collet2020-11-092-15/+56
|\
| * Merge pull request #943 from lz4/fullbench_decYann Collet2020-11-091-3/+44
| |\ | | | | | | Added decompression tests in fullbench
| | * fullbench: added LZ4F_decompress_noHint()Yann Collet2020-11-081-0/+35
| | |
| | * added test for LZ4_decompress_safe_withPrefix64k()Yann Collet2020-11-081-3/+9
| | |
| * | attempt at silencing cppcheckYann Collet2020-11-091-12/+12
| |/
* | first proposal for LZ4_USER_MEMORY_FUNCTIONSYann Collet2020-11-092-3/+14
|/ | | | | | | | | makes it possible to replace at link time malloc, calloc and free by user-provided functions which must be named LZ4_malloc(), LZ4_calloc() and LZ4_free(). answer #937
* added similar tests for LZ4_saveDict()Yann Collet2020-11-081-1/+17
| | | | fast (non-HC) variant
* fix #926Yann Collet2020-11-081-2/+18
| | | | | fix incorrect behavior of LZ4_saveDictHC() when invoked right after initialization.
* unified alignment testYann Collet2020-11-061-28/+46
| | | | across lz4.c and lz4hc.c
* fix minor explicit castYann Collet2020-10-311-1/+1
|
* reduce new test stack usageYann Collet2020-10-031-10/+12
| | | | use heap instead
* fix cppcheck unused variable warningYann Collet2020-10-021-0/+1
|
* added LZ4_streamHC_t init testYann Collet2020-10-021-2/+21
| | | | which includes an alignment test
* define sentinelTestYann Collet2020-10-021-2/+3
| | | | to help scan-build detect the condition
* make it possible to select SCANBUILD binary on command lineYann Collet2020-10-021-1/+1
|
* add LZ4F_decompress() tests with (NULL,0) input and outputYann Collet2020-10-021-1/+3
| | | | fix one (rare & complex) issue discovered by this test
* fix minor static analyzer warningsYann Collet2020-09-302-12/+13
| | | | | detected by scan-build and cppcheck fix #786