Browse Source

[tests] include first.h and NDEBUG early

personal/stbuehler/fix-fdevent
Glenn Strauss 3 years ago
parent
commit
c2a9692e78
  1. 4
      src/t/test_configfile.c
  2. 3
      src/t/test_request.c

4
src/t/test_configfile.c

@ -1,10 +1,12 @@
#include "configfile-glue.c"
#include "first.h"
#undef NDEBUG
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
#include "configfile-glue.c"
const struct {
const char *string;
const char *rmtstr;

3
src/t/test_request.c

@ -1,4 +1,4 @@
#include "request.h"
#include "first.h"
#undef NDEBUG
#include <assert.h>
@ -6,6 +6,7 @@
#include <stdio.h>
#include <string.h>
#include "request.h"
#include "base.h"
#include "burl.h"

Loading…
Cancel
Save