aboutsummaryrefslogtreecommitdiff
path: root/compiler/test/dotty/tools/dotc/CompilationTests.scala
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2017-04-06 13:46:29 +0200
committerFelix Mulder <felix.mulder@gmail.com>2017-04-12 11:31:14 +0200
commit07fab41be7d24e790cd37f625f3d7a10363c45ff (patch)
tree158a1429c35fb3e77c29adc2b6b73001fc37d89d /compiler/test/dotty/tools/dotc/CompilationTests.scala
parent1fced2bb8d684cc56672e84b2e164716c92a21b9 (diff)
downloaddotty-07fab41be7d24e790cd37f625f3d7a10363c45ff.tar.gz
dotty-07fab41be7d24e790cd37f625f3d7a10363c45ff.tar.bz2
dotty-07fab41be7d24e790cd37f625f3d7a10363c45ff.zip
Add `Properties` object for dotty testing props and env
Diffstat (limited to 'compiler/test/dotty/tools/dotc/CompilationTests.scala')
-rw-r--r--compiler/test/dotty/tools/dotc/CompilationTests.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/test/dotty/tools/dotc/CompilationTests.scala b/compiler/test/dotty/tools/dotc/CompilationTests.scala
index a3f44c74f..ab7dda850 100644
--- a/compiler/test/dotty/tools/dotc/CompilationTests.scala
+++ b/compiler/test/dotty/tools/dotc/CompilationTests.scala
@@ -16,9 +16,9 @@ class CompilationTests extends SummaryReport with ParallelTesting {
def maxDuration = 180.seconds
def numberOfSlaves = 5
- def safeMode = sys.env.get("dotty.tests.safemode").isDefined
+ def safeMode = Properties.testsSafeMode
def isInteractive = SummaryReport.isInteractive
- def testFilter = sys.props.get("dotty.tests.filter").map(r => new Regex(r))
+ def testFilter = Properties.testsFilter.map(r => new Regex(r))
// Positive tests ------------------------------------------------------------