From d42a28d07683d95e6dffd27cdb9078ebeb599c15 Mon Sep 17 00:00:00 2001 From: Felix Mulder Date: Fri, 7 Apr 2017 14:46:17 +0200 Subject: Add ability to only compile run tests --- compiler/test/dotty/Properties.scala | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'compiler/test/dotty/Properties.scala') diff --git a/compiler/test/dotty/Properties.scala b/compiler/test/dotty/Properties.scala index 6106c75b9..70db82092 100644 --- a/compiler/test/dotty/Properties.scala +++ b/compiler/test/dotty/Properties.scala @@ -20,6 +20,11 @@ object Properties { */ val testsFilter: Option[String] = sys.props.get("dotty.tests.filter") + /** When set, the run tests are only compiled - not run, a warning will be + * issued + */ + val testsNoRun: Boolean = sys.props.get("dotty.tests.norun").isDefined + /** Should Unit tests run in safe mode? * * For run tests this means that we respawn child JVM processes after each -- cgit v1.2.3