Run full regress conditionally

When FULL_REGRESS environment variable is set to 1 run whole
installcheck-world regres test suite.
This commit is contained in:
peifengq 2021-08-12 16:47:58 +08:00
parent bfc7f46645
commit 25a8e4c619

View File

@ -1,6 +1,6 @@
NAME: gpdb NAME: gpdb
Version: 6.17.0 Version: 6.17.0
Release: 2 Release: 3
Summary: Open Source Greenplum Database Summary: Open Source Greenplum Database
License: Apache 2.0 License: Apache 2.0
@ -54,6 +54,7 @@ make -s unittest-check
make -s unitest-check || true make -s unitest-check || true
%endif %endif
%if 0%{getenv:FULL_REGRESS}
# warmup env # warmup env
sleep 5 sleep 5
@ -78,12 +79,16 @@ sleep 5
source gpAux/gpdemo/gpdemo-env.sh source gpAux/gpdemo/gpdemo-env.sh
make installcheck-world make installcheck-world
%endif
%files %files
%dir /usr/local/greenplum-db-%{version} %dir /usr/local/greenplum-db-%{version}
/usr/local/greenplum-db-%{version} /usr/local/greenplum-db-%{version}
%changelog %changelog
* Thu Aug 12 2021 peifengq <qiupf2000@gmail.com> - 6.17.0-3
- Run full regress conditionally
* Wed Aug 11 2021 peifengq <qiupf2000@gmail.com> - 6.17.0-2 * Wed Aug 11 2021 peifengq <qiupf2000@gmail.com> - 6.17.0-2
- add test report for 6.17.0, fix tests - add test report for 6.17.0, fix tests