1
0
mirror of https://github.com/lz4/lz4.git synced 2026-10-28 14:59:38 +03:00

13 Commits

Author SHA1 Message Date
Yann Collet
ec8065b9a4 tests: organize tests/ into subdirectories
unit/ (unit tests), fuzz/ (randomized tests), cli/ (command line tests), compat/ (ABI, versions,
installation, freestanding, build environment), bench/, tools/ (datagen, checkFrame), data/.

Make targets and the location of test programs are unchanged.
2026-10-24 08:44:26 -07:00
Jenn
a73a03dbb8 Return error if usage is not expected 2026-01-22 15:22:09 -08:00
Yann Collet
93a905cad4 removed COMPRESSIBILITY_DEFAULT
replaced by `COMPRESSIBILITY_NOT_SET`,
so that it's still possible to request `-P50`.
2024-01-28 15:08:42 -08:00
Yann Collet
65362838cb datagen uses lorem ipsum generator by default
switches back to statistical generator when specific statistics requested.
2024-01-28 14:05:21 -08:00
Dimitri Papadopoulos
bdfe4c0c98 Enclose by a do-while loop to avoid possible if/else logic defects 2023-06-25 17:43:51 +02:00
Takayuki Matsuoka
ff4b136ab8 Fix: replace strtoull with _strtoui64 for MSVC2010
https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/strtoui64-wcstoui64-strtoui64-l-wcstoui64-l
2022-08-13 03:59:49 +09:00
Takayuki Matsuoka
f7e95939e8 Fix: remove unused value
This patch fixes the following error from "make staticAnalyze"

datagencli.c:106:21: warning: Value stored to 'size' is never read
                    size=0;
                    ^    ~
2022-08-13 00:46:44 +09:00
Takayuki Matsuoka
f892f82883 Suppress false positive warning from MSVC (datagencli.c)
MSVC 2022 reports the follwing false positve warnings:

lz4\tests\datagencli.c(110): warning C26451: Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2).
lz4\tests\datagencli.c(134): warning C26451: Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2).
lz4\tests\datagencli.c(146): warning C26451: Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2).

Although they're absolutely compiler's and static analyzer's bug,
it'd always be nice to use the standard library.
2022-08-13 00:25:13 +09:00
Yann Collet
87a80acbe7 updated license & header dates 2020-11-25 14:45:14 -08:00
Przemyslaw Skibinski
9546ba62d0 executables use basic types from util.h 2016-12-21 09:44:59 +01:00
Yann Collet
8b233b228d added a few dates 2016-11-21 15:51:39 -08:00
Przemyslaw Skibinski
84cedb4632 updated links to LZ4 repository 2016-11-03 15:12:57 +01:00
Przemyslaw Skibinski
e624978ea2 test programs moved to tests/ 2016-11-03 15:03:43 +01:00