Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] build for target A, test on target B

We, at JBoss Tools, are using two distincts TP for compiling/packaging and running unit tests.

On Tue, Jul 16, 2019 at 11:46 AM Mickael Istria <mistria@xxxxxxxxxx> wrote:

On Tue, Jul 16, 2019 at 11:34 AM Christian Pontesegger <christian.pontesegger@xxxxxx> wrote:
To my knowledge there is no way to set the target file on a target-

Not sure what you mean, but you can create eclipse-target-definition artifacts in, reference them in the target-platform-configuration block and even use variables to switch between them according to system properties, profiles, whatever.

That said, Tycho is more about building artifacts than orchestrating test benches, so for this case, it might make sense that you create one test bundle including a test suite referencing all the tests you want to run on the older platform, and build and publish it in some p2 repo with Tycho, but run it with some other tools.
You can easily script something that install (using `eclipse -application org.ecliose.equinox.p2.director ....`) this master test suite and the PDE test launcher in a given product and run the tests using some `eclipse -application org.eclipse.pde.junit.runtime.uitestapplication ...`.

tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

Back to the top