Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cbi-dev] running automated tests for SDK built with Tycho

I've setup packaging of JUnit Plugin Tests and Automated Testing
Framework on R3 branch... or at least some approximation of it ;-) There
are still a couple of things I need to cleanup and automate, but I
believe there is enough functionality there for somebody else to try and
tell me what I did wrong.

Below are the steps I use to run SDK tests in virtualbox vm running
Ubuntu 11.10 x86 linux.

- build R3 branch following instructions on [1].
- packages SDK tar.gz (workaround for a bug in Tycho, substitute ${buildQualifier} with actual build qualifier)

  cd TMP/org.eclipse.sdk.epp/target/products/org.eclipse.sdk.epp/linux/gtk
  mv x68 eclipse
  tar cvfz eclipse-SDK-${buildQualifier}-linux-gtk-x86_64.tar.gz eclipse

- setup /var/tmp/lts/jvms.properties to match your environment. this is what I have

  J2SE-5.0=/opt/jdk1.5.0_22/bin/java

- setup equinoxp2tests.properties to match your environment. this is what I have (hopefully formatting is not messed up too much)

  #
  org.eclipse.equinox.p2.reconciler.tests.platform.archive.win32=
  org.eclipse.equinox.p2.reconciler.tests.platform.archive.linux=
  org.eclipse.equinox.p2.reconciler.tests.platform.archive.macosx=
  org.eclipse.equinox.p2.tests.current.build.repo=
  #

org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.win32=

org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.linux=/incoming/eclipse-platform-3.7.1-linux-gtk.tar.gz

org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.macosx=

org.eclipse.equinox.p2.tests.last.release.build.repo=http\://download.eclipse.org/eclipse/updates/3.7/R-3.7.1-201109091335


- unzip TMP/eclipse-junit-tests/target/eclipse-junit-tests-1.0.0-SNAPSHOT-bundle.zip to a temporary directory - copy eclipse-SDK tar.gz and equinoxp2tests.properties to the same directory
- run the tests with the following command

./runtests -os linux -ws gtk -arch x86 -properties /var/tmp/lts/jvms.properties


[1] http://wiki.eclipse.org/CBI/Eclipse_Platform_Build


--
Regards,
Igor


Back to the top