ss_info_dassert now enabled also in release mode.
This commit is contained in:
@ -27,6 +27,13 @@
|
|||||||
* @endverbatim
|
* @endverbatim
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// To ensure that ss_info_assert asserts also when builing in non-debug mode.
|
||||||
|
#if !defined(SS_DEBUG)
|
||||||
|
#define SS_DEBUG
|
||||||
|
#endif
|
||||||
|
#if defined(NDEBUG)
|
||||||
|
#undef NDEBUG
|
||||||
|
#endif
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
@ -27,6 +27,13 @@
|
|||||||
* @endverbatim
|
* @endverbatim
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// To ensure that ss_info_assert asserts also when builing in non-debug mode.
|
||||||
|
#if !defined(SS_DEBUG)
|
||||||
|
#define SS_DEBUG
|
||||||
|
#endif
|
||||||
|
#if defined(NDEBUG)
|
||||||
|
#undef NDEBUG
|
||||||
|
#endif
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
@ -28,6 +28,13 @@
|
|||||||
* @endverbatim
|
* @endverbatim
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// To ensure that ss_info_assert asserts also when builing in non-debug mode.
|
||||||
|
#if !defined(SS_DEBUG)
|
||||||
|
#define SS_DEBUG
|
||||||
|
#endif
|
||||||
|
#if defined(NDEBUG)
|
||||||
|
#undef NDEBUG
|
||||||
|
#endif
|
||||||
#define FAILTEST(s) printf("TEST FAILED: " s "\n");return 1;
|
#define FAILTEST(s) printf("TEST FAILED: " s "\n");return 1;
|
||||||
#include <my_config.h>
|
#include <my_config.h>
|
||||||
#include <mysql.h>
|
#include <mysql.h>
|
||||||
|
|||||||
@ -27,6 +27,13 @@
|
|||||||
* @endverbatim
|
* @endverbatim
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// To ensure that ss_info_assert asserts also when builing in non-debug mode.
|
||||||
|
#if !defined(SS_DEBUG)
|
||||||
|
#define SS_DEBUG
|
||||||
|
#endif
|
||||||
|
#if defined(NDEBUG)
|
||||||
|
#undef NDEBUG
|
||||||
|
#endif
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
@ -27,6 +27,13 @@
|
|||||||
* @endverbatim
|
* @endverbatim
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// To ensure that ss_info_assert asserts also when builing in non-debug mode.
|
||||||
|
#if !defined(SS_DEBUG)
|
||||||
|
#define SS_DEBUG
|
||||||
|
#endif
|
||||||
|
#if defined(NDEBUG)
|
||||||
|
#undef NDEBUG
|
||||||
|
#endif
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
@ -27,6 +27,13 @@
|
|||||||
* @endverbatim
|
* @endverbatim
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// To ensure that ss_info_assert asserts also when builing in non-debug mode.
|
||||||
|
#if !defined(SS_DEBUG)
|
||||||
|
#define SS_DEBUG
|
||||||
|
#endif
|
||||||
|
#if defined(NDEBUG)
|
||||||
|
#undef NDEBUG
|
||||||
|
#endif
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@ -154,7 +161,6 @@ static bool do_hashtest(
|
|||||||
|
|
||||||
ss_dfprintf(stderr, "\t\t..done\n\nTest completed successfully.\n\n");
|
ss_dfprintf(stderr, "\t\t..done\n\nTest completed successfully.\n\n");
|
||||||
|
|
||||||
CHK_HASHTABLE(h);
|
|
||||||
hashtable_free(h);
|
hashtable_free(h);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -27,6 +27,13 @@
|
|||||||
* @endverbatim
|
* @endverbatim
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// To ensure that ss_info_assert asserts also when builing in non-debug mode.
|
||||||
|
#if !defined(SS_DEBUG)
|
||||||
|
#define SS_DEBUG
|
||||||
|
#endif
|
||||||
|
#if defined(NDEBUG)
|
||||||
|
#undef NDEBUG
|
||||||
|
#endif
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
@ -27,6 +27,13 @@
|
|||||||
* @endverbatim
|
* @endverbatim
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// To ensure that ss_info_assert asserts also when builing in non-debug mode.
|
||||||
|
#if !defined(SS_DEBUG)
|
||||||
|
#define SS_DEBUG
|
||||||
|
#endif
|
||||||
|
#if defined(NDEBUG)
|
||||||
|
#undef NDEBUG
|
||||||
|
#endif
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|||||||
@ -27,6 +27,13 @@
|
|||||||
* @endverbatim
|
* @endverbatim
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// To ensure that ss_info_assert asserts also when builing in non-debug mode.
|
||||||
|
#if !defined(SS_DEBUG)
|
||||||
|
#define SS_DEBUG
|
||||||
|
#endif
|
||||||
|
#if defined(NDEBUG)
|
||||||
|
#undef NDEBUG
|
||||||
|
#endif
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
@ -27,6 +27,13 @@
|
|||||||
* @endverbatim
|
* @endverbatim
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// To ensure that ss_info_assert asserts also when builing in non-debug mode.
|
||||||
|
#if !defined(SS_DEBUG)
|
||||||
|
#define SS_DEBUG
|
||||||
|
#endif
|
||||||
|
#if defined(NDEBUG)
|
||||||
|
#undef NDEBUG
|
||||||
|
#endif
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
@ -27,6 +27,13 @@
|
|||||||
* @endverbatim
|
* @endverbatim
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// To ensure that ss_info_assert asserts also when builing in non-debug mode.
|
||||||
|
#if !defined(SS_DEBUG)
|
||||||
|
#define SS_DEBUG
|
||||||
|
#endif
|
||||||
|
#if defined(NDEBUG)
|
||||||
|
#undef NDEBUG
|
||||||
|
#endif
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
@ -27,6 +27,13 @@
|
|||||||
* @endverbatim
|
* @endverbatim
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// To ensure that ss_info_assert asserts also when builing in non-debug mode.
|
||||||
|
#if !defined(SS_DEBUG)
|
||||||
|
#define SS_DEBUG
|
||||||
|
#endif
|
||||||
|
#if defined(NDEBUG)
|
||||||
|
#undef NDEBUG
|
||||||
|
#endif
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
@ -27,6 +27,13 @@
|
|||||||
* @endverbatim
|
* @endverbatim
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// To ensure that ss_info_assert asserts also when builing in non-debug mode.
|
||||||
|
#if !defined(SS_DEBUG)
|
||||||
|
#define SS_DEBUG
|
||||||
|
#endif
|
||||||
|
#if defined(NDEBUG)
|
||||||
|
#undef NDEBUG
|
||||||
|
#endif
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user