diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 3 |
2 files changed, 8 insertions, 0 deletions
@@ -1,5 +1,10 @@ 2003-04-30 Havoc Pennington <hp@redhat.com> + * configure.in: print a note when building with unit tests and + without assertions + +2003-04-30 Havoc Pennington <hp@redhat.com> + * Makefile.am: add a check-local that complains if you didn't configure with --enable-tests 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 |