tests CHANGE rename config.h to tests_config.h
Make the tests' config header name clearly connected with tests. The
config.h is supposed to be connected with sources.
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 8735388..a4a3d78 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -9,9 +9,9 @@
find_program(VALGRIND_FOUND valgrind)
endif()
-configure_file("${PROJECT_SOURCE_DIR}/tests/config.h.in" "${PROJECT_BINARY_DIR}/tests/config.h" ESCAPE_QUOTES @ONLY)
+configure_file("${PROJECT_SOURCE_DIR}/tests/tests_config.h.in" "${PROJECT_BINARY_DIR}/tests/tests_config.h" ESCAPE_QUOTES @ONLY)
include_directories(SYSTEM ${CMOCKA_INCLUDE_DIR})
-include_directories(${PROJECT_BINARY_DIR})
+include_directories(${PROJECT_BINARY_DIR}/tests/)
function(ly_add_utest)
cmake_parse_arguments(ADDTEST "" "NAME;WRAP" "SOURCES" ${ARGN})
diff --git a/tests/config.h.in b/tests/tests_config.h.in
similarity index 100%
rename from tests/config.h.in
rename to tests/tests_config.h.in
diff --git a/tests/utests/basic/test_context.c b/tests/utests/basic/test_context.c
index f6ab81c..96c49df 100644
--- a/tests/utests/basic/test_context.c
+++ b/tests/utests/basic/test_context.c
@@ -18,7 +18,7 @@
#include "context.h"
#include "in.h"
#include "schema_compile.h"
-#include "tests/config.h"
+#include "tests_config.h"
#include "tree_schema_internal.h"
#include "utests.h"
diff --git a/tests/utests/basic/test_xpath.c b/tests/utests/basic/test_xpath.c
index 8be1fbf..24e9baa 100644
--- a/tests/utests/basic/test_xpath.c
+++ b/tests/utests/basic/test_xpath.c
@@ -19,7 +19,7 @@
#include "context.h"
#include "parser_data.h"
#include "set.h"
-#include "tests/config.h"
+#include "tests_config.h"
#include "tree_data.h"
#include "tree_schema.h"
diff --git a/tests/utests/basic/test_yanglib.c b/tests/utests/basic/test_yanglib.c
index 9c52ac0..0349157 100644
--- a/tests/utests/basic/test_yanglib.c
+++ b/tests/utests/basic/test_yanglib.c
@@ -20,7 +20,7 @@
#include "in.h"
#include "log.h"
#include "set.h"
-#include "tests/config.h"
+#include "tests_config.h"
#include "tree_data.h"
#include "tree_schema.h"
diff --git a/tests/utests/data/test_parser_json.c b/tests/utests/data/test_parser_json.c
index 9b7cc07..d0b479c 100644
--- a/tests/utests/data/test_parser_json.c
+++ b/tests/utests/data/test_parser_json.c
@@ -19,7 +19,7 @@
#include "out.h"
#include "parser_data.h"
#include "printer_data.h"
-#include "tests/config.h"
+#include "tests_config.h"
#include "tree_data_internal.h"
#include "tree_schema.h"
diff --git a/tests/utests/data/test_printer_xml.c b/tests/utests/data/test_printer_xml.c
index 6a37bbb..9ee5fa0 100644
--- a/tests/utests/data/test_printer_xml.c
+++ b/tests/utests/data/test_printer_xml.c
@@ -20,7 +20,7 @@
#include "out.h"
#include "parser_data.h"
#include "printer_data.h"
-#include "tests/config.h"
+#include "tests_config.h"
#include "tree_schema.h"
static int
diff --git a/tests/utests/data/test_validation.c b/tests/utests/data/test_validation.c
index b1dc2f4..2045a3a 100644
--- a/tests/utests/data/test_validation.c
+++ b/tests/utests/data/test_validation.c
@@ -22,7 +22,7 @@
#include "out.h"
#include "parser_data.h"
#include "printer_data.h"
-#include "tests/config.h"
+#include "tests_config.h"
#include "tree_data_internal.h"
#include "tree_schema.h"
diff --git a/tests/utests/schema/test_schema.h b/tests/utests/schema/test_schema.h
index d3cacb7..159e257 100644
--- a/tests/utests/schema/test_schema.h
+++ b/tests/utests/schema/test_schema.h
@@ -19,7 +19,7 @@
#include "log.h"
#include "parser_schema.h"
-#include "tests/config.h"
+#include "tests_config.h"
LY_ERR test_imp_clb(const char *UNUSED(mod_name), const char *UNUSED(mod_rev), const char *UNUSED(submod_name),
const char *UNUSED(sub_rev), void *user_data, LYS_INFORMAT * format,
diff --git a/tests/utests/utests.h b/tests/utests/utests.h
index c3bfb73..fa686d3 100644
--- a/tests/utests/utests.h
+++ b/tests/utests/utests.h
@@ -29,7 +29,7 @@
#include "libyang.h"
#include "plugins_internal.h"
#include "plugins_types.h"
-#include "tests/config.h"
+#include "tests_config.h"
#include "tree_schema_internal.h"
/**