Task: Skip install-check for pmml JIRA: MADLIB-1078
Skip install-check for pmml when run without the '-t' option. We can still run install-check for pmml if the '-t' option is specified. Closes #115 Project: http://git-wip-us.apache.org/repos/asf/incubator-madlib/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-madlib/commit/975d34e4 Tree: http://git-wip-us.apache.org/repos/asf/incubator-madlib/tree/975d34e4 Diff: http://git-wip-us.apache.org/repos/asf/incubator-madlib/diff/975d34e4 Branch: refs/heads/latest_release Commit: 975d34e43a8d416e5ae5b2ba668fac80dbbc15ea Parents: c694893 Author: Nandish Jayaram <njaya...@apache.org> Authored: Fri Apr 14 11:45:35 2017 -0700 Committer: Nandish Jayaram <njaya...@apache.org> Committed: Fri Apr 14 14:30:38 2017 -0700 ---------------------------------------------------------------------- src/madpack/madpack.py | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-madlib/blob/975d34e4/src/madpack/madpack.py ---------------------------------------------------------------------- diff --git a/src/madpack/madpack.py b/src/madpack/madpack.py index 3b66b17..049adf5 100755 --- a/src/madpack/madpack.py +++ b/src/madpack/madpack.py @@ -1424,6 +1424,11 @@ def main(argv): # Skip if doesn't meet specified modules if modset is not None and len(modset) > 0 and module not in modset: continue + # JIRA: MADLIB-1078 fix + # Skip pmml during install-check (when run without the -t option). + # We can still run install-check on pmml with '-t' option. + if not modset and module in ['pmml']: + continue _info("> - %s" % module, verbose) # Make a temp dir for this module (if doesn't exist)