Skip to content

Commit

Permalink
Add instructions on running Java 8 tests in Scala.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshRosen committed Nov 10, 2015
1 parent fd96788 commit 002d1ea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/building-spark.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,10 @@ Running only Java 8 tests and nothing else.

mvn install -DskipTests -Pjava8-tests

or

sbt -Pjava8-tests java8-tests/test

Java 8 tests are run when `-Pjava8-tests` profile is enabled, they will run in spite of `-DskipTests`.
For these tests to run your system must have a JDK 8 installation.
If you have JDK 8 installed but it is not the system default, you can set JAVA_HOME to point to JDK 8 before running the tests.
Expand Down

0 comments on commit 002d1ea

Please sign in to comment.