On 06/02/2014 02:55 PM, Moritz Eysholdt
wrote:
What you're asking seems impossible right now. However, this can easily be worked-around by starting sequentially several reactors:I’d like to use only one specific target platform for compilation (I called it the base-target-platform above). All other target platforms should be used for tests execution only. This way I’m hoping to detect API incompatibilities on binary level and avoid unnecessary compilation times. I managed to use maven profiles to make target platforms interchangeable, but I’m unsatisfied with it because - it doesn’t allow me to have separate platforms for test-compilation and test-execution - it doesn’t allow me to test against all target platforms during a single execution of the build. So… can Tycho find and run JUnit tests from an already-installed bundle? $ cd bundles $ mvn clean install -DtargetPlatform=api # This will install bundles in your local Maven repo $ cd ../tests $ mvn clean verify -DtargetPlatform=runtime1 # This will most likely consume the bundles that you just installed in your local Maven repo $ mvn clean verify -DtargetPlatform=runtime2 ... The only glitch is that in some circumstances, p2 wll not select the bundle that is is your local Maven repo: https://bugs.eclipse.org/bugs/show_bug.cgi?id=418546 HTH |
↧
Re: [tycho-user] run integration tests against multiple target platforms
↧