<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Max Rydahl Andersen wrote:
<blockquote cite="mid:op.t8vdt0ydw1tq5a@reddevil" type="cite">
<pre wrap="">Is that something we can workaround or does it require a rebuild of eclipse ?
/max
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
I believe that I fixed the Eclipse crash that happens while executing
JUnit tests on Linux.
The fix is described in
<a class="moz-txt-link-freetext" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=207206#c8">https://bugs.eclipse.org/bugs/show_bug.cgi?id=207206#c8</a>.
I have tested our Junit tests and the test case described in the bug.
Snjeza
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
I have trying to find workaround for JUnit tests failing and looks like
problem is in method display.readAndDispatch()<br>
which called in TestUtil.delay(long waitTimeMillis);<br>
I have trying to remove this code from method and eclipse doesn't
crashes anymore. <br>
Here original code:<br>
<i> while (System.currentTimeMillis() < endTimeMillis) {<br>
if (!display.readAndDispatch())<br>
display.sleep();<br>
}</i><br>
With this code VPE tests works under linux.x86_32:<br>
<i> while (System.currentTimeMillis() < endTimeMillis) {<br>
// if (!display.readAndDispatch()) here we can apply
filter which will be restrict this code only linux <br>
display.sleep();<br>
}<br>
</i><br>
</body>
</html>