Skip to content

Commit

Permalink
Merge pull request #1619 from jpalus/no-tests-normal-build
Browse files Browse the repository at this point in the history
build: don't compile tests during normal build
  • Loading branch information
giuseppe authored Dec 9, 2024
2 parents ae05b08 + 9e3615a commit ca39d7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
1 change: 1 addition & 0 deletions tests/fuzzing/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca39d7c

Please sign in to comment.