diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2017-03-27 16:37:45 +0200 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2017-03-29 10:33:27 +0200 |
commit | fd37852c0499cf0ca3dcc71333e2ab1f638d8f68 (patch) | |
tree | cfcee801e63c9c6ce8d8dd2bd52ce546ee025991 /compiler/test/dotty/tools/dotc/CompilationTests.scala | |
parent | f7e3b7002d1eefbeaac3970be4ac729843d6a939 (diff) | |
download | dotty-fd37852c0499cf0ca3dcc71333e2ab1f638d8f68.tar.gz dotty-fd37852c0499cf0ca3dcc71333e2ab1f638d8f68.tar.bz2 dotty-fd37852c0499cf0ca3dcc71333e2ab1f638d8f68.zip |
Add test filtering via `filterTest <regex>`
Diffstat (limited to 'compiler/test/dotty/tools/dotc/CompilationTests.scala')
-rw-r--r-- | compiler/test/dotty/tools/dotc/CompilationTests.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/test/dotty/tools/dotc/CompilationTests.scala b/compiler/test/dotty/tools/dotc/CompilationTests.scala index 83713748c..93ddab057 100644 --- a/compiler/test/dotty/tools/dotc/CompilationTests.scala +++ b/compiler/test/dotty/tools/dotc/CompilationTests.scala @@ -7,13 +7,14 @@ import java.io.{ File => JFile } import org.junit.experimental.categories.Category - @Category(Array(classOf[ParallelTesting])) class CompilationTests extends ParallelTesting { import CompilationTests._ def interactive: Boolean = !sys.env.contains("DRONE") + def regex: Option[String] = sys.props.get("dotty.partest.filter") + // Positive tests ------------------------------------------------------------ @Test def compilePos: Unit = { |