Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[yugabyte#8421] build: exclude other regress paths from build stamp
Summary: The negative pathspec to exclude some regress files when building postgres build stamp only handles the src/postgres/src/test/regress directory. There are other places with tests, like src/postgres/src/test/isolation and src/postgres/contrib. Handle many of these cases by using glob pathspec. Also, add spec files (found in src/postgres/src/test/isolation) to the list of excluded paths. See related commit 5bf7c61. Depends on D12395 Test Plan: Jenkins: compile-only, build type: release, compiler: clang #!/usr/bin/bash # Get things up-to-date. ./yb_build.sh # Edit contrib regress test files. echo '# abc' >>src/postgres/contrib/hstore/yb_schedule git add src/postgres/contrib/hstore/yb_schedule echo '-- def' >>src/postgres/contrib/hstore/sql/hstore.sql echo '-- ghi' >>src/postgres/contrib/hstore/expected/hstore.out echo '# aaa' >>src/postgres/src/test/isolation/isolation_schedule echo '-- bbb' >>src/postgres/src/test/isolation/specs/async-notify.spec echo '-- ccc' >>src/postgres/src/test/isolation/expected/async-notify.out # Expect postgres build to get skipped (find "skipping the 'make' step."). ./yb_build.sh --skip-java Reviewers: mbautin, steve.varnau Reviewed By: steve.varnau Subscribers: yql Differential Revision: https://phabricator.dev.yugabyte.com/D12397
- Loading branch information