diff options
author | Josh Rosen <joshrosen@databricks.com> | 2015-06-17 19:02:25 -0700 |
---|---|---|
committer | Josh Rosen <joshrosen@databricks.com> | 2015-06-17 19:03:41 -0700 |
commit | 165f52f2f9d2d75a4b55b6443ca0354d5e66e14e (patch) | |
tree | 51e9891aa5e52cc0929e783ca08a3434fb9d9b31 | |
parent | d1069cba4a2eb4f00fc3306993a49284efad00c7 (diff) | |
download | spark-165f52f2f9d2d75a4b55b6443ca0354d5e66e14e.tar.gz spark-165f52f2f9d2d75a4b55b6443ca0354d5e66e14e.tar.bz2 spark-165f52f2f9d2d75a4b55b6443ca0354d5e66e14e.zip |
[HOTFIX] [PROJECT-INFRA] Fix bug in dev/run-tests for MLlib-only PRs
-rwxr-xr-x | dev/run-tests.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/dev/run-tests.py b/dev/run-tests.py index 04a7b45741..c64c71f4f7 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: |