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

Hi,

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-
platform-configuration.

Not sure what you mean, but you can create eclipse-target-definition artifacts in https://wiki.eclipse.org/Tycho/Packaging_Types#eclipse-target-definition, 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 ...`.

HTH

Back to the top