[jbosstools-issues] [JBoss JIRA] (JBIDE-23489) Find out how to run mvn clean verify -Dtest.installBase=path/to/devstudio/rpm

Lukáš Valach (JIRA) issues at jboss.org
Mon Mar 20 06:19:00 EDT 2017


    [ https://issues.jboss.org/browse/JBIDE-23489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13380193#comment-13380193 ] 

Lukáš Valach edited comment on JBIDE-23489 at 3/20/17 6:18 AM:
---------------------------------------------------------------

I have discused this problem with [~vkadlcik], he has test working against RPM. He doesn't use Tycho.
This way is less confortable, but I just letting you know about this option.

There is what he does:
# White SWTBot or Red Deer test and upload it to update site
# Install Devstudio RPM
# Install test as plugin
   eclipse \
     -application org.eclipse.equinox.p2.director \
     -repository file://$UPDATE_SITE \
     -i $FEATURE_WITH_OUR_PLUGIN
    (Plugin will be installed in $HOME/.eclipse/)
# Start test
   eclipse \
     -application org.eclipse.swtbot.eclipse.junit.headless.swtbottestapplication \
     -testPluginName $OUR_PLUGIN_ID \
     -className $OUR_TEST_CLASS

Demo: http://pkgs.devel.redhat.com/cgit/tests/eclipse/tree/Demo/rhbz910369_by_swtbot



was (Author: lvalach):
I have discused this problem with [~vkadlcik], he has test working against RPM. He doesn't use Tycho.
This way is less confortable, but I just letting you know about this option.

There is what he does:
# White SWTBot or Red Deer test and upload it to update site
# Install Devstudio RPM
# Install test as plugin
   eclipse \
     -application org.eclipse.equinox.p2.director \
     -repository file://$UPDATE_SITE \
     -i $FEATURE_WITH_OUR_PLUGIN
    (Plugin will be installed in $HOME/.eclipse/)
# Start test
   eclipse \
     -application org.eclipse.swtbot.eclipse.junit.headless.swtbottestapplication \
     -testPluginName $OUR_PLUGIN_ID \
     -className $OUR_TEST_CLASS




> Find out how to run mvn clean verify -Dtest.installBase=path/to/devstudio/rpm 
> ------------------------------------------------------------------------------
>
>                 Key: JBIDE-23489
>                 URL: https://issues.jboss.org/browse/JBIDE-23489
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 4.4.2.AM3
>            Reporter: Pavol Srna
>             Fix For: 4.4.x
>
>         Attachments: FreeMarket_rhscl_enabled.log, Freemarker_testRuntime_p2Installed.log
>
>
> We need to find a way how to run automated tests agains devstudio rpm.
> I've tried the following paths:
> 1) (as root) mvn clean verify -Dtest.installBase=/opt/rh/rh-eclipse46/root/usr/shareclipse/droplets/devstudio/eclipse/
> 2) (as hudson) mvn clean verify -Dtest.installBase=~/.eclipse/org.eclipse.platform_283378046_linux_gtk_x86_64
> But none of the above works. 



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jbosstools-issues mailing list