Skip to content

Commit 7092d3e

Browse files
committed
Skip SBT tests if no test goals are specified
1 parent 43a0ced commit 7092d3e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dev/run-tests.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,9 @@ def run_scala_tests_sbt(test_modules, test_profiles):
551551

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

554+
if not sbt_test_goals:
555+
return
556+
554557
profiles_and_goals = test_profiles + list(sbt_test_goals)
555558

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

0 commit comments

Comments
 (0)