[tests] Relative includes in tests to fix compilation issues on gcc/Ubuntu
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
CFLAGS_BASE = -Wfloat-equal -Wpointer-arith
|
CFLAGS_BASE = -Wfloat-equal -Wpointer-arith -std=gnu99
|
||||||
CFLAGS_O0 = $(CFLAGS_BASE) -O0
|
CFLAGS_O0 = $(CFLAGS_BASE) -O0
|
||||||
CFLAGS_O1 = $(CFLAGS_BASE) -O1
|
CFLAGS_O1 = $(CFLAGS_BASE) -O1
|
||||||
CFLAGS_O2 = $(CFLAGS_BASE) -O2
|
CFLAGS_O2 = $(CFLAGS_BASE) -O2
|
||||||
CFLAGS_O3 = $(CFLAGS_BASE) -O3
|
CFLAGS_O3 = $(CFLAGS_BASE) -O3
|
||||||
DEFAULT_INCLUDES = -I.. -I../src
|
DEFAULT_INCLUDES = -I..
|
||||||
|
|
||||||
CFLAGS = $(CFLAGS_BASE)
|
CFLAGS = $(CFLAGS_BASE)
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
#include "greatest.h"
|
#include "greatest.h"
|
||||||
#include "libpostal.h"
|
#include "../src/libpostal.h"
|
||||||
|
|
||||||
SUITE(libpostal_expansion_tests);
|
SUITE(libpostal_expansion_tests);
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
#include "greatest.h"
|
#include "greatest.h"
|
||||||
#include "numex.h"
|
#include "../src/numex.h"
|
||||||
|
|
||||||
SUITE(libpostal_numex_tests);
|
SUITE(libpostal_numex_tests);
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
#include "greatest.h"
|
#include "greatest.h"
|
||||||
#include "transliterate.h"
|
#include "../src/transliterate.h"
|
||||||
|
|
||||||
SUITE(libpostal_transliteration_tests);
|
SUITE(libpostal_transliteration_tests);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user