tests: Undef NDEBUG where needed more after refactoring

All other test files using assert(..) and <assert.h> have the same.
This commit is contained in:
Sebastian Pipping 2023-09-02 18:06:43 +02:00
parent 17367a5642
commit 26c33a2dcc
3 changed files with 12 additions and 0 deletions

View file

@ -34,6 +34,10 @@
USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#if defined(NDEBUG)
# undef NDEBUG /* because test suite relies on assert(...) at the moment */
#endif
#include <expat_config.h>
#include "minicheck.h"

View file

@ -37,6 +37,10 @@
USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#if defined(NDEBUG)
# undef NDEBUG /* because test suite relies on assert(...) at the moment */
#endif
#include <stdio.h>
#include <stdlib.h>
#include <setjmp.h>

View file

@ -30,6 +30,10 @@
USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#if defined(NDEBUG)
# undef NDEBUG /* because test suite relies on assert(...) at the moment */
#endif
#include "expat_config.h"
#include <assert.h>