Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Daniel2013-10-14 11:56:10 +0000
committerGerrit Code Review @ Eclipse.org2013-10-29 13:09:05 +0000
commitbf4c2fd873b52965823e77a086623538eb2669ec (patch)
treea05c0b5ef670067817ffce5438d3b7a789cc463a /bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall
parentccfb538b16d8c043cc95887026c636a785c792fe (diff)
downloadrt.equinox.p2-bf4c2fd873b52965823e77a086623538eb2669ec.tar.gz
rt.equinox.p2-bf4c2fd873b52965823e77a086623538eb2669ec.tar.xz
rt.equinox.p2-bf4c2fd873b52965823e77a086623538eb2669ec.zip
Bug 416565 - p2 shared install test failures
This commit rebuilds internal test repository containing verifier application, and makes further rebuilds easier by providing complete sources of a repository projects that can be build immediately after checkout. Change-Id: Iea19e78024ec65dfe24c4e7e21932b016531f3b9 Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall')
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall/README.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall/README.txt b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall/README.txt
new file mode 100644
index 000000000..ea78a3699
--- /dev/null
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/sharedinstall/README.txt
@@ -0,0 +1,18 @@
+Running sharedinstall tests requires an application ("Verifier")
+that is installed in the independent Eclipse-like installation. The Verifier
+checks if certain P2 operations in a shared install scenario ends with success
+(f.e. it checks whether certain bundles are installed).
+
+* REALLY IMPORTANT NOTE *
+The Verifier is not built during compile time or testing time. It needs to be built
+manually after each modification and be made available in a test repository located
+in bundles/org.eclipse.equinox.p2.tests/testData/sharedInstall/repo.
+
+The steps to build the Verifier (and other bundles from that test repo are):
+1. Import projects from the repo source subtree bundles/org.eclipse.equinox.p2.tests/testData/sharedInstall/source
+ There is 6 subprojects there (2 test bundles, 2 test features, Verifier feature and an update site).
+2. Open site.xml located in a site project, and press 'Build All'.
+3. Eclipse will generate a p2 repository (directories "features" and "plugins",
+ and jars "artifacts.jar" and "content.jar").
+4. Remove old content from bundles/org.eclipse.equinox.p2.tests/testData/sharedInstall/repo,
+ copy new content there, and commit to repository. \ No newline at end of file

Back to the top