test: #undef NDEBUG so assert is not compiled away

This commit is contained in:
Matt Turner 2021-12-07 21:39:58 -08:00 committed by Peter Hutterer
parent 089e7f98f8
commit d189102c78
24 changed files with 72 additions and 0 deletions

View File

@ -31,6 +31,9 @@
* them.
*/
/* Test relies on assert() */
#undef NDEBUG
#include <assert.h>
#include <stdbool.h>
#include <stdio.h>

View File

@ -21,6 +21,9 @@
* DEALINGS IN THE SOFTWARE.
*/
/* Test relies on assert() */
#undef NDEBUG
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -21,6 +21,9 @@
* DEALINGS IN THE SOFTWARE.
*/
/* Test relies on assert() */
#undef NDEBUG
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -21,6 +21,9 @@
* DEALINGS IN THE SOFTWARE.
*/
/* Test relies on assert() */
#undef NDEBUG
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -21,6 +21,9 @@
* DEALINGS IN THE SOFTWARE.
*/
/* Test relies on assert() */
#undef NDEBUG
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -21,6 +21,9 @@
* DEALINGS IN THE SOFTWARE.
*/
/* Test relies on assert() */
#undef NDEBUG
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -26,6 +26,9 @@
* provided in os/ subdirectory for some platforms.
*/
/* Test relies on assert() */
#undef NDEBUG
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -21,6 +21,9 @@
* DEALINGS IN THE SOFTWARE.
*/
/* Test relies on assert() */
#undef NDEBUG
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -21,6 +21,9 @@
* DEALINGS IN THE SOFTWARE.
*/
/* Test relies on assert() */
#undef NDEBUG
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -21,6 +21,9 @@
* DEALINGS IN THE SOFTWARE.
*/
/* Test relies on assert() */
#undef NDEBUG
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -21,6 +21,9 @@
* DEALINGS IN THE SOFTWARE.
*/
/* Test relies on assert() */
#undef NDEBUG
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -21,6 +21,9 @@
* DEALINGS IN THE SOFTWARE.
*/
/* Test relies on assert() */
#undef NDEBUG
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -20,6 +20,9 @@
* DEALINGS IN THE SOFTWARE.
*/
/* Test relies on assert() */
#undef NDEBUG
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -21,6 +21,9 @@
* DEALINGS IN THE SOFTWARE.
*/
/* Test relies on assert() */
#undef NDEBUG
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -21,6 +21,9 @@
* DEALINGS IN THE SOFTWARE.
*/
/* Test relies on assert() */
#undef NDEBUG
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -21,6 +21,9 @@
* DEALINGS IN THE SOFTWARE.
*/
/* Test relies on assert() */
#undef NDEBUG
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -21,6 +21,9 @@
* DEALINGS IN THE SOFTWARE.
*/
/* Test relies on assert() */
#undef NDEBUG
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -21,6 +21,9 @@
* DEALINGS IN THE SOFTWARE.
*/
/* Test relies on assert() */
#undef NDEBUG
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -21,6 +21,9 @@
* DEALINGS IN THE SOFTWARE.
*/
/* Test relies on assert() */
#undef NDEBUG
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -21,6 +21,9 @@
* DEALINGS IN THE SOFTWARE.
*/
/* Test relies on assert() */
#undef NDEBUG
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -21,6 +21,9 @@
* DEALINGS IN THE SOFTWARE.
*/
/* Test relies on assert() */
#undef NDEBUG
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -21,6 +21,9 @@
* DEALINGS IN THE SOFTWARE.
*/
/* Test relies on assert() */
#undef NDEBUG
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -21,6 +21,9 @@
* DEALINGS IN THE SOFTWARE.
*/
/* Test relies on assert() */
#undef NDEBUG
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif

View File

@ -21,6 +21,9 @@
* DEALINGS IN THE SOFTWARE.
*/
/* Test relies on assert() */
#undef NDEBUG
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif