Skip to content

Commit d4d8029

Browse files
committed
tests: list this branch's unit-mcdc white-boxes in EXTRA_DIST
The tests/unit-mcdc/*.c MC/DC white-box supplements this branch adds each #include a wolfCrypt .c and carry their own main(); they are built standalone by the per-module coverage campaign and are NOT compiled into libwolfssl or unit.test (that would duplicate main()/symbols). They are test-only. The source-completeness check (per-PR diff) requires every file a PR adds to appear in an include.am. Since these cannot be tests_unit_test_SOURCES, list them in EXTRA_DIST -- the same bucket tests/api/include.am uses for its non-compiled files -- so they ship in the dist tarball without being built. Scope: only the white-boxes this branch introduces.
1 parent 0cbbfbe commit d4d8029

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

tests/include.am

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,22 @@ EXTRA_DIST += tests/unit.h \
101101
tests/freertos-mem-track-repro/task.h \
102102
tests/freertos-mem-track-repro/run.sh
103103
DISTCLEANFILES+= tests/.libs/unit.test
104+
105+
# MC/DC white-box supplements added by this branch (tests/unit-mcdc/): each
106+
# #includes a wolfCrypt .c and has its own main(), so they are built
107+
# standalone by the per-module coverage campaign, never compiled into
108+
# libwolfssl or unit.test. Test-only -> EXTRA_DIST (not tests_unit_test_SOURCES),
109+
# same bucket tests/api/include.am uses for its non-compiled files.
110+
EXTRA_DIST += \
111+
tests/unit-mcdc/test_blake2b_whitebox.c \\
112+
tests/unit-mcdc/test_blake2s_whitebox.c \\
113+
tests/unit-mcdc/test_cryptocb_whitebox.c \\
114+
tests/unit-mcdc/test_eccsi_whitebox.c \\
115+
tests/unit-mcdc/test_hpke_whitebox.c \\
116+
tests/unit-mcdc/test_logging_globalq_whitebox.c \\
117+
tests/unit-mcdc/test_logging_whitebox.c \\
118+
tests/unit-mcdc/test_memory_whitebox.c \\
119+
tests/unit-mcdc/test_sakke_whitebox.c \\
120+
tests/unit-mcdc/test_sp_c32_whitebox.c \\
121+
tests/unit-mcdc/test_sp_c64_whitebox.c \\
122+
tests/unit-mcdc/test_sp_x86_64_whitebox.c

0 commit comments

Comments
 (0)