Skip to content

Commit

Permalink
Run SQL tests when dff contains bin/spark-sql and/or sbin/start-thrif…
Browse files Browse the repository at this point in the history
…tserver.sh
  • Loading branch information
liancheng committed Aug 19, 2014
1 parent a87f83d commit 26b82a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/run-tests
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ JAVA_VERSION=$($java_cmd -version 2>&1 | sed 's/java version "\(.*\)\.\(.*\)\..*
# Partial solution for SPARK-1455. Only run Hive tests if there are sql changes.
if [ -n "$AMPLAB_JENKINS" ]; then
git fetch origin master:master
diffs=`git diff --name-only master | grep "^sql/"`
diffs=`git diff --name-only master | grep "^\(sql/\)\|\(bin/spark-sql\)\|\(sbin/start-thriftserver.sh\)"`
if [ -n "$diffs" ]; then
echo "Detected changes in SQL. Will run Hive test suite."
_RUN_SQL_TESTS=true
Expand Down

0 comments on commit 26b82a0

Please sign in to comment.