Bug 500757: RCPTT test failures cause product build to fail
https://bugs.eclipse.org/bugs/show_bug.cgi?id=500757

Update test assertion to match new capsule-part label presentation.

Change-Id: I0d6a0e471d61f813e865f579985fdc813e5dcb52
1 file changed
tree: f2f77c89e09e38748a3b44be95a721348dbcf140
  1. .settings/
  2. documentation/
  3. features/
  4. models/
  5. plugins/
  6. releng/
  7. targetplatform/
  8. tests/
  9. .gitattributes
  10. .gitignore
  11. .project
  12. CONTRIBUTING.md
  13. epl-v10.html
  14. notice.html
  15. pom.xml
  16. README.md
README.md

How to build

Components in this project are built using Maven and its Tycho plugins for the build of Eclipse artifacts. To build locally, simply execute the command line in the root directory:

mvn clean install

By default the build will be done using the latest Papyrus and Eclipse RELEASE target platform. By default it will build tooling, profile, core, migration, cpp, common and junit tests

Codegen

To run codegen from the releng/codegen/ location run the following command:

For the release:

mvn clean install -PusePapyrusReleases

For the Nightlies:

mvn clean install  -PusePapyrusNightlies

For the Milestones:

mvn clean install -PusePapyrusMilestones

RCPTT, product, and p2

Releng Profile

To build p2, rcp, main papyrusrt feature, product and run rcptt tests on this product, the following profile should be run

mvn clean install -Preleng

Other Streams

Nightly

Use the following command to run the build on the nightly target platform:

mvn clean install -Pneon-papyrusnightly

Milestone

Use the following command to run the build on the Latest Milestone target platform:

mvn clean install -Pneon-papyrusmilestone

Remarks and known issues

Known Issues

When launching the Junit tests on a windows machine you could meet the following error:

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.25.0:test (default-test) on project org.eclipse.papyrusrt.umlrt.profile.tests: Unable to parse configuration of mojo org.eclipse.tycho:tycho-surefire-plugin:0.25.0:test for parameter excludes: Cannot assign configuration entry ‘excludes’ with value ‘**/*AllTests.java’ of type java.lang.String to property of type java.util.List -> [Help 1]

This is probably a Tycho regression: https://bugs.eclipse.org/bugs/show_bug.cgi?id=496411