clamav/unit_tests/check_clamav_skip.c
Micah Snyder (micasnyd) be2a91cc56 bb12596: Fix build issue when libcheck missing
If libcheck is missing, the unit tests are skipped. Header include path
changes mean clamav.h is not available when the unit tests are skipped,
and thus the check_clamav_skip.c files won't compile. This patch
removes the clamav.h dependency so `make check` will "work".
2020-08-24 15:11:07 -07:00

10 lines
254 B
C

#include <stdio.h>
int main(int argc, char **argv)
{
(void)argc;
(void)argv;
puts("\n*** Unit tests disabled in this build\n*** Use ./configure --enable-check to enable them\n");
/* tell automake the test was skipped */
return 77;
}