Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make relevant parts of compiler conform to new error handling | Felix Mulder | 2016-10-10 | 1 | -2/+2 |
| | |||||
* | Add modifiers to highlighting | Felix Mulder | 2016-10-10 | 1 | -5/+6 |
| | |||||
* | test negtest path with / rather than path separator | Martijn Hoekstra | 2016-09-08 | 1 | -1/+1 |
| | |||||
* | honor -encoding compiler flag and defaults | Martijn Hoekstra | 2016-09-07 | 1 | -3/+5 |
| | | | | | | | | | rename test/pos/valueclasses to pos_valueclasses tests/pos/valueclasses generates a valueclasses.flags file in /tests/partest-generated/pos that conflicts with the valueClasses.flags file that tests/neg/valueClasses.scala tries to create | ||||
* | force UTF-8 for slurp and write | Martijn Hoekstra | 2016-09-07 | 1 | -2/+28 |
| | |||||
* | normalize paths for tests | Martijn Hoekstra | 2016-09-07 | 1 | -2/+1 |
| | |||||
* | partest: Enable separate compilation and javac tests | Guillaume Martres | 2016-07-27 | 1 | -1/+2 |
| | | | | | | | | | | | | partest can separately compile files based on their suffix (_1, _2, ...), it turns out that this feature was never enabled in the dotty version of partest and no one noticed (it prints warnings in ./tests/partest-generated/gen.log which no one reads), tests with *.java files should be compiled both with javac and dotty, but compiling with javac was also disabled. Enabling this revealed some latent bugs that will be fixed in the next few commits. | ||||
* | Fix error printing in compiler test | Martin Odersky | 2016-07-16 | 1 | -9/+7 |
| | | | | Error messages were suppressed so far, now get printed. | ||||
* | Fix #1336: Discard reporter output for tests that succeed. | Nicolas Stucki | 2016-07-07 | 1 | -5/+20 |
| | |||||
* | partest: correct line numbers in run stack traces | Guillaume Martres | 2016-06-30 | 1 | -6/+2 |
| | | | | | | | partest adds a warning in a comment at the beginning of source files that it copies, but this means that every line number displayed in a stack trace is offset by 6. We can workaround this by making the warning a single line with no newline at the end. | ||||
* | Add Eq instances of standard types to Predef | Martin Odersky | 2016-05-23 | 1 | -1/+5 |
| | | | | | | | | | To make tests pass, this required a looser specification of `assumedCanEquals`, so that an abstract type T can be compared to arbitrary values, as long as its upper bound can be compared. E.g. T == null T == "abc" | ||||
* | Add REPL tests | Martin Odersky | 2016-03-18 | 1 | -1/+16 |
| | |||||
* | Polish rewrite test | Martin Odersky | 2016-03-12 | 1 | -3/+3 |
| | | | | Remove println; add docs | ||||
* | Rewrite test | Martin Odersky | 2016-03-12 | 1 | -1/+17 |
| | | | | Test rewritings that were implemented so far. | ||||
* | Neg tests: change val computeFilePathsAndExpErrors to def | VladimirNik | 2016-03-03 | 1 | -3/+3 |
| | |||||
* | Neg tests: remove negTest flag; neg tests are binded to neg directory | VladimirNik | 2016-03-03 | 1 | -41/+34 |
| | |||||
* | Neg tests: remove xerror parameter from tests (compute based on // error) | VladimirNik | 2016-03-03 | 1 | -42/+67 |
| | |||||
* | Neg tests: filename checking updated | VladimirNik | 2016-02-18 | 1 | -1/+1 |
| | |||||
* | Restructured JUnit neg tests | vsalvis | 2016-02-18 | 1 | -50/+107 |
| | |||||
* | Negtests (JUnit only) check that each error line has a // error | vsalvis | 2016-02-18 | 1 | -3/+76 |
| | |||||
* | Driver: properly use root Context passed as argument | Guillaume Martres | 2016-02-04 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | Also CompilerTest no longer runs the compiler with the context DottyTest#ctx. Previously, we got away with this because Compiler#process ignored it and created a new Context, but this commit fixes this, and it is now very important that we use a different context for every test we compile. Since DottyTest#ctx was the only part of DottyTest we used, CompilerTest no longer extends DottyTest to make sure that we do not use it accidentally. If we want to use DottyTest as a base class for tests again, we will have to remove its implicit Context field first. Also do not try to initialize the definitions in the context used by partest, this is not necessary. | ||||
* | Survive files that are not SFiles in CompilerTest | Martin Odersky | 2016-01-16 | 1 | -1/+1 |
| | | | | | | | I observed in a local partest a file with was a java.io.Path, not an SFile. They should be treated like SFiles. Not clear why this came up. The file in question (partest-generated/pos/Patterns_v1.scala) looked just like all the others that were read as SFiles. | ||||
* | Partest 3/3: Proper compiler output redirection | vsalvis | 2015-06-24 | 1 | -1/+1 |
| | |||||
* | Update-check option for partest, added "do not edit" header | vsalvis | 2015-05-22 | 1 | -16/+15 |
| | |||||
* | Added partest-only sbt target and less verbose file generation | vsalvis | 2015-05-22 | 1 | -23/+33 |
| | |||||
* | Partest command line options (same as scala) useable from sbt | vsalvis | 2015-05-22 | 1 | -7/+6 |
| | |||||
* | Run partest directory as whole by default. | Dmitry Petrashko | 2015-05-13 | 1 | -13/+19 |
| | |||||
* | More robust partest/test switching for concurrent sbt instances | vsalvis | 2015-05-12 | 1 | -15/+17 |
| | |||||
* | Better documentation for partest dottyJar option | vsalvis | 2015-05-12 | 1 | -1/+1 |
| | |||||
* | Run tests for partest | vsalvis | 2015-05-12 | 1 | -22/+59 |
| | |||||
* | Robuster FileLock test to prevent exception if fork in Test is ever disabled | vsalvis | 2015-04-20 | 1 | -5/+11 |
| | |||||
* | Using FileLock to distinguish between test and partest mode | vsalvis | 2015-04-20 | 1 | -2/+10 |
| | |||||
* | Partest for Dotty with pos tests and neg tests with error count | vsalvis | 2015-04-17 | 1 | -25/+260 |
| | |||||
* | support running java-interop tests | Ondrej Lhotak | 2014-11-22 | 1 | -3/+3 |
| | |||||
* | Add possibility to compile all files in a directory and all subdirectories. | Martin Odersky | 2014-10-12 | 1 | -2/+6 |
| | | | | | We better make this configurable. Because sometimes we want to compile only the files in the immediate directory. | ||||
* | Fix test suite to go deep in subdirectories. | Dmitry Petrashko | 2014-10-11 | 1 | -1/+1 |
| | |||||
* | Reporter refactoring | Martin Odersky | 2014-05-20 | 1 | -1/+1 |
| | | | | Refactored reporters to increase clarity and to pave the way for having Diagnostics subclasses. | ||||
* | Changes to test framework and tests | Martin Odersky | 2014-05-08 | 1 | -9/+7 |
| | | | | | | | | | defaultOptions is now an implicit parameter, which means it can be overridden on a call-by-call basis. Added -Ycheck:front to verify that typed trees typecheck again with same types. The option is disabled for one of the structural tests. | ||||
* | Allow to provide parent Context for Driver.process | Dmitry Petrashko | 2014-04-11 | 1 | -1/+1 |
| | |||||
* | Improve test infrastructure | Martin Odersky | 2014-03-10 | 1 | -2/+16 |
| | | | | | | | | | 1) New method compileFiles which allows one to compile the content of a directory one file or directory after another. 2) max constraint is printed to typr. Added new test pos_all. Other pos tests can be retired. | ||||
* | Generalize test infrastructure | Martin Odersky | 2014-02-07 | 1 | -7/+6 |
| | | | | Compiler tests can now be run with configurable number of compilers and runs in a compiler. | ||||
* | Make skolems live forever... | Martin Odersky | 2014-02-06 | 1 | -5/+8 |
| | | | | ... because there's no way to reload them in a new run. | ||||
* | Starting to test compiling the compiler. | Martin Odersky | 2013-12-21 | 1 | -0/+19 |
| | |||||
* | Added unit testing support | Martin Odersky | 2013-11-18 | 1 | -0/+23 |