n2n/tests/tests-compress.expected

45 lines
2.8 KiB
Plaintext
Raw Normal View History

added test framework and code coverage reporting (#797) * Add a simple test framework * Add a code coverage report example oneliner * Move the coverage report into a separate directory * Add a github action to run tests and publish a branch with the coverage report * Fix: Missing job separator * Fix: remember to actually run configure * Fix: Gotta autogen before I configure * Dont try to upload coverage report unless this is a push * Clearly show the git ref tested in the coverage report * Add a test for the various transforms * Add tests for the elliptic curve and pearson hash * Ensure we ignore new generated output * Remove unneeded boilerplate from the compression tests * Add an example of a test of the encoded wire packets * Ensure that correctly testable data is output even when zstd is not compiled * Factor test runner out into its own script and attempt to add it to the cmake file * Tell cmake about a new object file * Stop trying to make Cmake work... * Stop trying to make cmake work, round 2 * In the middle of a thousand lines of cmake output was one important one - windows could not find assert() - try again * Try again to plumb the tests into cmake * Add missing library to our superset install line * Fix build error when libcap-dev is installed * Switch to using artifact uploads instead of pages to store/show the coverage report * Fix artifact upload yaml * Upload coverage report to codecov * Fix codecov - clearly it doesnt do a recursive search for coverage files * Fix codecov - my hopeful use of a list of directories didnt work * Fix codecov - unfortunately, it doesnt just consume the coverage data and needs us to generate the gcov output * Fix codecov - nope, it still doesnt recursively search * Fix codecov - it really helps if I run the gcov data generator * Add a simple matrix build * Fix older ubuntu versions of gcovr that do not support the '--html-title' option * Ensure we use gcover options that are identical on older ubuntu * Improve coverage generation and required build packages
2021-09-27 11:41:06 +02:00
original: input size = 0x200
000: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
010: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
020: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
030: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
040: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
050: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
060: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
070: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
080: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
090: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
0a0: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
0b0: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
0c0: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
0d0: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
0e0: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
0f0: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
100: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
110: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
120: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
130: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
140: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
150: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
160: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
170: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
180: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
190: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
1a0: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
1b0: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
1c0: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
1d0: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
1e0: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
1f0: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | |
lzo1x: output size = 0x2f
000: 0d 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e | |
010: 0f 20 00 bc 3c 00 00 02 0c 0d 0e 0f 00 01 02 03 | < |
020: 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 11 00 00 | |
zstd: output size = 0x21
000: 28 b5 2f fd 60 00 01 bd 00 00 80 00 01 02 03 04 |( / ` |
010: 05 06 07 08 09 0a 0b 0c 0d 0e 0f 01 00 da 47 9d | G |
020: 4b |K|