diff --git a/Makefile.am b/Makefile.am index 01452c8184..8980797164 100644 --- a/Makefile.am +++ b/Makefile.am @@ -168,7 +168,7 @@ else noinst_PROGRAMS = crun endif -noinst_PROGRAMS += tests/init $(UNIT_TESTS) tests/tests_libcrun_fuzzer +check_PROGRAMS = tests/init $(UNIT_TESTS) tests/tests_libcrun_fuzzer TESTS_LDADD = libcrun_testing.la $(FOUND_LIBS) $(maybe_libyajl.la) diff --git a/tests/fuzzing/run-tests.sh b/tests/fuzzing/run-tests.sh index ac7e9398df..bd4859c030 100755 --- a/tests/fuzzing/run-tests.sh +++ b/tests/fuzzing/run-tests.sh @@ -17,6 +17,7 @@ git clean -fdx ./autogen.sh ./configure --enable-embedded-yajl HFUZZ_CC_UBSAN=1 HFUZZ_CC_ASAN=1 CC=hfuzz-clang CPPFLAGS="-D FUZZER" CFLAGS="-ggdb3 -fsanitize-coverage=trace-pc-guard,trace-cmp,trace-div,indirect-calls" make -j "$(nproc)" +make -j "$(nproc)" tests/tests_libcrun_fuzzer mkdir rootfs mkdir random-data