tests FEATURE searchpaths manipulation function from context.c
diff --git a/tests/config.h.in b/tests/config.h.in
new file mode 100644
index 0000000..a7a5b7e
--- /dev/null
+++ b/tests/config.h.in
@@ -0,0 +1,22 @@
+/**
+ * @file config.h
+ * @author Radek Krejci <rkrejci@cesnet.cz>
+ * @brief cmocka tests configuration header.
+ *
+ * Copyright (c) 2015 - 2018 CESNET, z.s.p.o.
+ *
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://opensource.org/licenses/BSD-3-Clause
+ */
+#ifndef LYTEST_CONFIG_H_
+#define LYTEST_CONFIG_H_
+
+#define UNUSED(x) @COMPILER_UNUSED_ATTR@
+
+#define TESTS_SRC "@CMAKE_CURRENT_SOURCE_DIR@"
+#define TESTS_BIN "@CMAKE_CURRENT_BINARY_DIR@"
+
+#endif /* LYTEST_CONFIG_H_ */