summaryrefslogtreecommitdiff
path: root/test/partest
Commit message (Collapse)AuthorAgeFilesLines
* SI-7314 Partest locates tools.jar and javacSom Snytt2013-04-181-3/+22
| | | | | | | | | | | | | | | | | | | | This commit lets partest locate tools.jar the way REPL does, with the addition that java.home.parent is also tried. The partest script will use JAVAC_CMD if set, or else JAVA_HOME, and will try the sibling of JAVACMD if set (on the theory that if you specify java, you are avoiding the path lookup and javac may also be in that special place), or else query the path for javac. The use cases are: no env vars, look around java.home; JDK or JAVA_HOME is set; JAVACMD is set; and finally tools.jar can live in jre/lib/ext and the fallback deep search will find it. These cases have been tried on cygwin with Java installed under s"Program${space}Files", which is usually the most brittle environment. That means tested with bash. The windows partest.bat has not been upgraded or side-graded.
* SI-6289 Partest in technicolor and showing javac errorsSom Snytt2013-04-041-2/+14
| | | | | | | | | | | | | | | | | | | | | | Paulptest includes color and simplified test scarfing. Scalap tests are moved to the conventional name and location. Testicolor missed out on Josh Suereth's tweak to sort the files in a compilation round. Restore sortiness to test sources. Testicolor is due to one of Paul's branches on a timeline that apparently did not include the destruction of planet Earth and its colonies by the Xindi. Thanks also to Szabolcs Berecz for his merge effort. Merging is thankless work, but not as thankless as merging in a timeline that actually does terminate in the destruction of your home world and Enterprise. Archer had a supremely difficult choice: rescue humanity or live out his retirement with T'Pol waiting on him hand and foot? I'm sure I don't know how I'd choose.
* Merge remote tracking branch 'origin/2.10.x' into ↵Jason Zaugg2013-04-021-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | topic/merge-2.10.x-to-v2.11.0-M2-74-g00e6c8b Conflicts: bincompat-backward.whitelist.conf bincompat-forward.whitelist.conf build.xml src/compiler/scala/reflect/reify/utils/Extractors.scala src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala src/compiler/scala/tools/nsc/symtab/classfile/ICodeReader.scala src/compiler/scala/tools/nsc/transform/patmat/MatchOptimization.scala src/compiler/scala/tools/nsc/typechecker/Typers.scala src/partest/scala/tools/partest/nest/ReflectiveRunner.scala src/reflect/scala/reflect/internal/Types.scala src/reflect/scala/reflect/runtime/JavaUniverse.scala test/files/run/inline-ex-handlers.check test/files/run/t6223.check test/files/run/t6223.scala test/scaladoc/scalacheck/IndexTest.scala
| * Strip version suffix from diffutils.Adriaan Moors2013-03-291-1/+1
| |
| * Use java-diff-utils for diffing in partest.Adriaan Moors2013-03-291-2/+2
| | | | | | | | | | | | | | | | We now use the unified diff format, hence the updated check files. It's not clear to me how partest's classpath is managed, but the approach in this commit works for the ant task and script invocation. The diffutils jar is injected in the parent classloader.
* | Merge remote-tracking branch 'origin/2.10.x' into pr/merge-210Paul Phillips2013-01-291-1/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'd392d56d6bf8b0ae9072b354e4ec68becd0df679': SI-4602 Disable unreliable test of fsc path absolutization Update a checkfile from a recent fix. SI-7018 Fix memory leak in Attachments. SI-4733 - fsc no longer creates a single temp directory for all users. Bumped partest MaxPermSize to 128m. SI-6891 Fix value class + tailrec crasher. Ill-scoped reference checking in TreeCheckers Make value classes TreeCheckers friendly SI-4602 Make fsc absolutize source file names SI-6863 Fix verify error in captured var inited from expr with try/catch SI-6932 Remove Batchable trait plus minor clean-ups Fix SI-6932 by enabling linearization of callback execution for the internal execution context of Future SI-6443 Expand test coverage with varargs, by-name. SI-6443 Widen dependent param types in uncurry Conflicts: src/reflect/scala/reflect/internal/Trees.scala test/partest
| * Bumped partest MaxPermSize to 128m.Paul Phillips2013-01-261-3/+4
| |
* | Merge commit 'e7ecaa00bb' into pr/merge-2.10Paul Phillips2013-01-251-2/+2
|\| | | | | | | | | Conflicts: test/partest
| * Use the same default scalac options in all three partest frontendsSzabolcs Berecz2013-01-221-1/+0
| | | | | | | | | | | | | | | | | | Make ConsoleRunner, AntRunner and SBTRunner take scalac options from "partest.scalac_opts" property. Also remove leftover "-deprecation" option from test/partest. The change to SBTRunner was not tested as sbt test is currently broken.
* | align partest script with antAdriaan Moors2013-01-161-1/+4
| | | | | | | | don't silently pass -deprecation to scalac by default
* | Updated copyright to 2013Carlo Dapor2013-01-021-1/+1
| |
* | On --grep, partest must dir.list to descend into subdirs (fixes SI-6296)Som Snytt2012-08-311-1/+7
|/ | | | | | | | In addition, always use UTF-8 when reading test files (and not default), since some tests exercise UTF-8. Also, quote "$JAVACMD" and convert it (and $JAVA_HOME) for cygwin, where $JAVACMD is likely to include a space.
* a quickfix for test/partestEugene Burmako2012-06-081-1/+1
|
* Tweaks repl tests to enforce -Yrepl-sync and ot...Paul Phillips2011-06-101-2/+12
| | | | | | | | | Tweaks repl tests to enforce -Yrepl-sync and other setup on all clients. Also includes some more why-do-tests-hang bosons for the particle accelerator in case that doesn't wrap it up. I think it will though, because now constrained-types is the only one which failed and it's also the only one which overrides Settings. No review.
* Fixing the scalap test rig to work like other t...Paul Phillips2011-03-291-2/+1
| | | | | | Fixing the scalap test rig to work like other test types so it doesn't break the distribution build. No review.
* Updated copyright notices to 2011Antonio Cunei2011-01-201-1/+1
|
* Rolled partest back to r21328.Paul Phillips2010-05-061-18/+7
| | | | | | | | changes necessary to plug it back in while preserving everything which has happened since then in tests and such, but we should be the lookout for overreversion. Review by phaller (but as a formality, I don't think it requires direct review.)
* Introduces scala.tools.cmd providing command li...Paul Phillips2010-04-111-3/+3
| | | | | | | | | | | | | | | | | | Introduces scala.tools.cmd providing command line tool infrastructure. For a quick look at what can be done, see scala.tools.cmd.Demo For a more involved, potentially eye-straining look, see scala.tools.partest.PartestSpec To experience it through the eyes of Joe Partest User, run test/partest Review by community.
* If I work on this patch any longer without chec...Paul Phillips2010-04-051-7/+18
| | | | | | | | | | | | | | | | If I work on this patch any longer without checking in I will go stark raving mad. It is broken up into a couple pieces. This one is the changes to test/. It includes fixing a bunch of tests, removing deprecated constructs, moving jars used by tests to the most specific plausible location rather than having all jars on the classpath of all tests, and some filesystem layout change (continuations get their whole own srcpath.) This would be the world's most tedious review, so let's say no review. [Note: after this commit, I doubt things will build very smoothly until the rest of the partest changes follow. Which should only be seconds, but just in case.]
* Enabled scalacheck tests.Paul Phillips2010-03-011-1/+1
| | | | | | | | what must be legacy scalatest.* properties to partest.*, boldly assuming that the fact that partest is pretty much unusable outside of scalac means there are no users outside of scalac who might be disrupted by eliminating old property names. Review by community.
* ...and managed to miss the key file in getting ...Paul Phillips2010-02-171-1/+6
| | | | | ...and managed to miss the key file in getting past partest. No review.
* Updated copyright notices to 2010Antonio Cunei2009-12-071-1/+1
|
* Some duplication elimination in partest.Paul Phillips2009-09-221-2/+2
|
* Scalac was failing if the path to the distributionAntonio Cunei2009-07-161-1/+1
| | | | | contained whitespaces. This simple change fixes that.
* Fix for #2092Antonio Cunei2009-07-011-2/+6
|
* Updated copyright notices to 2009Antonio Cunei2009-01-091-1/+1
|
* Changed the way in which the path to javac is p...Philipp Haller2008-10-211-1/+1
| | | | | Changed the way in which the path to javac is passed to partest.
* Boot class path and ext dirs are now set proper...Philipp Haller2008-09-181-1/+1
| | | | | | | Boot class path and ext dirs are now set properly when creating compilers to be tested. partest runner script now reads PARTEST_DEBUG env. var (setting it to true enables debug output).
* Fixed spelling of partest scalac and java options.Philipp Haller2008-09-171-1/+1
|
* - updated partest to work with SuperSabbus (pac...Lukas Rytz2008-05-071-3/+3
| | | | | | | | - updated partest to work with SuperSabbus (pack direcotry) and installed distributions.\n-removed 'latestFjbgFile' where apropriate, because fjbg is now included in scala-compiler.jar.\n-updated runner scripts to work with an installed distribution.
* partest does not use STARR library any morePhilipp Haller2008-02-271-13/+3
|
* removed unused vars/propsmichelou2008-02-271-18/+5
|
* corrected EXT_CLASSPATHmichelou2008-02-261-2/+16
|
* updated partest, added jline.jar to dists/latestmichelou2008-02-261-848/+59
|
* changed some newlinesmichelou2007-11-161-4/+3
|
* improved code (actor exit problem still pending)michelou2007-11-151-57/+27
|
* fixed partest, removed mergeLines (useless)michelou2007-11-131-2/+2
|
* partest integration (alpha)michelou2007-09-111-0/+906