From 07fab41be7d24e790cd37f625f3d7a10363c45ff Mon Sep 17 00:00:00 2001 From: Felix Mulder Date: Thu, 6 Apr 2017 13:46:29 +0200 Subject: Add `Properties` object for dotty testing props and env --- compiler/test/dotty/tools/dotc/CompilationTests.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/test/dotty/tools/dotc/CompilationTests.scala') 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 ------------------------------------------------------------ -- cgit v1.2.3