forked from puppetlabs/puppetdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(PDB-3993) Add ./test-config; add pgver/pgbin/pgport opts
Move test config handling to ext/bin/test-config, which allows you to --set, --get, or --reset (undo any previous --set-ting for the source tree) various test config values including the previously existing puppet and puppetserver integration test refs, and new pgport, pgver, and pgbin settings. The general idea is that tests can use test-config --get to determine what default value to use for these settings, which can be adjusted for the local source tree via --set. By default, try to detect the pgbin directory automatically, based on the pgver value, which also allows "test-config --get pgbin" to replace the previously travis-specific pgbin-from-spec command. Always require the pgport to be specified somehow, either via a --pgport argument to a given test, or for the whole tree via "test-config --set pgport PORT". Record the tree's default pgver in ext ext/test-conf/pgver-default.
- Loading branch information
Showing
16 changed files
with
289 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.