| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mopping up after the deprecation of exit and error. It is decidedly
non-trivial (at least for the IDE-impaired) to be completely sure of
which error function was being called when there were about twenty with
the same signature in trunk and they are being variously inherited,
imported, shadowed, etc. So although I was careful, the possibility
exists that something is now calling a different "error" function than
before. Caveat programmer.
(And let's all make it our policy not to name anything "error" or "exit"
from here on out....) No review.
|
|
|
|
|
|
|
| |
You shall not pass the testing stage when abort crashes the resident
compiler. previously it succeeded even though the error message was
printed. Review by phaller
|
|
|
|
|
|
| |
(apparently) the bug which has had me chasing concurrency ghosts
throughout the haunted castle. No review.
|
|
|
|
|
|
| |
partest sets javaccmd system property when running tests. Review by
dragos.
|
| |
|
|
|
|
|
|
|
|
| |
Ported --update-check from partest-alternative to partest actual. Once
again all can daily demonstrate their amazing resolve by not mass
updating checkfiles by the hundreds with whatever the current output
happens to be. No review.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Some exception handling fixes in parallel collections. Fixed some
regressions. Fixed some tests.
No review.
|
|
|
|
|
|
| |
One more partest fix where output was redirected using a global
variable, causing errors with multiple actors. Review by plocinic
|
|
|
|
|
|
|
|
|
| |
Log file is printed now right away if:
- test fails due to an exception thrown in the a test
- test fails due to a ScalaCheck test fail
- test fails due to compiler errors in ScalaCheck tests
Review by extempore.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Solved issues with fork join pool creators, and the issue with
scalacheck output.
Done by Philipp and me.
Review by phaller.
|
|
|
|
|
|
|
| |
Fixed a scalacheck test group "test entire subdirectory" problem. It's
now possible to add scalacheck tests consisting of multiple files. No
review.
|
| |
|
|
|
|
|
|
| |
Fixes the way results of Scalatest are checked by Partest. Contributed
by Kato Kazuyoshi. Review by phaller.
|
|
|
|
|
|
| |
Enabled partest to run entire directories for scalacheck test group.
Review by extempore.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Couldn't bear to see sbt seemingly so close but still unable to run
tests. Made some progress but bogged down in scalacheck when I realized
things were farther from working than I'd thought. Please forgive this
brief expression of frustration, because the despair is palpable:
the weeks of work I did on partest was apparently of no interest,
and now I'm in here having to fix the same partest bugs again, in a
more virulent form. They've evolved into some kind of ant-partest-sbt
artificial creature, more fearsome than any one of them could be under
its own power.
Did we not know we have a whole directory full of pretty code like this?
List(
"Scala compiler classes in: " + testBuildDir,
"Scala version is: " + nsc.Properties.versionMsg,
"Scalac options are: " + universe.scalacOpts,
"Java binaries in: " + javaBin,
"Java runtime is: " + javaInfoString,
"Java runtime options: " + (Process.javaVmArguments mkString " "),
"Javac options are: " + universe.javacOpts,
"Java options are: " + universe.javaOpts,
"Source directory is: " + src,
"Selected categories: " + (selectedCategories mkString " "),
""
) mkString "\n"
It's src/partest-alternative in case anyone wants to consider any of it.
At the very least there are individual files or functions which could be
cherry picked.
-- This patch contains: --
Readability efforts. Twelve parameter functions whose last six
parameters are "true,true,failedOnly,true,false,log" are pretty
challenging to work with.
Changes to the environment variables sbt was setting to look a bit more
like what partest expects and will crash without.
Sets partest.debug=true if the sbt logger level is at Debug.
On my machine all test groups except scalacheck appear to run to
completion.
Review by moix. (Hello, moix! I am available for assistance if you are
in the market for it. You have brought us long suffering ant-ers to the
brink of sbt goodness: and now, we enter the fray!)
|
|
|
|
|
|
| |
Unbroke the command line ~/test/partest tool, which was displeased at
being unable to find scalacheck.jar. No review.
|
|
|
|
|
|
|
| |
Partest changes - partest now uses scalacheck.jar from the build/pack dir.
Review by phaller.
|
|
|
|
|
| |
Review by phaller (not urgent).
|
|
|
|
|
|
| |
Partest support for sbt (with failed only and specific files only
options) Support for triggered execution
|
|
|
|
|
|
| |
Partest task will go into verbose debug mode when ant's debug flag is
set.
|
| |
|
|
|
|
|
|
|
|
| |
Changed the script runner mechanism to alchemize from AST atoms rather
than generating wrapper source, and fixed script position reporting.
This patch does not include a discussed change to mark some positions as
synthetic. Closes #3119, #3121. Review by milessabin.
|
|
|
|
|
| |
Removed more than 3400 svn '$Id' keywords and related junk.
|
|
|
|
|
|
|
|
| |
Remove the sourcepath prefix from the logs and only then do dos2unix
paths changing (otherwise #3054 fails). It is a bit ugly but it is only
done for buildmanager (paul was doing it anyway in his reverted partes).
That should really fix the windows build. No review.
|
| |
|
|
|
|
|
|
|
|
| |
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.)
|
|
|
|
|
|
| |
Rolled back a subset of partest to use StreamAppender and avoid
io.Process. No review.
|
|
|
|
|
|
|
| |
Reverted change that made partest fail with 'bin/javac: no such file'
when JAVA_HOME was not set (instead of using the javac on the PATH).
Reviewed by extempore, so no review.
|
|
|
|
|
|
|
|
|
| |
Since pickled data moved into annotations ShowPickled has been
confusedly scratching its head. Made tools/showPickled work again. In
the process created a simple interface for creating command line tools
for the (majority of) commands which would just like to specify a
handful of options. No review.
|
|
|
|
|
|
|
|
|
|
| |
Handled action items (1) and (4) of the phaller/cunei/rytz agenda
for a less regressive partest, to the extent possible without some
accompanying sbaz changes. Unnecessary sanity check which failed on sane
but non-trunk filesystem layouts removed. Files with custom command
sequences explicitly qualify the path to the filenames listed in the
.cmds file. Review by phaller.
|
|
|
|
|
|
| |
Degeneralized some incomplete generalization of the diff machinery.
Improved the summary output on failures. No review.
|
|
|
|
|
|
| |
partest --update-check to create the check file if none exists as well
as updating a pre-existing one. No review.
|
|
|
|
|
|
| |
way equals was being handled, and hammered it out. New ==/## tests which
covers all types and values. Review by odersky.
|
|
|
|
|
|
|
|
|
|
|
|
| |
temporary if considered clutter.
ant test.partest
ant test.partest-opt
They run some recently troublesome partest tests with a low timeout.
Logged some more exceptions where the compiler has been dying. Review by
phaller.
|
|
|
|
|
|
| |
Another attempt at avoiding partest hang ups when the compiler crashes.
Review by extempore.
|
|
|
|
|
|
|
|
| |
Correct oversight where neg tests didn't demand a checkfile. More trying
to get timeout/interrupted logic so we know when things die but also
don't impede interrupts. Folded precondition logic into test sequence
logic, it's plenty general to cover it. Closes #3282, review by phaller.
|
|
|
|
|
| |
Reverted r21500 until all test categories work again.
|
|
|
|
|
|
|
|
| |
Restored partest behavior to write log files with normalized paths. For
new tests the check file can be copied from the log file. This makes the
behavior of --show-diff exactly the same as diffing the log and check
file. Review by extempore.
|
| |
|
|
|
|
|
| |
Attempting to unblock partest by handling AssertionErrors. No review.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
automatically update all the checkfiles with whatever output the tests
are producing. I suppose it goes without saying that this would be easy
to misuse, so let the record show that I accept no responsibility when
someone overwrites all the checkfiles in trunk with their shopping list
and checks it in.
Recommended usage: See some tests fail. Run
partest --failed --show-diff
Verify that all output differs in the expected fashion. Then run
partest --failed --update-check
Mission accomplished. No review.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
partest it really will use quick as the build dir. No review.
|
|
|
|
|
|
|
|
|
| |
Fixed another partest feature I'd managed to break at the very last
minute. When a test is too slow finishing, there will be messages
identifying the test. It defaults to 90 seconds before the first warning
because I know some machines are slow, but it'd be nice if that was more
like 30. No review.
|
|
|
|
|
|
| |
A couple more bits of partest I discovered weren't doing their jobs.
Some of my classiest messages were going unheard! No review.
|
|
|
|
|
| |
Noticed a bug with test obj dirs not getting deleted. No review.
|
|
|
|
|
|
|
|
| |
Fix for the partest task to fail the build when a test fails, and fixes
for 2/3 of the quietly failing tests. I'm not quite sure what to do
about the view ones, it doesn't look like a simple rename is going to
cut it, so: review by odersky.
|