summaryrefslogtreecommitdiffstats
path: root/tests/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* 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`.
* added tests for -d -m -cYann Collet2019-04-121-10/+24
| | | | seems to work properly
* fixed lz4 -m -cYann Collet2019-04-121-3/+12
| | | | can compress multiple files into stdout
* added command -BI for "Independent Blocks"Yann Collet2019-04-121-1/+1
| | | | | | | | This is the reverse of `-BD`, and the current default. This command can be useful to reverse a previous `-BD` command. It may in the future be more important if `lz4` switches to generating dependent blocks by default.
* fixed cleaning tmp directoryYann Collet2019-04-081-3/+3
|
* slightly faster huge file testYann Collet2019-04-081-1/+1
| | | | | level down 5->4 size down 6G->5G
* added make list target to testsYann Collet2019-04-081-0/+6
|
* Fix pass-through modeTim Zakian2019-01-101-3/+6
|
* Add test to cover issue #596Ruben O. Chiavone2019-01-091-0/+5
|
* [amalgamation] lz4frame.cBing Xu2018-11-261-0/+1
|
* [amalgamation] add testBing Xu2018-11-161-1/+7
|
* support custom block sizesBlaise Sanouillet2018-09-281-2/+6
|
* Add support for MidnightBSDLucas Holt2018-09-081-1/+1
|
* Merge pull request #563 from lz4/docDictYann Collet2018-09-061-1/+2
|\ | | | | updated documentation for dictionary compression
| * updated documentation regarding dictionary compressionYann Collet2018-09-051-1/+2
| | | | | | | | | | | | following suggestion from @stbrumme (#558) Also : bumped version number, regenerated man page and html doc
* | new test program : roundTripTestYann Collet2018-09-041-1/+4
|/ | | | | | | | make a round trip test with arbitrary input file, generate an `abort()` on error, to work in tandem with `afl`. note : currently locked on level 9, to investigate #560.
* Fixed bugs about incorrect acceleration calculation and benchmarking ↵Jennifer Liu2018-06-271-2/+1
| | | | negative compresion level
* Fixed invalid argument test and reformatted elseJennifer Liu2018-06-271-2/+2
|
* Fixed code based on comments from pull requestJennifer Liu2018-06-271-2/+7
|
* Fixed lz4 not found error part 2Jennifer Liu2018-06-261-3/+3
|
* Fixed lz4 not found errorJennifer Liu2018-06-261-3/+3
|
* Fixed bug about file to be compressed is not presentJennifer Liu2018-06-261-4/+3
|
* Added --fast command to cliJennifer Liu2018-06-261-0/+6
|
* Add Haiku as a validated target.fbrosson2018-05-171-1/+1
| | | | lz4 1.8.2 works fine on Haiku and passes all tests.
* Attempt to fix travisNick Terrell2018-05-041-1/+4
|
* Fix make installNick Terrell2018-05-041-1/+4
| | | | | | | | | * Uninstall didn't remove the pkg-config correctly. * Fix `mandir` * Allow overriding either upper- or lower-case location variables, but always use the lower case variables. * Add test case that ensures overriding both upper- and lower-case variables is the same, and that the directory is empty after uninstall.
* fullbench compiled without assert()Cyan49732018-04-231-1/+2
| | | | to better reflect release speed
* Merge branch 'dev' into lowAddrYann Collet2018-04-161-8/+7
|\
| * allow system-defined CPPFLAGS in /testsYann Collet2018-04-111-1/+1
| |
| * reduced test time on circle-ciYann Collet2018-04-111-7/+6
| |
* | Merge branch 'dev' into lowAddrtest49732018-04-041-13/+16
|\ \ | |/
| * Add Dependency to Fix Parallel `make test` RunsW. Felix Handte2018-03-211-1/+1
| | | | | | | | | | | | When run with `-jN`, the `rm tmp*` can run in the middle of the `test-lz4-dict` job, which will then fail, finding its files to have been axed. This adds a dependency between the two.