<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 11/11/2013 02:30 AM, Max Rydahl
Andersen wrote:<br>
</div>
<blockquote cite="mid:20131111103038.GG8776@slowbeard.local"
type="cite">On Fri, Nov 08, 2013 at 06:17:40PM -0800, Denis
Golovin wrote:
<br>
<blockquote type="cite">Mickael,
<br>
<br>
sounds really good :), so I gave it a try and found out:
<br>
</blockquote>
<br>
<blockquote type="cite">1. Not all our test plug-ins are ready to
be used with this feature due to
<br>
forgetting include test projects into binary build; so far I've
found
<br>
o.j.t.tests.test and o.j.t.foundation.core.test have such
problem; I couldn't
<br>
go further than foundation.core.test plug-in because of problems
explained
<br>
below
<br>
</blockquote>
<br>
You mean forgetting to add files/directories in build.properties ?
<br>
<br>
That should even fail just running a normal mvn test thus that
sounds weird?
<br>
</blockquote>
<br>
This is exactly what I mean, I haven't look why it works in tycho
yet, I guess tycho runs it the same way as Eclipse does it from
Development environment.<br>
<br>
<blockquote cite="mid:20131111103038.GG8776@slowbeard.local"
type="cite">
<br>
It is worth noting that this feature aren't really expected to
work with all our unit tests out of the box - mainly since the
unittests been written
<br>
to run in a much more constrained environement.
<br>
</blockquote>
<br>
<blockquote cite="mid:20131111103038.GG8776@slowbeard.local"
type="cite">
<br>
It is mostly useful to automate running of the integration tests
AND to allow
<br>
testing in different installs without having to rebuild the test
plugins.
<br>
</blockquote>
<br>
Looking through
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a
href="http://wiki.eclipse.org/Tycho/Testing_with_Surefire#p2Installed_on_provisioned_RCP_application">http://wiki.eclipse.org/Tycho/Testing_with_Surefire#p2Installed_on_provisioned_RCP_application</a>
I don't see how we can do this. Mickael, could you help with example
here?<br>
<br>
<blockquote cite="mid:20131111103038.GG8776@slowbeard.local"
type="cite">
<br>
<blockquote type="cite">2. Second try to run usually ends up with
<br>
<br>
[INFO] Installing IUs [org.jboss.tools.foundation.core.test,
<br>
org.eclipse.tycho.surefire.osgibooter,
org.eclipse.tycho.surefire.junit4] to /
<br>
home/eskimo/jbdevstudio-java-with-space/studio
<br>
Installing org.jboss.tools.foundation.core.test
1.1.0.Alpha1-v20131109-0206.
<br>
Installing org.eclipse.tycho.surefire.osgibooter 0.19.0.
<br>
Installing org.eclipse.tycho.surefire.junit4 0.19.0.
<br>
Installation failed.
<br>
Cannot complete the install because of a conflicting dependency.
<br>
Software being installed: JBoss Foundation Tests
1.1.0.Alpha1-v20131109-0206
<br>
(org.jboss.tools.foundation.core.test
1.1.0.Alpha1-v20131109-0206)
<br>
Software currently installed: JBoss Foundation Tests
<br>
1.1.0.Alpha1-v20131109-0203
(org.jboss.tools.foundation.core.test
<br>
1.1.0.Alpha1-v20131109-0203)
<br>
Only one of the following can be installed at once:
<br>
JBoss Foundation Tests 1.1.0.Alpha1-v20131109-0203
<br>
(org.jboss.tools.foundation.core.test
1.1.0.Alpha1-v20131109-0203)
<br>
JBoss Foundation Tests 1.1.0.Alpha1-v20131109-0206
<br>
(org.jboss.tools.foundation.core.test
1.1.0.Alpha1-v20131109-0206)
<br>
Application failed, log file location:
/tmp/config3255596288906066066equinox/
<br>
1383962733126.log
<br>
[INFO]
------------------------------------------------------------------------
<br>
</blockquote>
<br>
looks like you are running against an install that already have
the tests installed ?
<br>
Where else would it get conflicting features from ?
<br>
</blockquote>
<br>
That's how it works now. I just run test again and again which is
pretty much repeats test developing process. Current implementation
doesn't let do do that.<br>
<br>
<blockquote cite="mid:20131111103038.GG8776@slowbeard.local"
type="cite">
<br>
<blockquote type="cite">3. Also I've seen problems with shutting
down the RCP installation:
<br>
</blockquote>
<br>
<snip>
<br>
<br>
<blockquote type="cite">Job found still running after platform
shutdown. Jobs should be canceled by
<br>
the plugin that scheduled them during shutdown:
<br>
org.eclipse.ui.internal.decorators.DecorationScheduler$3
<br>
Job found still running after platform shutdown. Jobs should be
canceled by
<br>
the plugin that scheduled them during shutdown:
<br>
org.eclipse.ui.internal.decorators.DecorationScheduler$1
<br>
Job found still running after platform shutdown. Jobs should be
canceled by
<br>
the plugin that scheduled them during shutdown:
<br>
org.eclipse.ui.internal.progress.AnimationManager$1
<br>
An error has occurred. See the log file
<br>
/home/eskimo/Projects/jbdevstudio/src-fork/jbosstools-base/foundation/tests/
<br>
org.jboss.tools.foundation.core.test/target/work/data/.metadata/.log.
<br>
</blockquote>
<br>
Thats less nice - might be fully expected though in a fully loaded
install.
<br>
Should keep an eye on it though.
<br>
<br>
/max
<br>
</blockquote>
<br>
</body>
</html>