summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add _destSize() to FullbenchW. Felix Handte2018-04-261-6/+12
| |
* | Multiply-Include Header to Check Guard Macro CorrectnessW. Felix Handte2018-04-241-0/+3
| |
* | Change Over Includes in the ProjectW. Felix Handte2018-04-241-1/+2
| |
* | Merge pull request #512 from lz4/HC_dictYann Collet2018-04-241-1/+49
|\ \ | | | | | | In-place unmutable dictionaries for LZ4HC
| * | Remove the Framebench ToolW. Felix Handte2018-04-242-417/+1
| | |
| * | Add Some Simple Fuzzer TestsW. Felix Handte2018-04-201-1/+49
| | |
| * | Fix Framebench Output Buffer SizingW. Felix Handte2018-04-201-0/+3
| | |
| * | Fix CastW. Felix Handte2018-04-201-2/+3
| | |
| * | Print Failure Message in FramebenchW. Felix Handte2018-04-201-2/+16
| | |
| * | Switch to Unaligned Samples to Compress Different Blobs Each TimeW. Felix Handte2018-04-201-32/+21
| | |
| * | Fix Framebench StatisticsW. Felix Handte2018-04-201-3/+3
| | |
| * | Add Run Name to Frame Bench OutputW. Felix Handte2018-04-201-6/+9
| | |
| * | Auto-Calculate Appropriate Repetition CountW. Felix Handte2018-04-201-38/+29
| | |
| * | Print More Detailed Results Inside bench(), Add Compression LevelsW. Felix Handte2018-04-201-52/+51
| | |
| * | Check Compressed Buffer is Correct in Frame BenchW. Felix Handte2018-04-201-14/+65
| | |
| * | Add HC Calls to FramebenchW. Felix Handte2018-04-201-17/+82
| | |
| * | Restore Framebench ToolW. Felix Handte2018-04-202-1/+301
| |/ | | | | | | This reverts commit 70f14823a46719e81e808d9ed9df90f478bcfd3f.
* | fullbench compiled without assert()Cyan49732018-04-231-1/+2
| | | | | | | | to better reflect release speed
* | Fix compilation error and assert.Nick Terrell2018-04-231-1/+0
| |
* | Fix input size validation edge casesNick Terrell2018-04-231-0/+26
|/ | | | | | | | | | | | | | | | | The bug is a read up to 2 bytes past the end of the buffer. There are three cases for this bug, one for each test case added. * An empty input causes `token = *ip++` to read one byte too far. * A one byte input with `(token >> ML_BITS) == RUN_MASK` causes one extra byte to be read without validation. This could be combined with the first bug to cause 2 extra bytes to be read. * The case pointed out in issue #508, where `ip == iend` at the beginning of the loop after taking the shortcut. Benchmarks show no regressions on clang or gcc-7 on both my mac and devserver. Fixes #508.
* edited a few traces for debuggingYann Collet2018-04-171-3/+3
|
* fixed fuzzer testsYann Collet2018-04-161-15/+17
| | | | which were modified in parallel within branc `dev`
* Merge branch 'dev' into lowAddrYann Collet2018-04-162-10/+106
|\
| * Further Test that ExtDictCtx Mode Produces the Exact Same OutputW. Felix Handte2018-04-131-2/+21
| |
| * Add Tests for LZ4_attach_dictionary and FriendsW. Felix Handte2018-04-131-0/+78
| |
| * allow system-defined CPPFLAGS in /testsYann Collet2018-04-111-1/+1
| |
| * reduced test time on circle-ciYann Collet2018-04-111-7/+6
| |
* | modified a few traces for debugtest49732018-04-121-1/+3
| |
* | fix minor conversion warningtest49732018-04-101-1/+1
| | | | | | | | cast from void not implicit for C++
* | noticed a bug when re-using hash tabletest49732018-04-061-30/+29
| | | | | | | | ./fuzzer -vv -s4217 -t7518
* | fixed lz4 compression starting at small addresstest49732018-04-051-1/+1
| | | | | | | | when using byU32 and byU16 modes
* | Merge branch 'dev' into lowAddrtest49732018-04-042-24/+32
|\ \ | |/
| * 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.
| * Remove Framebench ToolW. Felix Handte2018-03-142-300/+1
| |
| * Restore checkTag CleaningW. Felix Handte2018-03-131-1/+1
| |
| * Renames and Comment FixesW. Felix Handte2018-03-121-1/+1
| |
| * Make LZ4F_compressFrame_usingCDict Take a Compression ContextW. Felix Handte2018-03-122-8/+13
| |
| * Avoid Resetting the Context When PossibleW. Felix Handte2018-03-121-1/+1
| |
| * Add Bounds Check to locateBuffDiffW. Felix Handte2018-03-121-3/+5
| |
| * Add a Benchmarking Tool For Compression with Context Re-UseW. Felix Handte2018-03-122-2/+299
| |
| * added target make checkYann Collet2018-02-261-13/+16
| | | | | | | | | | | | | | | | | | | | according to GNU Makefile conventions, the Makefile should feature a make check target to self-test the generated program: https://www.gnu.org/prep/standards/html_node/Standard-Targets.html . this is much less thorough and less taxing than `make test`, and can be run on any target in a reasonable timeframe (several seconds).
* | added low address fuzzer teststest49732018-03-212-53/+63
| |
* | fuzzer: added low address compression testYann Collet2018-02-051-1/+45
|/ | | | is expected to work on linux+gcc only.
* added checkTagYann Collet2018-01-153-1/+84
| | | | | checkTag verifies that provided tag and library version match. It's started automatically in circleCI when a new tag is created.
* object files in /testsYann Collet2017-12-271-5/+10
| | | | | | object files created from /tests are compiled with specific flags (`-g -DLZ4_DEBUG=1`) which are not welcomed in release binary. `lib/*.o` files created from /tests are now stored in /tests, to avoid unintentional mix.
* lz4opt supports _destSizeYann Collet2017-12-221-7/+8
| | | | no longer limited to level 9
* /tests programs compiled with LZ4_DEBUG=1Yann Collet2017-12-222-25/+24
| | | | to enable assert() within /lib
* unified HC levelsYann Collet2017-11-031-6/+6
| | | | | LZ4_setCompressionLevel() can be users accross the whole range of HC levels No more transition issue between Optimal and HC modes
* Add some tests verifying command line dictionary functionalityW. Felix Handte2017-10-101-1/+28
|
* removed test-fasttestYann Collet2017-08-251-1/+1
|