assert()-based tests make no sense without asserts, so make sure asserts
are compiled in, even if the rest of the code has asserts turned off.
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
12 files changed:
* IN THE SOFTWARE.
*/
+#undef NDEBUG
+
#include <gtest/gtest.h>
#include "util/bigmath.h"
#include "util/fast_idiv_by_const.h"
* USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
+#undef NDEBUG
+
#include "hash_table.h"
static void *make_key(uint32_t i)
* Eric Anholt <eric@anholt.net>
*/
+#undef NDEBUG
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
* Eric Anholt <eric@anholt.net>
*/
+#undef NDEBUG
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
* Eric Anholt <eric@anholt.net>
*/
+#undef NDEBUG
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
* Eric Anholt <eric@anholt.net>
*/
+#undef NDEBUG
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
* Eric Anholt <eric@anholt.net>
*/
+#undef NDEBUG
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
* Eric Anholt <eric@anholt.net>
*/
+#undef NDEBUG
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
* Eric Anholt <eric@anholt.net>
*/
+#undef NDEBUG
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
* IN THE SOFTWARE.
*/
+#undef NDEBUG
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
* Eric Anholt <eric@anholt.net>
*/
+#undef NDEBUG
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
* Eric Anholt <eric@anholt.net>
*/
+#undef NDEBUG
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>