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 a9868449ca8994af25b2db64ca68d71c42801d21..7499fc43a278b71d93b6ae2ce7e0b38718442354 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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
index 917591175490f799f2550b686a75cb87dc1e17a8..ffe7107fe51f64d2aa060488f1f000344b72060a 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