Skip to content

Make VulpixMetaTests more deterministic #4142

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 20, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions compiler/test/dotty/tools/vulpix/VulpixMetaTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,18 @@ import dotty.Properties
import TestConfiguration._

/** Meta tests for the Vulpix test suite. This test follows the structure of
* CompilationTests.scala. It is ment to be called from bash to diff with
* CompilationTests.scala. It is meant to be called from bash to diff with
* output againts an expected result.
*/
@Category(Array(classOf[dotty.VulpixMetaTests]))
class VulpixMetaTests extends ParallelTesting {
def maxDuration = 1.seconds
def numberOfSlaves = 5
def safeMode = Properties.testsSafeMode
def isInteractive = SummaryReport.isInteractive
def testFilter = Properties.testsFilter
// Ensure maximum reproducibility.
def numberOfSlaves = 1
def safeMode = false // Don't fork a new VM after each run test
def isInteractive = false // Don't beautify output for interactive use.
def testFilter = None // Run all the tests.

implicit val summaryReport: SummaryReporting = new SummaryReport
implicit def testGroup: TestGroup = TestGroup("VulpixMetaTests")

Expand Down