2003-04-30 Havoc Pennington <hp@redhat.com>
authorHavoc Pennington <hp@redhat.com>
Wed, 30 Apr 2003 21:24:41 +0000 (21:24 +0000)
committerHavoc Pennington <hp@redhat.com>
Wed, 30 Apr 2003 21:24:41 +0000 (21:24 +0000)
* configure.in: print a note when building with unit tests and
without assertions

ChangeLog
configure.in

index a986844..7499fc4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
 
index 9175911..ffe7107 100644 (file)
@@ -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