n2n/include
Hamish Coleman b735ad6b9e
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 15:26:06 +05:45
..
aes.h switched to 2021 (#632) 2021-02-08 16:11:06 +05:45
auth.h addressed all but one of the remaining compile warnings (#793) 2021-09-16 14:45:46 +05:45
cc20.h switched to 2021 (#632) 2021-02-08 16:11:06 +05:45
curve25519.h added user-password edge authentication (#673) 2021-06-04 03:11:22 +05:45
edge_utils_win32.h switched to 2021 (#632) 2021-02-08 16:11:06 +05:45
header_encryption.h addressed all but one of the remaining compile warnings (#793) 2021-09-16 14:45:46 +05:45
hexdump.h added test framework and code coverage reporting (#797) 2021-09-27 15:26:06 +05:45
lzoconf.h updated minilzo 2020-08-15 23:26:21 +05:45
lzodefs.h updated minilzo 2020-08-15 23:26:21 +05:45
minilzo.h updated minilzo 2020-08-15 23:26:21 +05:45
n2n_define.h created space for more REGISTER type cookies 2021-09-27 02:29:29 +05:45
n2n_regex.h switched to 2021 (#632) 2021-02-08 16:11:06 +05:45
n2n_typedefs.h added supernode version and uptime information to edge management port output (#796) 2021-09-17 02:34:09 +05:45
n2n_wire.h added preferred socket handling (-e) (#765) 2021-09-09 14:07:29 +05:45
n2n.h relocated 'detect_local_ip_address()' (#791) 2021-09-16 12:20:35 +05:45
network_traffic_filter.h switched to 2021 (#632) 2021-02-08 16:11:06 +05:45
pearson.h switched to Pearson B. Hashing (#570) 2021-01-07 11:15:40 +01:00
portable_endian.h Android compilation fixes 2020-06-28 19:46:12 +02:00
random_numbers.h fix windows compile (#636) 2021-02-10 15:16:16 +05:45
sn_selection.h skewed supernode selection for the benefit of current supernode in no-pong case (#663) 2021-03-16 23:24:39 +05:45
speck.h added user-password edge authentication (#673) 2021-06-04 03:11:22 +05:45
tf.h switched to 2021 (#632) 2021-02-08 16:11:06 +05:45
uthash.h Code reorganization 2020-06-21 22:26:27 +02:00