Repository: yetus Updated Branches: refs/heads/master 0820d2ea3 -> 5a4d4dba9
YETUS-85. test types aren't getting initialized Signed-off-by: Allen Wittenauer <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/yetus/repo Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/34cfb45e Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/34cfb45e Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/34cfb45e Branch: refs/heads/master Commit: 34cfb45ee5e45896ccfe1f2924eda4f4a191e17b Parents: 0820d2e Author: Allen Wittenauer <[email protected]> Authored: Fri Oct 16 20:40:57 2015 -0700 Committer: Allen Wittenauer <[email protected]> Committed: Tue Oct 20 07:40:13 2015 -0700 ---------------------------------------------------------------------- dev-support/core.d/01-common.sh | 4 ++-- dev-support/smart-apply-patch.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/yetus/blob/34cfb45e/dev-support/core.d/01-common.sh ---------------------------------------------------------------------- diff --git a/dev-support/core.d/01-common.sh b/dev-support/core.d/01-common.sh index 5de16be..2110f75 100755 --- a/dev-support/core.d/01-common.sh +++ b/dev-support/core.d/01-common.sh @@ -198,7 +198,7 @@ function parse_args_plugins { declare plugin - for plugin in ${PLUGINS} ${BUGSYSTEMS} ${TESTFORMATS} ${BUILDTOOLS}; do + for plugin in ${TESTTYPES} ${BUGSYSTEMS} ${TESTFORMATS} ${BUILDTOOLS}; do if declare -f ${plugin}_parse_args >/dev/null 2>&1; then yetus_debug "Running ${plugin}_parse_args" #shellcheck disable=SC2086 @@ -216,7 +216,7 @@ function plugins_initialize { declare plugin - for plugin in ${PLUGINS} ${BUGSYSTEMS} ${TESTFORMATS} ${BUILDTOOLS}; do + for plugin in ${TESTTYPES} ${BUGSYSTEMS} ${TESTFORMATS} ${BUILDTOOLS}; do if declare -f ${plugin}_initialize >/dev/null 2>&1; then yetus_debug "Running ${plugin}_initialize" #shellcheck disable=SC2086 http://git-wip-us.apache.org/repos/asf/yetus/blob/34cfb45e/dev-support/smart-apply-patch.sh ---------------------------------------------------------------------- diff --git a/dev-support/smart-apply-patch.sh b/dev-support/smart-apply-patch.sh index 8a10b33..ee06030 100755 --- a/dev-support/smart-apply-patch.sh +++ b/dev-support/smart-apply-patch.sh @@ -110,7 +110,7 @@ function yetus_usage importplugins unset TESTFORMATS - unset PLUGINS + unset TESTTYPES unset BUILDTOOLS for plugin in ${BUGSYSTEMS}; do @@ -214,9 +214,9 @@ setup_defaults parse_args "$@" importplugins -yetus_debug "Removing BUILDTOOLS, PLUGINS, and TESTFORMATS from installed plug list" +yetus_debug "Removing BUILDTOOLS, TESTTYPES, and TESTFORMATS from installed plug-in list" unset BUILDTOOLS -unset PLUGINS +unset TESTTYPES unset TESTFORMATS parse_args_plugins "$@"
