Test multiple ndpiReader configurations (#1931)
Extend internal unit tests to handle multiple configurations. As some examples, add tests about: * disabling some protocols * disabling Ookla aggressiveness Every configurations data is stored in a dedicated directory under `tests\cfgs`
This commit is contained in:
+1
-1
@@ -337,7 +337,7 @@ fuzz_gcrypt_light_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
|
||||
# required for Google oss-fuzz
|
||||
# see https://github.com/google/oss-fuzz/tree/master/projects/ndpi
|
||||
testpcaps := $(wildcard ../tests/pcap/*.pcap*)
|
||||
testpcaps := $(wildcard ../tests/cfgs/default/pcap/*.pcap*)
|
||||
|
||||
fuzz_ndpi_reader_seed_corpus.zip: $(testpcaps)
|
||||
zip -j fuzz_ndpi_reader_seed_corpus.zip $(testpcaps)
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ if BUILD_UNITTESTS
|
||||
TESTS += do-unit.sh
|
||||
endif
|
||||
|
||||
EXTRA_DIST = pcap result performance \
|
||||
EXTRA_DIST = cfgs/*/pcap cfgs/*/result cfgs/*/*.txt performance \
|
||||
unit/unit.c unit/Makefile.in \
|
||||
dga/dga_evaluate.c dga/Makefile.in dga/README.md dga/test_dga.csv dga/test_non_dga.csv do-dga.sh \
|
||||
do-unit.sh do.sh.in ossfuzz.sh
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user