aboutsummaryrefslogtreecommitdiff
path: root/compiler/test/dotty/partest/DPConsoleRunner.scala
Commit message (Collapse)AuthorAgeFilesLines
* Remove partest, keeping `dotc.tests` for nowFelix Mulder2017-04-121-411/+0
|
* Restore partest and enable it to run alongside new partestFelix Mulder2017-03-291-0/+411
|
* Kill partestFelix Mulder2017-03-291-411/+0
|
* Stylistic changes to `Compiler` and `DPConsoleRunner`Felix Mulder2017-03-291-12/+12
|
* Add FatalError from scala.reflectGuillaume Martres2017-03-081-2/+1
|
* Fix bug in partest.DPConsoleRunnerGuillaume Martres2017-01-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The bug was that we declared case classes like: case class CompFailed() extends NegTestState but we used their companion objects like in: case _ => CompFailed Interestingly, this bug was caught by compiling this code with dotty, instead of `failureStates` getting inferred to be of type `AnyRef`, it ended up being a union of object types, this allows dotty to realize our subsequent pattern match on `failureStates` cannot possibly succeed: -- Error: /home/smarter/opt/dotty/compiler/test/dotty/partest/DPConsoleRunner.scala 353 | case CompFailedButWrongDiff() => | ^ | missing parameter type for parameter x$1 of expanded function x$1 => | x$1 @unchecked match | { | case CompFailedButWrongDiff() => | nextTestActionFailing(s"output differs") | true | case _ => | false | }, expected = ? -- Error: /home/smarter/opt/dotty/compiler/test/dotty/partest/DPConsoleRunner.scala 353 | case CompFailedButWrongDiff() => | ^^^^^^^^^^^^^^^^^^^^^^^^ |Pattern type CompFailedButWrongDiff is neither a subtype nor a supertype of selector type CompSucceeded | CompFailedButWrongNErr | CompFailed | CompFailedButWrongDiff'where: CompFailedButWrongDiff is a class in method runNegTest | CompFailedButWrongDiff' is a object in method runNegTest
* Fix some dotty compilation errorsGuillaume Martres2017-01-281-2/+7
|
* Make sure limitedThreads <= partest.threadsFelix Mulder2016-11-231-7/+10
|
* Update sequential tasks portionFelix Mulder2016-11-231-12/+21
|
* increase threads to 2 in reduced threads casesFelix Mulder2016-11-221-3/+3
|
* Run some tests sequentially to avoid exhausting available memoryGuillaume Martres2016-11-221-0/+39
| | | | | | Some tests are run with "-Ytest-pickler" which uses a huge amount of memory. By running these tests one by one when no other test is running, we avoid running out of memory.
* Remove unused examples dir, duplicate contained in tests/posFelix Mulder2016-11-221-1/+1
|
* Move compiler and compiler tests to compiler dirFelix Mulder2016-11-221-0/+356