From 987ce0abaa787246e452a7e431306fbe6cb68e19 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Wed, 30 Apr 2003 21:24:41 +0000 Subject: 2003-04-30 Havoc Pennington * configure.in: print a note when building with unit tests and without assertions --- ChangeLog | 5 +++++ configure.in | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index a9868449..7499fc43 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-04-30 Havoc Pennington + + * configure.in: print a note when building with unit tests and + without assertions + 2003-04-30 Havoc Pennington * Makefile.am: add a check-local that complains if you didn't diff --git a/configure.in b/configure.in index 91759117..ffe7107f 100644 --- a/configure.in +++ b/configure.in @@ -638,6 +638,9 @@ echo " if test x$enable_tests = xyes; then echo "NOTE: building with unit tests increases the size of the installed library and renders it insecure." fi +if test x$enable_tests = xyes -a x$enable_asserts = xno; then + echo "NOTE: building with unit tests but without assertions means tests may not properly report failures (this configuration is only useful when doing something like profiling the tests)" +fi if test x$enable_gcov = xyes; then echo "NOTE: building with coverage profiling is definitely for developers only." fi -- cgit