You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by jo...@apache.org on 2015/06/18 04:04:21 UTC
spark git commit: [HOTFIX] [PROJECT-INFRA] Fix bug in dev/run-tests
for MLlib-only PRs
Repository: spark
Updated Branches:
refs/heads/master d1069cba4 -> 165f52f2f
[HOTFIX] [PROJECT-INFRA] Fix bug in dev/run-tests for MLlib-only PRs
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/165f52f2
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/165f52f2
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/165f52f2
Branch: refs/heads/master
Commit: 165f52f2f9d2d75a4b55b6443ca0354d5e66e14e
Parents: d1069cb
Author: Josh Rosen <jo...@databricks.com>
Authored: Wed Jun 17 19:02:25 2015 -0700
Committer: Josh Rosen <jo...@databricks.com>
Committed: Wed Jun 17 19:03:41 2015 -0700
----------------------------------------------------------------------
dev/run-tests.py | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/165f52f2/dev/run-tests.py
----------------------------------------------------------------------
diff --git a/dev/run-tests.py b/dev/run-tests.py
index 04a7b45..c64c71f 100755
--- a/dev/run-tests.py
+++ b/dev/run-tests.py
@@ -391,7 +391,7 @@ def run_scala_tests_maven(test_profiles):
def run_scala_tests_sbt(test_modules, test_profiles):
# declare the variable for reference
- sbt_test_goals = None
+ sbt_test_goals = []
if "ALL" in test_modules:
sbt_test_goals = ["test"]
@@ -399,12 +399,12 @@ def run_scala_tests_sbt(test_modules, test_profiles):
# if we only have changes in SQL, MLlib, Streaming, or GraphX then build
# a custom test list
if "SQL" in test_modules and "CORE" not in test_modules:
- sbt_test_goals = ["catalyst/test",
- "sql/test",
- "hive/test",
- "hive-thriftserver/test",
- "mllib/test",
- "examples/test"]
+ sbt_test_goals += ["catalyst/test",
+ "sql/test",
+ "hive/test",
+ "hive-thriftserver/test",
+ "mllib/test",
+ "examples/test"]
if "MLLIB" in test_modules and "CORE" not in test_modules:
sbt_test_goals += ["mllib/test", "examples/test"]
if "STREAMING" in test_modules and "CORE" not in test_modules:
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org