Commit 98bd6d22 authored by Jan Včelák's avatar Jan Včelák 🚀

tests: tune compiler include paths

parent 42fa3b29
......@@ -27,6 +27,7 @@ check_LIBRARIES = tests/tap/libtap.a
AM_CPPFLAGS = \
-I$(top_srcdir)/src \
-I$(top_srcdir)/tests \
-DSYSCONFDIR='"$(sysconfdir)"' \
-DSBINDIR='"$(sbindir)"'
......
......@@ -17,7 +17,7 @@
#include <config.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <tests/tap/basic.h>
#include <tap/basic.h>
#include "common/errcode.h"
#include "common/sockaddr.h"
......
......@@ -18,7 +18,7 @@
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <tests/tap/basic.h>
#include <tap/basic.h>
#include "common/errcode.h"
#include "common/base32hex.h"
......
......@@ -18,7 +18,7 @@
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <tests/tap/basic.h>
#include <tap/basic.h>
#include "common/errcode.h"
#include "common/base64.h"
......
......@@ -16,7 +16,7 @@
#include <config.h>
#include <stdio.h>
#include <tests/tap/basic.h>
#include <tap/basic.h>
#include "knot/conf/conf.h"
......
......@@ -18,7 +18,7 @@
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <tests/tap/basic.h>
#include <tap/basic.h>
#include "common/descriptor.h"
......
......@@ -15,7 +15,7 @@
*/
#include <config.h>
#include <tests/tap/basic.h>
#include <tap/basic.h>
#include "libknot/dname.h"
......
......@@ -15,7 +15,7 @@
*/
#include <config.h>
#include <tests/tap/basic.h>
#include <tap/basic.h>
#include "libknot/dnssec/key.h"
#include "libknot/dnssec/key.c" // testing static functions
......
......@@ -17,7 +17,7 @@
#include <config.h>
#include <stdlib.h>
#include <string.h>
#include <tests/tap/basic.h>
#include <tap/basic.h>
#include "common/descriptor.h"
#include "common/errcode.h"
......
......@@ -17,7 +17,7 @@
#include <config.h>
#include <assert.h>
#include <openssl/opensslconf.h>
#include <tests/tap/basic.h>
#include <tap/basic.h>
#include "common/errcode.h"
#include "libknot/dnssec/cleanup.h"
......
......@@ -15,7 +15,7 @@
*/
#include <config.h>
#include <tests/tap/basic.h>
#include <tap/basic.h>
#include "libknot/dname.h"
#include "libknot/dnssec/zone-nsec.h"
......
......@@ -20,7 +20,7 @@
#include <sys/select.h>
#include <signal.h>
#include <stdlib.h>
#include <tests/tap/basic.h>
#include <tap/basic.h>
#include "knot/server/dthreads.h"
......
......@@ -18,7 +18,7 @@
#include <stdlib.h>
#include <stdint.h>
#include <sys/time.h>
#include <tests/tap/basic.h>
#include <tap/basic.h>
#include "common/evqueue.h"
#include "common/evsched.h"
......
......@@ -21,7 +21,7 @@
#include <pthread.h>
#include <fcntl.h>
#include <unistd.h>
#include <tests/tap/basic.h>
#include <tap/basic.h>
#include "common/fdset.h"
......
......@@ -17,7 +17,7 @@
#include <config.h>
#include <string.h>
#include <time.h>
#include <tests/tap/basic.h>
#include <tap/basic.h>
#include "common/mempattern.h"
#include "common/hattrie/hat-trie.h"
......
......@@ -20,7 +20,7 @@
#include <stdio.h>
#include <limits.h>
#include <unistd.h>
#include <tests/tap/basic.h>
#include <tap/basic.h>
#include "knot/server/journal.h"
#include "knot/knot.h"
......
......@@ -17,7 +17,7 @@
#include <config.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <tests/tap/basic.h>
#include <tap/basic.h>
#include "knot/server/rrl.h"
#include "knot/server/dthreads.h"
......
......@@ -17,7 +17,7 @@
#include <assert.h>
#include <stdint.h>
#include <inttypes.h>
#include <tests/tap/basic.h>
#include <tap/basic.h>
#include "common/descriptor.h"
#include "common/errcode.h"
......
......@@ -15,7 +15,7 @@
*/
#include <config.h>
#include <tests/tap/basic.h>
#include <tap/basic.h>
#include "knot/server/server.h"
/*! Test: create server. */
......
......@@ -19,7 +19,7 @@
#include <stdlib.h>
#include <time.h>
#include <stdbool.h>
#include <tests/tap/basic.h>
#include <tap/basic.h>
#include "common/slab/slab.h"
......
......@@ -15,7 +15,7 @@
*/
#include <config.h>
#include <tests/tap/basic.h>
#include <tap/basic.h>
#include "libknot/util/utils.h"
......
......@@ -15,7 +15,7 @@
*/
#include <config.h>
#include <tests/tap/basic.h>
#include <tap/basic.h>
#include "libknot/zone/zone-tree.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment