| Summary: | GMF Notation builds fail due to missing JUnit tests | ||
|---|---|---|---|
| Product: | [Modeling] GMF-Runtime | Reporter: | Anthony Hunter <ahunter.eclipse> |
| Component: | Notation | Assignee: | Anthony Hunter <ahunter.eclipse> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | pierre-charles.david |
| Version: | 2.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Anthony Hunter
In addition, the logging for the JUnits need to be fixed. If you use the wrong JRE or Eclipse, tests also fail,and you get no errors indicating why.
An additional example:
[exec] Start Xvfb on :15
[exec] xhost: unable to open display "localhost:15.0"
Since Xvfb is broken, the tests should not even start.
I added the org.eclipse.gmf.tests.runtime.notation and org.eclipse.gmf.tests.runtime.notation-feature to HEAD. I created a simple NotationTest that creates a notational metamodel and opens it in a text editor. This test ensures we are running a UI test like the GMF Runtime. After a few tweaks the build completes successfully. http://modeling.eclipse.org/modeling/gmp/downloads/index.php?showAll=1&hlbuild=N201009301044&sortBy=date&project=gmf-notation#N201009301044 There are now two things remaining to complete: - push the changes back to R1_4_maintenance - fix the build scripts to not include the org.eclipse.test warnings. These are the 19W in the 1.5.0 build. I have done no further work on this enhancement since October. An update: Looks like we do not need to run any more 1.4.x maintenance builds so I will not push the changes back to R1_4_maintenance. so moving this Bugzilla to 1.5.0 and normal. I still want to look into the 19W in the org.eclipse.test bundle. There are (3) tests in org.eclipse.gmf.tests.runtime.notation.NotationTest and they are properly run during the build, see https://ci.eclipse.org/gmf-runtime/job/gmf-notation-master/. |