• Home
  • Raw
  • Download

Lines Matching +full:no +full:- +full:unit +full:- +full:test

1 # SPDX-License-Identifier: MIT
18 AC_CONFIG_AUX_DIR([build-aux])
21 AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz subdir-objects])
40 if test "x$lt_cv_prog_gnu_ld" = "xyes"; then
42 -Wl,--as-needed \
43 -Wl,--gc-sections \
44 -Wl,-z,relro \
45 -Wl,-z,now])
61 PKG_CHECK_MODULES(CHECK, [check >= 0.9.9], [HAVE_CHECK="yes"], [HAVE_CHECK="no"])
62 if test "x$HAVE_CHECK" = "xyes"; then
65 AC_MSG_WARN([check not found - skipping building unit tests])
67 AM_CONDITIONAL(HAVE_VALGRIND, [test "x$VALGRIND" != "x"])
68 AM_CONDITIONAL(ENABLE_RUNTIME_TESTS, [test "x$HAVE_CHECK" = "xyes"])
69 AM_CONDITIONAL(ENABLE_STATIC_LINK_TEST, [test "x$enable_static" = "xyes"])
72 if test "x$GCC" = "xyes"; then
74 -Wall \
75 -Wextra \
76 -Wno-unused-parameter \
77 -Wstrict-prototypes \
78 -Wmissing-prototypes \
79 -fvisibility=hidden \
80 -pipe \
81 -fno-strict-aliasing \
82 -ffunction-sections \
83 -fdata-sections \
84 -fno-strict-aliasing \
85 -fdiagnostics-show-option \
86 -fno-common])
91 if test "x$DOXYGEN" = "x"; then
92 AC_MSG_WARN([doxygen not found - required for documentation])
93 have_doxygen="no"
97 AM_CONDITIONAL([HAVE_DOXYGEN], [test "x$have_doxygen" = "xyes"])
101 [AS_HELP_STRING([--enable-gcov],
104 [enable_gcov=no],
106 AS_IF([test "x$enable_gcov" != "xno"],
108 GCOV_CFLAGS="-fprofile-arcs -ftest-coverage"
109 GCOV_LDFLAGS="-lgcov"
113 AM_CONDITIONAL([GCOV_ENABLED], [test "x$enable_gcov" != "xno"])
120 [AS_HELP_STRING([--enable-coverity],
123 [enable_coverity=no],
125 AS_IF([test "x$enable_coverity" != "xno"],
142 AM_CONDITIONAL(HAVE_NM, [test "x$NM" != "x"])
143 if test "x$enable_static" = "xno"; then
144 static_symbol_leaks_test="no - static build disabled"
146 if test "x$NM" = "x"; then
147 AC_MSG_WARN([nm not found - skipping symbol leak test])
148 have_nm="no"
149 static_symbol_leaks_test="no - nm not found"
156 AM_CONDITIONAL(ENABLE_STATIC_SYMBOL_LEAKS_TEST, [test "x$static_symbol_leaks_test" = "xyes"])
164 test/Makefile
173 Enable unit-tests ${HAVE_CHECK}