After 3.3M4, Modeling builds [https://bugs.eclipse.org/bugs/show_bug.cgi?id=170831 no longer ran their JUnit tests], due to changes in the way Eclipse packages its startup jars. I had thought the fix was trivial, but unfortunately [https://bugs.eclipse.org/bugs/show_bug.cgi?id=170831#c3 there's more to it than is explained below]. I'll update this document when I find a solution.

+

After 3.3M4, Modeling builds [https://bugs.eclipse.org/bugs/show_bug.cgi?id=170831 no longer ran their JUnit tests], due to changes in the way Eclipse packages its startup jars. The fix is trivial, but requires a change to [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.test/library.xml?view=log org.eclipse.test/library.xml] in addition to your local releng code.

This is fixed by moving up to the latest version of [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.test/library.xml?view=log org.eclipse.test/library.xml], according to the fix posted in [https://bugs.eclipse.org/bugs/show_bug.cgi?id=171756#c5 bug 171756]. If you can't move up, there's a hack documented in that bug as well, including a fix to avoid <code>NullPointerException at o.e.equinox.launcher.Main.takeDownSplash (Main.java:1734)</code>, using the <code>-nosplash</code> flag.

+

+

+

== Running Tests ==

== Running Tests ==

Line 81:

Line 80:

The variables noted in the above example can be seen in detail in the [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.mdt/org.eclipse.ocl.releng/builder/tests/scripts/runtests?root=Modeling_Project&view=markup runtests] shell script.

The variables noted in the above example can be seen in detail in the [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.mdt/org.eclipse.ocl.releng/builder/tests/scripts/runtests?root=Modeling_Project&view=markup runtests] shell script.

This is fixed by moving up to the latest version of org.eclipse.test/library.xml, according to the fix posted in bug 171756. If you can't move up, there's a hack documented in that bug as well, including a fix to avoid NullPointerException at o.e.equinox.launcher.Main.takeDownSplash (Main.java:1734), using the -nosplash flag.