Community
Participate
Working Groups
In p2 we have end-to-end tests which test the full cycle of install, update and rollback. In order to do these we pass in properties and also make available Platform zip files of old releases. Currently we only set up the current Platform zip along with 3.7. In addition, we would like the following properties set, with their values pointing to the file-system location of the corresponding archive: org.eclipse.equinox.p2.reconciler.tests.35.platform.archive org.eclipse.equinox.p2.reconciler.tests.36.platform.archive org.eclipse.equinox.p2.reconciler.tests.37.platform.archive For instance: org.eclipse.equinox.p2.reconciler.tests.35.platform.archive=/downloads/eclipse-platform-3.5-macosx-cocoa-x86_64.tar.gz
Cancel this for now. We've decided to only run tests for the current version update scenario, which is already supported.
Ok, I've reviewed the tests and I think these are the current properties which are set: org.eclipse.equinox.p2.reconciler.tests.platform.archive org.eclipse.equinox.p2.tests.current.build.repo org.eclipse.equinox.p2.tests.last.release.build.repo To complete the test scenarios, we would like an additional property which specifies the file path to the Platform archive of the latest release. (e.g. right now that would be the 3.7.1 Platform archive) org.eclipse.equinox.p2.reconciler.tests.last.release.platform.archive
DJ, there are already properties for org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.linux org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.win32 org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.macosx which point to the 3.7.1 drops. Does this meet your needs?
Oops sorry I missed that. Is it possible to have a generic property that is set by the build without the OS at the end? Do we already have that for the current Platform drop property or did I miss that and we only have .os for them too?
The ${platformArchive} property is set in the test.xml running all the test suites and points to the file location of the appropriate platform archive.
(In reply to comment #5) > The ${platformArchive} property is set in the test.xml running all the test > suites and points to the file location of the appropriate platform archive. Ok cool. Can we get a something which maps to the same sort of thing for the last release? Something that we can access via a System property. (like org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive)
I wonder if this is (nearly) fixed already. Below is the contents of equinoxp2tests.properties used in 4.2 tests. I guess the "previous release" should be 4.1.2, instead of 3.7.2? full path: /org.eclipse.releng/configuration/eclipseBuilderOverlays/eclipse/buildConfigs/sdk.tests/testConfigs/win7/equinoxp2tests.properties org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.linux=@executionDir@\\eclipse-platform-3.7.2-linux-gtk.tar.gz org.eclipse.equinox.p2.tests.current.build.repo=@org.eclipse.equinox.p2.tests.current.build.repo@ org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.win32=@executionDir@\\eclipse-platform-3.7.2-win32.zip org.eclipse.equinox.p2.reconciler.tests.lastrelease.platform.archive.macosx=@executionDir@\\eclipse-platform-3.7.2-macosx-cocoa.tar.gz org.eclipse.equinox.p2.reconciler.tests.platform.archive.linux=@executionDir@\\eclipse-platform-@buildId@-linux-gtk.tar.gz org.eclipse.equinox.p2.reconciler.tests.platform.archive.win32=@executionDir@\\eclipse-platform-@buildId@-win32.zip org.eclipse.equinox.p2.reconciler.tests.platform.archive.macosx=@executionDir@\\eclipse-platform-@buildId@-macosx-cocoa.tar.gz org.eclipse.equinox.p2.tests.last.release.build.repo=http\://download.eclipse.org/eclipse/updates/4.1/R-4.1.2-201202230900
I'm assuming fixed unless someone says otherwise.