File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ object Properties {
21
21
val testsFilter : Option [String ] = sys.props.get(" dotty.tests.filter" )
22
22
23
23
/** Tests should override the checkfiles with the current output */
24
- val testsUpdateCheckfile : Boolean = propIsNullOrTrue(" dotty.tests.updateCheckfiles" )
24
+ val testsUpdateCheckfile : Boolean =
25
+ sys.props.getOrElse(" dotty.tests.updateCheckfiles" , " FALSE" ) == " TRUE"
25
26
26
27
/** When set, the run tests are only compiled - not run, a warning will be
27
28
* issued
Original file line number Diff line number Diff line change @@ -542,7 +542,7 @@ object Build {
542
542
val args1 = if (updateCheckfile | fromTasty) args.filter(x => x != " --update-checkfiles" && x != " --from-tasty" ) else args
543
543
val test = if (fromTasty) " dotty.tools.dotc.FromTastyTests" else " dotty.tools.dotc.*CompilationTests"
544
544
val cmd = s " $test -- --exclude-categories=dotty.SlowTests " +
545
- (if (updateCheckfile) " -Ddotty.tests.updateCheckfiles=true " else " " ) +
545
+ (if (updateCheckfile) " -Ddotty.tests.updateCheckfiles=TRUE " else " " ) +
546
546
(if (args1.nonEmpty) " -Ddotty.tests.filter=" + args1.mkString(" " ) else " " )
547
547
(testOnly in Test ).toTask(cmd)
548
548
}.evaluated,
You can’t perform that action at this time.
0 commit comments