Commit Graph

19 Commits

Author SHA1 Message Date
extempore 211d5a1c30 Confusingly, I am restoring the method "getArchive" which has
been gone from trunk since February 2010 but is suddenly necessary
for the sbt build (as its "compiler-interface" won't compile without
it.) I am sure it all makes perfect sense.  No review.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@24961 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2011-05-14 20:47:22 +00:00
rytz 13d2835f42 fix get-scala-revision script for the case when svn prints some warnings. no review
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@24637 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2011-03-30 07:06:08 +00:00
extempore b246b6057d Don't have time to fix the sbt build and can't keep watching
it fail.  Commented test out liberally.  No review.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@24183 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2011-02-04 06:41:05 +00:00
extempore 139cb25aa7 A bunch of work on the sbt build. No review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@24126 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2011-01-27 23:26:19 +00:00
extempore a9aba798d5 Securing some of the blessings of whitespace for the sbt
build.  No review.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@24123 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2011-01-27 20:24:50 +00:00
cunei eb642f6633 Updated copyright notices to 2011
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@24032 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2011-01-20 15:32:51 +00:00
prokopec 28a06dbdb0 Added 'specialized' tests.
Added a new test group - specialized.
Modified partest to add a jar with instrumented classes to classpath when compiling and running tests.
Added a primary version of the instrumented BoxesRuntime, and a script to produce a jar for it.
Added the 'speclib' folder to partest files, which contains the jar with the instrumented classes.

Review by dragos.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@23997 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2011-01-17 15:18:03 +00:00
prokopec 59e9b06616 Bencharking a larger program with parallel collections.
Fixed a couple of bugs in parallel collections.

No review.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@23816 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-12-21 17:41:31 +00:00
extempore bd12240f2a Added secret option to sbt build which makes it only recompile
changed files.  No review.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@23779 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-12-16 08:26:54 +00:00
extempore acf4abf883 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!)

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@22976 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-09-14 04:48:30 +00:00
extempore e39c9fe659 Tweaking sbt so it will stop jabbering about svn info failing
when there's a perfectly fine git repo yet to be tried.  No review.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@22975 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-09-14 00:39:59 +00:00
moix 3e61b7d69b Stability testing task added. Corrected cleaning to be ant-like. Do not crash anymore if impossible to get the revision number. Tasks description added
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@22939 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-09-07 09:38:32 +00:00
rytz ceb71edd21 update sbt build files to include scalacheck.jar. review by dubochet, moix
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@22932 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-09-03 14:20:10 +00:00
moix 648e28e526 Correction to commit 22865 in order for sbt build to work
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@22866 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-08-31 06:59:27 +00:00
moix b9b90ea688 Partest support for sbt (with failed only and specific files only options)
Support for triggered execution

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@22865 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-08-31 06:49:57 +00:00
moix c14c7dc3a1 Extending sbt capabilities :
- building continuation plugin
- building and replacing fjgb, msil and forkjoin
- building and replacing starr
- layer cleaning tasks

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@22800 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-08-19 15:06:34 +00:00
rytz fd73ec29c8 remove space from sbt's build/x/ classes directory. no review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@22777 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-08-16 17:29:42 +00:00
extempore 9aefab8491 Alterations so the sbt build will run under git-svn.
Review by moix.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@22649 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-07-29 17:36:23 +00:00
moix db51b02e22 First version of SBT build for Scala compiler/library (see README)
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@22646 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-07-29 09:52:28 +00:00