Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-ui-dev] gerrit job with tests?

I agree it would be nice to run the tests in Gerrit, but I don't have time to make it work.

I think the tests are disabled due to
Bug 416915: Allow to run tests with tycho-surefire-plugin

I've added some comments there.

Markus




From:        Stephan Herrmann <stephan.herrmann@xxxxxxxxx>
To:        jdt-ui-dev@xxxxxxxxxxx
Date:        2015-03-10 00:52
Subject:        [jdt-ui-dev] gerrit job with tests?
Sent by:        jdt-ui-dev-bounces@xxxxxxxxxxx




Hi,

I just made my first attempt at letting Hudson test
a change for JDT/UI. I was surprised how fast the
job completed, until I noticed that no tests have
been run :)
Is that by intention?

I see the job explicitly sets:

  maven.test.skip=true
  skipTests=true

For comparison in JDT/Core we have

  skipTests=false

I made a test by temporarily using that setting for
JDT/UI, too, but now I was greeted with

[INFO] --- tycho-surefire-plugin:0.22.0:test (default-test) @ org.eclipse.jdt.ui.tests ---

[INFO] {osgi.ws=gtk, osgi.os=linux, osgi.arch=x86, org.eclipse.update.install.features=true}
[ERROR] Cannot resolve project dependencies:
[ERROR]   You requested to install 'bundle org.eclipse.jdt.junit4.runtime 0.0.0' but it could not be found

Is that the reason why tests are disabled?
(Naive idea: just a matter of reactor build order?)

If you agree that running the tests would be good,
I'll file a bug for fixing this.

cheers,
Stephan

PS: other differences in Job configs:

JDT/UI: JDK 1.7.0 Latest, Maven 3.0.5.
JDT/Core: jdk 1.8.0 latest, apache-maven-latest.
_______________________________________________
jdt-ui-dev mailing list
jdt-ui-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jdt-ui-dev



Back to the top