You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by we...@apache.org on 2017/06/03 04:59:59 UTC
spark git commit: [SPARK-20974][BUILD] we should run REPL tests if
SQL module has code changes
Repository: spark
Updated Branches:
refs/heads/master 6de41e951 -> 864d94fe8
[SPARK-20974][BUILD] we should run REPL tests if SQL module has code changes
## What changes were proposed in this pull request?
REPL module depends on SQL module, so we should run REPL tests if SQL module has code changes.
## How was this patch tested?
N/A
Author: Wenchen Fan <we...@databricks.com>
Closes #18191 from cloud-fan/test.
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/864d94fe
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/864d94fe
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/864d94fe
Branch: refs/heads/master
Commit: 864d94fe879a32de324da65a844e62a0260b222d
Parents: 6de41e9
Author: Wenchen Fan <we...@databricks.com>
Authored: Fri Jun 2 21:59:52 2017 -0700
Committer: Wenchen Fan <we...@databricks.com>
Committed: Fri Jun 2 21:59:52 2017 -0700
----------------------------------------------------------------------
dev/run-tests.py | 2 +-
dev/sparktestsupport/modules.py | 13 +++++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/864d94fe/dev/run-tests.py
----------------------------------------------------------------------
diff --git a/dev/run-tests.py b/dev/run-tests.py
index 818a0c9..72d148d 100755
--- a/dev/run-tests.py
+++ b/dev/run-tests.py
@@ -111,7 +111,7 @@ def determine_modules_to_test(changed_modules):
>>> x = [x.name for x in determine_modules_to_test([modules.sql])]
>>> x # doctest: +NORMALIZE_WHITESPACE
['sql', 'hive', 'mllib', 'sql-kafka-0-10', 'examples', 'hive-thriftserver',
- 'pyspark-sql', 'sparkr', 'pyspark-mllib', 'pyspark-ml']
+ 'pyspark-sql', 'repl', 'sparkr', 'pyspark-mllib', 'pyspark-ml']
"""
modules_to_test = set()
for module in changed_modules:
http://git-wip-us.apache.org/repos/asf/spark/blob/864d94fe/dev/sparktestsupport/modules.py
----------------------------------------------------------------------
diff --git a/dev/sparktestsupport/modules.py b/dev/sparktestsupport/modules.py
index 78b5b8b..2971e0d 100644
--- a/dev/sparktestsupport/modules.py
+++ b/dev/sparktestsupport/modules.py
@@ -123,6 +123,7 @@ sql = Module(
],
)
+
hive = Module(
name="hive",
dependencies=[sql],
@@ -142,6 +143,18 @@ hive = Module(
)
+repl = Module(
+ name="repl",
+ dependencies=[hive],
+ source_file_regexes=[
+ "repl/",
+ ],
+ sbt_test_goals=[
+ "repl/test",
+ ],
+)
+
+
hive_thriftserver = Module(
name="hive-thriftserver",
dependencies=[hive],
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org