Skip to content

Commit 6826684

Browse files
authored
Merge pull request #4142 from dotty-staging/stabilize-vulpix
Make VulpixMetaTests more deterministic
2 parents 99b10eb + af5ad7f commit 6826684

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

compiler/test/dotty/tools/vulpix/VulpixMetaTests.scala

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,18 @@ import dotty.Properties
88
import TestConfiguration._
99

1010
/** Meta tests for the Vulpix test suite. This test follows the structure of
11-
* CompilationTests.scala. It is ment to be called from bash to diff with
11+
* CompilationTests.scala. It is meant to be called from bash to diff with
1212
* output againts an expected result.
1313
*/
1414
@Category(Array(classOf[dotty.VulpixMetaTests]))
1515
class VulpixMetaTests extends ParallelTesting {
1616
def maxDuration = 1.seconds
17-
def numberOfSlaves = 5
18-
def safeMode = Properties.testsSafeMode
19-
def isInteractive = SummaryReport.isInteractive
20-
def testFilter = Properties.testsFilter
17+
// Ensure maximum reproducibility.
18+
def numberOfSlaves = 1
19+
def safeMode = false // Don't fork a new VM after each run test
20+
def isInteractive = false // Don't beautify output for interactive use.
21+
def testFilter = None // Run all the tests.
22+
2123
implicit val summaryReport: SummaryReporting = new SummaryReport
2224
implicit def testGroup: TestGroup = TestGroup("VulpixMetaTests")
2325

0 commit comments

Comments
 (0)