From 2a969b7f4bdb223d3626dc14b684701942ccafb2 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 21 Sep 2017 01:02:04 +0300 Subject: Make package to be source rather than stub --- tests/conninfo/postgres_fe.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/conninfo/postgres_fe.h (limited to 'tests/conninfo/postgres_fe.h') diff --git a/tests/conninfo/postgres_fe.h b/tests/conninfo/postgres_fe.h new file mode 100644 index 0000000..2a62d51 --- /dev/null +++ b/tests/conninfo/postgres_fe.h @@ -0,0 +1,19 @@ +/* file : tests/conninfo/postgres_fe.h + * copyright : Copyright (c) 2016-2017 Code Synthesis Ltd + * license : PostgreSQL License; see accompanying COPYRIGHT file + */ + +/* + * The original uri-regress.c includes src/include/postgres_fe.h that is + * located in libpq/postgresql/ directory in our source tree. This file is not + * installed, so to keep the test as a subproject and be able to test against + * the installed libpq library we replace it with the header stub, containing + * the bare minimum that is required the test to compile. + */ +#ifndef TESTS_CONNINFO_POSTGRES_FE_H +#define TESTS_CONNINFO_POSTGRES_FE_H + +#include +#include + +#endif /* TESTS_CONNINFO_POSTGRES_FE_H */ -- cgit v1.1