This is an automated email from the ASF dual-hosted git repository.

yjhjstz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git

commit 680a0197b3c61b81aa67f7e785930c4a7cbb44fc
Author: Junwang Zhao <[email protected]>
AuthorDate: Tue Jul 19 12:47:05 2022 +0800

    Fix makefile to remove tablespace-step target all
    
    Fixes https://github.com/greenplum-db/gpdb/issues/13819 and also aligns 
with upstream
    
    Don't need to setup the tablespace when calling `make` or `make
    install`, it should be setup only for the right target like `check` or
    `check-tests`.
---
 src/test/regress/GNUmakefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/test/regress/GNUmakefile b/src/test/regress/GNUmakefile
index a45ca4f164..43ef46519f 100644
--- a/src/test/regress/GNUmakefile
+++ b/src/test/regress/GNUmakefile
@@ -134,7 +134,7 @@ installdirs-tests: installdirs
 
 # Get some extra C modules from contrib/spi
 
-all: refint$(DLSUFFIX) autoinc$(DLSUFFIX) tablespace-setup hooktest 
query_info_hook_test
+all: refint$(DLSUFFIX) autoinc$(DLSUFFIX) hooktest query_info_hook_test
 
 refint$(DLSUFFIX): $(top_builddir)/contrib/spi/refint$(DLSUFFIX)
        cp $< $@
@@ -201,10 +201,10 @@ check-tests: all | temp-install
 #      $(pg_regress_installcheck) $(REGRESS_OPTS) 
--schedule=$(srcdir)/serial_schedule $(EXTRA_TESTS)
 installcheck: installcheck-good
 
-installcheck-small: all
+installcheck-small: all tablespace-setup
        $(pg_regress_installcheck) $(REGRESS_OPTS) 
--schedule=$(srcdir)/parallel_schedule $(EXTRA_TESTS)
 
-installcheck-good: all twophase_pqexecparams hooktest query_info_hook_test
+installcheck-good: all tablespace-setup twophase_pqexecparams hooktest 
query_info_hook_test
        $(pg_regress_installcheck) $(REGRESS_OPTS) 
--schedule=$(srcdir)/parallel_schedule --schedule=$(srcdir)/greenplum_schedule 
$(EXTRA_TESTS)
 
 installcheck-parallel: all


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to