-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Killing partest part 2 - Enter the Vulpix #2194
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
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
d65e4ea
Rename test suite to "vulpix"
felixmulder 5c573d3
Add reproduction instr for pos separate compilation
felixmulder c15b83b
Add cleanup hooks to SummaryReporter
felixmulder 2969101
Add initial RunnerOrchestration interface
felixmulder 429066b
Implement inter-VM communication logic
felixmulder a3078ee
Fix settings having uninitialized values
felixmulder a5b9d07
Complete subprocess communication protocol
felixmulder eff50df
Add `RunnerOrchestration` to `ParallelTesting` trait
felixmulder 2f1a542
Remove partest, keeping `dotc.tests` for now
felixmulder 7dcfbd7
Rename filter shorthand to vulpix and update `drone.yml`
felixmulder 923533e
Move vulpix to `dotty.tools.vulpix`
felixmulder c1e787f
Make inter JVM communication be string based
felixmulder 95732a3
Improve test failure output
felixmulder 0ee9977
Disable scalac internals tests
felixmulder 67065d0
Add vulpix docstrings and change defines
felixmulder 1fced2b
Only complete tests after run has been performed
felixmulder 07fab41
Add `Properties` object for dotty testing props and env
felixmulder 8fe0d14
Fix interactive mode in eclipse
felixmulder 55803b2
Implement meta tests suggested by @DarkDimius
felixmulder d42a28d
Add ability to only compile run tests
felixmulder f891b22
Make sure that everything is dumped to log files
felixmulder bcdacee
Remove need for java written summary reporter
felixmulder 7c42277
Make vulpix test filter work on substring instead of regexp
felixmulder ebd1670
Remove duplication with run test output verification
felixmulder f6d519a
Add docs to SummaryReport.scala
felixmulder File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
eyJhbGciOiJIUzI1NiJ9.IyBBZnRlciB1cGRhdGluZyB0aGlzIGZpbGUsIHlvdSBuZWVkIHRvIHJlLXNpZ24gaXQ6CiMKIyAtIEluc3RhbGwgW2Ryb25lLWNsaV0oaHR0cDovL3JlYWRtZS5kcm9uZS5pby91c2FnZS9nZXR0aW5nLXN0YXJ0ZWQtY2xpLykKIyAtIENvcHkgeW91ciB0b2tlbiBmcm9tICBodHRwOi8vZG90dHktY2kuZXBmbC5jaC9hY2NvdW50IChDbGljayBTSE9XIFRPS0VOKQojIC0gKGV4cG9ydCBEUk9ORV9UT0tFTj15b3VyLXRva2VuOyBleHBvcnQgRFJPTkVfU0VSVkVSPWh0dHA6Ly9kb3R0eS1jaS5lcGZsLmNoOyBkcm9uZSBzaWduIGxhbXBlcGZsL2RvdHR5KQoKcGlwZWxpbmU6CiAgdGVzdDoKICAgIGltYWdlOiBsYW1wZXBmbC9kb3R0eTpsYXRlc3QKICAgIHB1bGw6IHRydWUKICAgIGNvbW1hbmRzOgogICAgICAtIGxuIC1zIC92YXIvY2FjaGUvZHJvbmUvc2NhbGEtc2NhbGEgc2NhbGEtc2NhbGEKICAgICAgLSBsbiAtcyAvdmFyL2NhY2hlL2Ryb25lL2l2eTIgIiRIT01FLy5pdnkyIgogICAgICAtIC4vc2NyaXB0cy91cGRhdGUtc2NhbGEtbGlicmFyeQogICAgICAtIHNidCAtSi1YbXg0MDk2bSAtSi1YWDpSZXNlcnZlZENvZGVDYWNoZVNpemU9NTEybSAtSi1YWDpNYXhNZXRhc3BhY2VTaXplPTEwMjRtIC1EZG90dHkuZHJvbmUubWVtPTQwOTZtICIke1RFU1R9IgogICAgd2hlbjoKICAgICAgYnJhbmNoOgogICAgICAgIGV4Y2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RlcgogICAgICBzdGF0dXM6IGNoYW5nZWQKCm1hdHJpeDoKICBURVNUOgogICAgLSB0ZXN0CiAgICAtIDtwdWJsaXNoTG9jYWwgO2RvdHR5LWJvb3RzdHJhcHBlZC90ZXN0CiAgICAtIGxlZ2FjeVRlc3RzCiAgICAtIGRvdHR5LWJpbi10ZXN0cy90ZXN0Cg.7jaA1Gh5FpzKvXQsaf2_of5tUEMBcR_3Mzo0wL8pE3E |
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
package dotty | ||
|
||
/** Runtime properties from defines or environmnent */ | ||
object Properties { | ||
|
||
/** If property is unset or "TRUE" we consider it `true` */ | ||
private[this] def propIsNullOrTrue(prop: String): Boolean = { | ||
val prop = System.getProperty("dotty.tests.interactive") | ||
prop == null || prop == "TRUE" | ||
} | ||
|
||
/** Are we running on the Drone CI? */ | ||
val isRunByDrone: Boolean = sys.env.isDefinedAt("DRONE") | ||
|
||
/** Tests should run interactive? */ | ||
val testsInteractive: Boolean = propIsNullOrTrue("dotty.tests.interactive") | ||
|
||
/** Filter out tests not matching the regex supplied by "dotty.tests.filter" | ||
* define | ||
*/ | ||
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 | ||
* test, so that they are never reused. | ||
*/ | ||
val testsSafeMode: Boolean = sys.props.isDefinedAt("dotty.tests.safemode") | ||
|
||
/** Dotty compiler path provided through define */ | ||
def dottyCompiler: String = sys.props("dotty.tests.classes.compiler") | ||
|
||
/** Dotty classpath extras provided through define */ | ||
def dottyExtras: List[String] = | ||
Option(sys.props("dotty.tests.extraclasspath")) | ||
.map(_.split(":").toList) | ||
.getOrElse(Nil) | ||
|
||
/** Dotty interfaces path provided through define */ | ||
def dottyInterfaces: String = sys.props("dotty.tests.classes.interfaces") | ||
|
||
/** Dotty library path provided through define */ | ||
def dottyLib: String = sys.props("dotty.tests.classes.library") | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this different from the other overrides of safeMode?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a legacy main used by some folks in the lab - it's only running a single test. No need to restart VMs after this single test.