summaryrefslogtreecommitdiffstats
path: root/tests/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Remove test-freestanding from tests/Makefile "all" and "test"Takayuki Matsuoka2022-08-081-2/+2
| | | | | Since test-freestanding is able to be compiled and executed in specific environment, we should not run it in our standard test.
* Fix: Ignore exitcode of strace and ltraceTakayuki Matsuoka2022-08-071-2/+2
|
* Add LZ4_FREESTANDING test on Linux x86-64 platformTakayuki Matsuoka2022-08-071-3/+12
| | | | Also added tests/Makefile entry "test-freestanding".
* 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.
* introduced new `--no-crc` commandYann Collet2022-07-291-0/+2
| | | | which disables both frame and block checksums.
* implement decoder-only benchmark modeYann Collet2022-07-291-0/+3
| | | | 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.
* support skippable frames within pipeYann Collet2022-07-151-1/+13
| | | | | | | fix #977 fseek() doesn't work for pipe, switch to "read and forget" mode in such case.
* first ABI compat testsYann Collet2022-07-121-1/+8
| | | | only use current march & default compiler
* 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-071-1/+6
| | | | 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
* --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
* 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
* fix CFLAGS unexport issueYann Collet2020-12-011-1/+1
|
* LZ4IO_createDict() doesn't need prefsYann Collet2020-11-141-1/+1
|
* first proposal for LZ4_USER_MEMORY_FUNCTIONSYann Collet2020-11-091-3/+6
| | | | | | | | | 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
* fix ubsan testYann Collet2020-09-171-1/+1
| | | | | | which now fails with a clear error as intended (not just print a status and move on). should be reproduced on travisCI
* Merge branch 'dev' into extraInputYann Collet2020-08-271-81/+92
|\
| * fix test under non-interactive environmentYann Collet2020-08-251-1/+1
| |
| * added more tests around --content-sizeYann Collet2020-08-251-1/+10
| | | | | | | | notably in association with `stdin`
| * use variables for program invocationYann Collet2020-08-251-80/+82
| |
* | fix issue #783 (#862)BellaXlp2020-08-121-3/+11
| | | | | | * fix issue #783
* | added test decompress-partial with extraneous input bytesYann Collet2020-08-121-1/+1
|/ | | | | fails currently, for investigation of #783
* add test that breaks --fastYann Collet2020-08-101-0/+5
| | | | | | with huge values, as expected from #876 Also : added target `check`
* Add test scenario test-lz4-multiple-legacyFilipe Calasans2020-02-081-1/+39
|
* ensure conformance with custom LZ4_DISTANCE_MAXYann Collet2019-07-151-1/+1
| | | | | | | | | | | | | | It's now possible to select a custom LZ4_DISTANCE_MAX at compile time, provided it's <= 65535. However, in some cases (when compressing in byU16 mode), the new distance wasn't respected, as it used to implied that it was necessarily within range. Added a distance check for this case. Also : added a new TravisCI test which ensures that custom LZ4_DISTANCE_MAX compiles correctly and compresses correctly (relying on `assert()` to find outsized offsets).
* Handle file not existing case #704gabrielstedman2019-05-261-0/+1
|
* updated testsYann Collet2019-05-161-2/+2
| | | | | - only play listTest with `make test`, not `make all` which is limited to build - update `clangtest`, so that it's possible to disable O3 optimization, for faster processing
* List mode improvements.gstedman2019-05-161-0/+2
| | | | | | | | | Improve formatting Include static assert Use UTIL_fseek to handle potential fseek limitation Be explicit when refusing to read from stdin Properly free dctx after use Include valgrind tests
* Add multiframe report to --list commandgstedman2019-05-151-2/+5
|
* test-amalgamation: split the ruleDmitry V. Levin2019-04-231-6/+8
| | | | | | Change test-amalgamation to follow each-rule-makes-a-single-target idiom. Fixes: a7e8d394 ("[amalgamation] add test")
* test-amalgamation: fix compilation optionsDmitry V. Levin2019-04-231-1/+1
| | | | | | Use the same compilation options to compile lz4_all.c and other object files. Fixes: a7e8d394 ("[amalgamation] add test")
* test-amalgamation: use a single cat commandDmitry V. Levin2019-04-231-3/+1
| | | | | | | | | | Use the list of prerequisites instead of listing those files manually, this way they will never fall out of sync. Also update the amalgamation example to use a single cat command. Fixes: a7e8d394 ("[amalgamation] add test") Fixes: b192c86b ("[amalgamation] lz4frame.c")
* test-amalgamation: fix the list of prerequisitesDmitry V. Levin2019-04-231-1/+1
| | | | | | | Add $(LZ4DIR)/lz4frame.c to the list of prerequisites as the rule uses that file. Fixes: b192c86b ("[amalgamation] lz4frame.c")
* More build imrpvementsJPeterMugaas2019-04-231-1/+1
| | | | | | Moved a few other tests to Makefiles.inc. Other things might need to go there. Made a test for symlink appropriateness. Windows can NOT handle them the same way Unix-like operating systems do (if at all). This is mostly the same as the Visual C projects. embed version info into .dll and .exes that are redistributed.
* Merge pull request #691 from lz4/listYann Collet2019-04-231-0/+1
|\ | | | | --list
| * refactored --list functionYann Collet2019-04-221-0/+1
| | | | | | | | | | | | | | better handling of special conditions, better scoping of variables. Also : updated man page
* | Merge pull request #689 from JPeterMugaas/jpm-makefileYann Collet2019-04-221-11/+3
|\ \ | |/ |/| Jpm makefile - as described in https://github.com/lz4/lz4/issues/688
| * Fix a test for mingwJPeterMugaas2019-04-221-1/+1
| |
| * Try to put some tests I made in ONE place. I also moved a test for ↵JPeterMugaas2019-04-221-67/+2
| | | | | | | | "install" in one place to try to isolate it.
| * Initial commits from diff I submitted earlierJPeterMugaas2019-04-221-7/+64
| |
* | ensure tests work when `stdout` is not the consoleYann Collet2019-04-221-1/+1
| | | | | | | | | | | | | | ensure this case is continuously tested on travis. Update documentation on implicit output, invite to not rely on implicit output in scripts.
* | tests/Makefile : created CMP variableYann Collet2019-04-211-6/+8
| | | | | | | | | | | | for potential redirection, if need be. note : should probably converge all comparison operations onto CMP
* | cli: display a warning whenever default output is stdout while input != stdinYann Collet2019-04-201-13/+13
|/ | | | | | | | | | | | | This behavior has been preserved for compatibility with existing ecosystem. But it's problematic, as some environment start `lz4` without identifying stdout as console by default, leading to a change of behavior for a same line of script. A more sensible policy would be to default to stdout only when input is stdin. Soft change for the time being : keep the behavior, just print a warning message. User should prefer `-c` to explicitly select `stdout`. Also : updated tests in Makefile to explicitly select `stdout` with `-c`.