First attempt at clean build: "Tests in error"?

33 views
Skip to first unread message

Joachim Hofer

unread,
Nov 13, 2012, 8:25:43 AM11/13/12
to scala-...@googlegroups.com
Hello all,

I just forked & cloned the scala-ide project and attempted to do a clean build (./build-all clean install) as per the instructions. Unfortunately, the build fails with

Tests in error:
  findReferencesInConstructorSuperCall(scala.tools.eclipse.findreferences.FindReferencesTests): Don't know how to convert element `layout` of type `class org.eclipse.jdt.internal.core.ResolvedBinaryMethod`
  findReferencesInClassFields(scala.tools.eclipse.findreferences.FindReferencesTests): Don't know how to convert element `layout` of type `class org.eclipse.jdt.internal.core.ResolvedBinaryMethod`

Tests run: 286, Failures: 0, Errors: 2, Skipped: 30

Can someone please point me to what might have gone wrong here? - Do I have to configure something that I don't know about?

I'm on Ubuntu Linux, using Java 6 and Maven 3.0.4.

Does the build somehow use one of my local Eclipse installations? - Then it's probably the wrong one. - Or are these tests just failing atm (sorry, can't check Jenkins currently because the firewall doesn't like port 8496)?

Thanks,
Joachim

Luc Bourlier

unread,
Nov 13, 2012, 10:27:42 AM11/13/12
to scala-...@googlegroups.com
Those 2 tests are failing for me on Linux too. I meant to try to find out why, but I haven't had the time yet.

They run fine on the build server, and on most osX setups.

HTH,
Luc

Mirco Dotta

unread,
Nov 13, 2012, 11:08:39 AM11/13/12
to scala-...@googlegroups.com
For the time being, you can either build the IDE and skip tests (just pass -Dmaven.test.skip=true), 
or add a JUnit @Ignore for the tests that are failing.

-- Mirco
Reply all
Reply to author
Forward
0 new messages