aboutsummaryrefslogtreecommitdiff
path: root/compiler/test/dotc/tests.scala
Commit message (Collapse)AuthorAgeFilesLines
* Fix #2184: Hyper Bootstrap! Integrate the backend as a git submoduleGuillaume Martres2017-04-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | The backend lives in the scalac fork at https://github.com/lampepfl/scala/tree/sharing-backend. Before this commit, the scala-compiler built from this fork was a dependency of Scala just to get this backend. This made it much more cumbersome to test changes to the backend and also forced us to depend on Scala 2.11.5 since that is the version of scalac that the forked backend is based on. This commit changes this by adding a git submodule in the `scala-backend` directory that points to the scalac fork. We do not compile the whole submodule, instead we add the subset of files we need to the dotty-compiler project in the sbt build. See backend.md for more information (online at http://dotty.epfl.ch/docs/contributing/backend.html) once this commit is merged. The most important thing to note is that whenever you clone dotty you should do `git clone --recursive` to also clone the submodule. If you already have a cloned dotty you'll need to do: git submodule update --init You will need to repeat this command anytime you update dotty and the backend has been updated, otherwise the content of `scala-backend` will be stale.
* Remove need for java written summary reporterFelix Mulder2017-04-121-2/+2
|
* Add `Properties` object for dotty testing props and envFelix Mulder2017-04-121-4/+2
|
* Rename filter shorthand to vulpix and update `drone.yml`Felix Mulder2017-04-121-4/+1
|
* Remove partest, keeping `dotc.tests` for nowFelix Mulder2017-04-121-3/+14
|
* Run compileStdLib only as junit testMartin Odersky2017-04-111-1/+3
| | | | It fails without any test output in partest
* Restore partest and enable it to run alongside new partestFelix Mulder2017-03-291-0/+374
|
* Remove `tests.scala`Felix Mulder2017-03-291-374/+0
|
* Move whitelist test out of `tests.scala`Felix Mulder2017-03-291-12/+0
|
* Move REPL diff tests out of `tests.scala`Felix Mulder2017-03-291-2/+0
|
* Fix varargs in methods and constructors (#2135)Igor Mielientiev2017-03-221-0/+3
| | | | | | | * Fix varargs in methods (Issue: #1625) * Fix minor comments * Change varargs parameter message * Fix failed test, fix case for constructor
* Fix #2089: Error when compiling ParSetLike, ParSet, SetLike, in this orderGuillaume Martres2017-03-131-0/+4
| | | | | This fix is inspired by 6c91684, but I couldn't tell you why it works exactly, it's just something I tried.
* Fix compilation of ParSetLike by itselfGuillaume Martres2017-03-131-0/+1
| | | | | | | Before this commit, ParSetLike compiled fine as part of compileStdLib but crashed when compiled by itself because we tried to force a LazyRef while forcing the same LazyRef. This commit fixes this by being slightly more lazy where it matters.
* Move tests/tasty/* to tests/pickling/*Guillaume Martres2017-03-111-1/+0
| | | | | These two directories were tested using the same flags, but tests/tasty compiled all of its files at once which is usually not what is intended.
* Fix test ^ 2Martin Odersky2017-02-211-1/+1
|
* Fix testMartin Odersky2017-02-211-1/+1
|
* Fix #2000: Make implicit and non-implicit functions incomparable with <:<Martin Odersky2017-02-211-0/+1
| | | | | | | | | Implicit and non-implicit functions are incomparable with <:<, but are treated as equivalent with `matches`. This means implicit and non-implicit functions of the same types override each other, but RefChecks will give an error because their types are not subtypes. Also contains a test for #2002.
* Merge pull request #1987 from dotty-staging/topic/remove-unused-flagsFelix Mulder2017-02-201-2/+0
|\ | | | | Remove unused flags
| * Make non-existent compiler options emit warnings instead of failingFelix Mulder2017-02-201-2/+0
| |
* | Disable tests that require scala-compilerGuillaume Martres2017-02-181-1/+0
|/ | | | This is necessary if we ever want to get rid of our dependency on scala-compiler
* Fix some dotty compilation errorsGuillaume Martres2017-01-281-1/+1
|
* Merge pull request #1880 from dotty-staging/improve-whitelist-infrastructureodersky2017-01-121-39/+10
|\ | | | | Improve whitelist infrastructure.
| * Remove whitelist and keep only blacklist.Nicolas Stucki2017-01-051-24/+7
| | | | | | | | | | | | Now that that the blacklist is fully know and is small enough, it will be simpler to maintain only the blacklist.
| * Add stdlib whitelist loader.Nicolas Stucki2017-01-051-22/+10
| |
* | Merge pull request #1690 from dotty-staging/benchDmitry Petrashko2017-01-111-1/+1
|\ \ | | | | | | Fix benchmarks and add multiple mini benchmark tests
| * | fix benchmark testliu fengyun2016-11-241-1/+1
| | |
* | | Bump version from 0.1-SNAPSHOT to 0.1.1-SNAPSHOTGuillaume Martres2017-01-081-1/+1
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | This is useful for two reasons: - All published Scala versions are of the form a.b.c and some tooling expect that, like sbt CrossVersion API. - Using 0.1.1 instead of 0.1.0 means that we match the version number of dotty-sbt-bridge, this is simpler and means that in the future sbt could automatically choose the correct version of dotty-sbt-bridge so that the user does not need to specify scalaCompilerBridgeSource in his build.sbt Note: it's awful that we have hardcoded paths to jars and that I had to change them, but I won't fix that now.
* | Add back a JUnit "dotty" testGuillaume Martres2016-12-191-0/+5
| | | | | | | | | | This way we can test that dotty compiles dotty using dotty-compiler/test-only -- --tests=dotty
* | Fix booted tests not compiling anythingGuillaume Martres2016-12-191-6/+3
| | | | | | | | | | This was broken in 06a3d47ea9fd1b67b3acba9d115a16d18549e377 when the -deep argument was removed
* | Add scala-collections.blacklist and crosscheck with whitelist.Nicolas Stucki2016-12-181-6/+44
| |
* | Fixes to testsMartin Odersky2016-12-171-3/+4
|/ | | | | | | | | | | | 1. I noted java_all was not running(it took 0.01s to complete); fixed by changing the test directory. 2. We suspected tasty_bootstrap was gettng the wrong classpath and had a lot of problems getting it to print the classpatg. Fixed by refactoring the options we pass to tasty_bootstrap (it has to be -verbose in addition to -classpath). For the moment, both a turned off but we have to just swap a false to a true to turn them on together.
* More info when unpickling failsMartin Odersky2016-11-241-6/+2
|
* Compile dotty library when bootstrappingMartin Odersky2016-11-241-2/+2
|
* Make tests depend on environment variables for classpath jarsFelix Mulder2016-11-231-7/+24
| | | | | | | | | | | | sbt adds the correct jars to classpath and the tests depend on `packageAll` which creates these. When using something else however, these together with `sbt-interfaces` do not get propagated from the build. To remedy this and make the testing a bit more flexible, we now take these from `sys.props` instead, see `tests/dotty/Jars.scala`. If the props aren't defined we fall back to the ones default to sbt.
* Fix remaining tests with incorrect paths following moveGuillaume Martres2016-11-221-1/+0
|
* Move compiler and compiler tests to compiler dirFelix Mulder2016-11-221-0/+359