Skip to content
This repository was archived by the owner on Sep 8, 2022. It is now read-only.

Add support for Java 8 in filtered check feature. #14

Merged
merged 1 commit into from
Jan 21, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/main/scala/scala/tools/partest/nest/Runner.scala
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ class Runner(val testFile: File, val suiteRunner: SuiteRunner) {
val (invert, token) =
if (f startsWith "!") (true, f drop 1) else (false, f)
val cond = token.trim match {
case "java8" => javaVersion startsWith "1.8"
case "java7" => javaVersion startsWith "1.7"
case "java6" => javaVersion startsWith "1.6"
case "avian" => isAvian
Expand Down