Skip to content

Commit

Permalink
Skip SBT tests if no test goals are specified
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshRosen committed Jun 18, 2015
1 parent 43a0ced commit 7092d3e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dev/run-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,9 @@ def run_scala_tests_sbt(test_modules, test_profiles):

sbt_test_goals = set(itertools.chain.from_iterable(m.sbt_test_goals for m in test_modules))

if not sbt_test_goals:
return

profiles_and_goals = test_profiles + list(sbt_test_goals)

print "[info] Running Spark tests using SBT with these arguments:",
Expand Down

0 comments on commit 7092d3e

Please sign in to comment.