mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-15 00:38:15 +00:00
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:
parent
17367a5642
commit
26c33a2dcc
3 changed files with 12 additions and 0 deletions
|
@ -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"
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue