Skip to content

Commit

Permalink
Test everything if nothing has changed (needed for non-PRB builds)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshRosen committed Jun 18, 2015
1 parent 37f3fb3 commit 3371441
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dev/run-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,11 +635,13 @@ def main():
print "[info] Using build tool", build_tool, "with profile", hadoop_version,
print "under environment", test_env

changed_modules = [root]
changed_modules = None
if test_env == "amplab_jenkins" and os.environ.get("AMP_JENKINS_PRB"):
target_branch = os.environ["ghprbTargetBranch"]
changed_modules = identify_changed_modules_from_git_commits("HEAD",
target_branch=target_branch)
if not changed_modules:
changed_modules = ['root']
print "[info] Found the following changed modules:", ", ".join(x.name for x in changed_modules)

test_modules = determine_modules_to_test(changed_modules)
Expand Down

0 comments on commit 3371441

Please sign in to comment.