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.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@23216 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
Fixing an issue with hashset splitters where the splitting does not work if some elements have already been iterated.
Added parallel collections exception handling.
Added parallel collections break control.
Renaming ParHashTrie -> ParHashMap.
The part with immutable.{HashSet, HashMap} - review by rompf
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@23200 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
those "what are we doing" moments regarding the reams of output
generated under -Ydebug. We have all these places where extra
info is logged under -Ydebug -- like "if (debug) log(...)" -- and if
you try for those you are also saddled with all these irrelevant places
which instead say if (debug) Console.println(...).
I changed about every one of them to send it to log() instead.
So if you were enjoying that 600 MB of debugging output when you compile
"goodbye world", you can have it back and then some with -Ylog:all.
Until then, enjoy the calm, quiet competence of the new -Ydebug.
Also herein: raised default ANT_OPTS permgen because I can no longer
build a dist with the former defaults, and gave some synthetics a better
home in StdNames.
No review (but if anyone just can't live without some particular
piece of output every single time -Ydebug is given, I can put it back.)
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@23158 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
Build process will now generate a scalacheck jar in the build/pack/lib directory. It generates it from the scalacheck source in the src/scalacheck dir. If the source there gets out of date, it is to be updated manually using the tools/updatescalacheck script.
Review by phaller.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@22868 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
forkjoin.jar everywhere with the hope/expectation we will see a
restoral of order. Someone should definitely figure out how it
is we developed this non-deterministic dependency. Review by phaller.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@22462 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
on src/dbc for lack of forkjoin.jar. We apparently have invented
non-deterministic jar dependencies. Added forkjoin.jar in
another spot, no review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@22450 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
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.)
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21829 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
Explanation: as things stood the plugin step of the overall build
fails constantly even when no files have been touched. The reason
is that if one checks out an older version of the repository and
then returns to the master, a subset of continuation source files
will have more recent modification dates than their corresponding
classes, and ant sees that as a reason to rebuild them. But without
continuations-plugin on the classpath, it cannot see the classfiles
of those which were not changed.
IOW, if a project has A.scala B.scala C.scala and tries to rebuild
only A.scala and C.scala, B.class must be somewhere it can be seen.
We can resolve this differently if desired but this is how the rest
of the compiler does it. (Try removing quick from quick's classpath
and rebuilding after some changes.)
Review by rompf.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21723 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
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.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21510 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
ant to partest for use on all tests, which rytz had
astutely pointed out I made disappear. Long term I think one
ought to be able to specify different arguments for building
the compiler and for partest, but now is not the moment for
such grand ambition. No review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21439 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
runs ant all.clean
builds with -Xcheckinit
runs the test suite with -Xcheckinit
Review by cunei? If the nightly is trying to do the above
sequence with command line options, I suggest it be changed
to run this target or a similar one so the logic is not
separated from the buildfile.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21374 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
it they can be my guest (reviewbot: review by community!) More
realistically: more than likely I have unwittingly altered or
impaired some piece of functionality used by someone somewhere.
Please alert me if this is the case and I will remedy it. I
have to call it at this point as the best interests of 2.8 cannot
be served by me nursing this patch along any further.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21330 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
my chagrin is being held up by windows. Also updates the default
ANT_OPTS to be the same as the ones the nightlies override it with.
(If we know you can't build scala with those settings it seems kind
of uncool to leave them for everyone else.) No review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21323 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
tests you have placed in the test/debug directories - critically
for those of us stuck debugging ant, this lets one run a small
selection of tests by way of ant instead of the console runner.
(Sorry about the empty .gitignore files, but one of git's quirks
is that it won't acknowledge the existence of an empty directory.)
No review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21111 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
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.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21014 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
commit. Now it should work, and also be copied into the
distribution. Review by anyone who may be cruel enough to
oppose including completion in the distribution.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20979 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
not being used. Updated partest with a --scalacheck option.
Added scalacheck tests to the ant build target. Still struggling
with ant/partest/classpaths so it's not on by default yet, but
at least ./partest --scalacheck works. We... will... use...
scalacheck. And we will like it! No review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20973 5e8d7ff9-d8ef-0310-90f0-a4852d11357a