[tests] Relative includes in tests to fix compilation issues on gcc/Ubuntu

This commit is contained in:
Al
2016-01-28 17:04:02 -05:00
parent 76445c4bf7
commit 0da3774b1e
4 changed files with 5 additions and 5 deletions

View File

@@ -1,9 +1,9 @@
CFLAGS_BASE = -Wfloat-equal -Wpointer-arith
CFLAGS_BASE = -Wfloat-equal -Wpointer-arith -std=gnu99
CFLAGS_O0 = $(CFLAGS_BASE) -O0
CFLAGS_O1 = $(CFLAGS_BASE) -O1
CFLAGS_O2 = $(CFLAGS_BASE) -O2
CFLAGS_O3 = $(CFLAGS_BASE) -O3
DEFAULT_INCLUDES = -I.. -I../src
DEFAULT_INCLUDES = -I..
CFLAGS = $(CFLAGS_BASE)

View File

@@ -4,7 +4,7 @@
#include <stdarg.h>
#include "greatest.h"
#include "libpostal.h"
#include "../src/libpostal.h"
SUITE(libpostal_expansion_tests);

View File

@@ -4,7 +4,7 @@
#include <stdarg.h>
#include "greatest.h"
#include "numex.h"
#include "../src/numex.h"
SUITE(libpostal_numex_tests);

View File

@@ -4,7 +4,7 @@
#include <stdarg.h>
#include "greatest.h"
#include "transliterate.h"
#include "../src/transliterate.h"
SUITE(libpostal_transliteration_tests);