From 33714415a294ddb8044829438e08a2b25d7c8caa Mon Sep 17 00:00:00 2001 From: Josh Rosen Date: Wed, 17 Jun 2015 18:10:06 -0700 Subject: [PATCH] Test everything if nothing has changed (needed for non-PRB builds) --- dev/run-tests.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev/run-tests.py b/dev/run-tests.py index 56d6a6430a1cb..87de4016c65d0 100755 --- a/dev/run-tests.py +++ b/dev/run-tests.py @@ -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)