Don't build or install test libraries with make and make install.

Using make check builds but does not install them.
This commit is contained in:
Juho Hiltunen
2018-03-31 11:55:41 +03:00
parent 9f0fbed8ac
commit 52b999ab4e
+3 -3
View File
@@ -30,7 +30,7 @@ man1_MANS =
noinst_bin_PROGRAMS =
noinst_bindir =
noinst_lib_LTLIBRARIES =
check_LTLIBRARIES =
noinst_libdir =
##### ChangeLog:
@@ -220,7 +220,7 @@ src_espeak_ng_SOURCES = src/espeak-ng.c
# Test version of libespeak-ng.so with access to the internal APIs, so they can
# be accessed in the test code. This version should not be installed, as the
# internal APIs are not guaranteed to be stable between releases.
lib_LTLIBRARIES += src/libespeak-ng-test.la
check_LTLIBRARIES += src/libespeak-ng-test.la
src_libespeak_ng_test_la_LDFLAGS = $(src_libespeak_ng_la_LDFLAGS)
src_libespeak_ng_test_la_CFLAGS = \
@@ -264,7 +264,7 @@ check: tests/encoding.check \
if !HAVE_LIBFUZZER
# libfuzzrunner is a stub implementation of libFuzzer that calls the
# LLVMFuzzerTestOneInput with the files passed to the fuzzer program.
lib_LTLIBRARIES += tests/libfuzzrunner.la
check_LTLIBRARIES += tests/libfuzzrunner.la
tests_libfuzzrunner_la_CFLAGS = -Isrc/libespeak-ng ${AM_CFLAGS}
tests_libfuzzrunner_la_SOURCES = tests/fuzzrunner.c
endif