From aaceada3673503785eb3370fd1d7ea5dda99cb52 Mon Sep 17 00:00:00 2001 From: Yanwen Jin Date: Tue, 8 Feb 2022 11:37:07 -0800 Subject: [PATCH] Add rpath check in test Makefile --- Makefile | 4 ---- src/test/regress/Makefile | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 8a92b8001..857805781 100644 --- a/Makefile +++ b/Makefile @@ -26,8 +26,6 @@ install-columnar: $(MAKE) -C src/backend/columnar install install-extension: extension install-columnar $(MAKE) -C src/backend/distributed/ install - ldd /usr/lib/postgresql/13/lib/citus.so - readelf -d /usr/lib/postgresql/13/lib/citus.so install-headers: extension $(MKDIR_P) '$(DESTDIR)$(includedir_server)/distributed/' # generated headers are located in the build directory @@ -47,8 +45,6 @@ install-downgrades: $(MAKE) -C src/backend/distributed/ install-downgrades install-all: install-headers $(MAKE) -C src/backend/distributed/ install-all - ldd /usr/lib/postgresql/13/lib/citus.so - readelf -d /usr/lib/postgresql/13/lib/citus.so clean: clean-extension # apply or check style diff --git a/src/test/regress/Makefile b/src/test/regress/Makefile index 6636a082a..740c619bb 100644 --- a/src/test/regress/Makefile +++ b/src/test/regress/Makefile @@ -192,6 +192,8 @@ check-operations: all -- $(MULTI_REGRESS_OPTS) --schedule=$(citus_abs_srcdir)/operations_schedule $(EXTRA_TESTS) check-columnar: + ldd /usr/lib/postgresql/13/lib/citus.so + readelf -d /usr/lib/postgresql/13/lib/citus.so $(pg_regress_multi_check) --load-extension=citus \ -- $(MULTI_REGRESS_OPTS) --schedule=$(citus_abs_srcdir)/columnar_schedule $(EXTRA_TESTS)