From 6e5138acab9998128905e533edf5d573b58196a3 Mon Sep 17 00:00:00 2001 From: Mickael Istria Date: Mon, 20 Nov 2023 22:17:49 +0100 Subject: [PATCH] Run some pde.build tests with Tycho Missing tests require provisioning the "delta pack" (ie launchers for all Platforms) --- .../META-INF/MANIFEST.MF | 3 +- .../META-INF/p2.inf | 2 + .../build.properties | 1 - build/org.eclipse.pde.build.tests/pom.xml | 57 +++++++++++++++++++ 4 files changed, 61 insertions(+), 2 deletions(-) create mode 100644 build/org.eclipse.pde.build.tests/META-INF/p2.inf create mode 100644 build/org.eclipse.pde.build.tests/pom.xml diff --git a/build/org.eclipse.pde.build.tests/META-INF/MANIFEST.MF b/build/org.eclipse.pde.build.tests/META-INF/MANIFEST.MF index e61b1de30b..6cbfcb4966 100644 --- a/build/org.eclipse.pde.build.tests/META-INF/MANIFEST.MF +++ b/build/org.eclipse.pde.build.tests/META-INF/MANIFEST.MF @@ -14,7 +14,8 @@ Require-Bundle: org.eclipse.core.runtime, org.apache.ant, org.eclipse.debug.core, org.eclipse.equinox.p2.publisher;bundle-version="1.1.0", - org.eclipse.equinox.p2.publisher.eclipse;bundle-version="1.0.0" + org.eclipse.equinox.p2.publisher.eclipse;bundle-version="1.0.0", + org.eclipse.equinox.p2.repository.tools Bundle-RequiredExecutionEnvironment: JavaSE-17 Import-Package: org.eclipse.equinox.frameworkadmin;version="2.0.0", org.eclipse.equinox.internal.p2.artifact.repository, diff --git a/build/org.eclipse.pde.build.tests/META-INF/p2.inf b/build/org.eclipse.pde.build.tests/META-INF/p2.inf new file mode 100644 index 0000000000..747d90d2fd --- /dev/null +++ b/build/org.eclipse.pde.build.tests/META-INF/p2.inf @@ -0,0 +1,2 @@ +requires.0.namespace = org.eclipse.equinox.p2.iu +requires.0.name = org.eclipse.osgi.compatibility.state \ No newline at end of file diff --git a/build/org.eclipse.pde.build.tests/build.properties b/build/org.eclipse.pde.build.tests/build.properties index 5279318b69..7fca51dca4 100644 --- a/build/org.eclipse.pde.build.tests/build.properties +++ b/build/org.eclipse.pde.build.tests/build.properties @@ -20,5 +20,4 @@ bin.includes = META-INF/,\ test.xml src.includes = about.html jars.compile.order = . -pom.model.property.skipTests = true pom.model.property.code.ignoredWarnings = ${tests.ignoredWarnings} diff --git a/build/org.eclipse.pde.build.tests/pom.xml b/build/org.eclipse.pde.build.tests/pom.xml new file mode 100644 index 0000000000..5d76f42a20 --- /dev/null +++ b/build/org.eclipse.pde.build.tests/pom.xml @@ -0,0 +1,57 @@ + + + 4.0.0 + + org.eclipse.pde + eclipse.pde.build + 4.30.0-SNAPSHOT + + org.eclipse.pde.build.tests + 1.4.200-SNAPSHOT + eclipse-test-plugin + + + + + org.eclipse.tycho + target-platform-configuration + + + + + + p2-installable-unit + org.eclipse.sdk.ide + 0.0.0 + + + + + + + org.eclipse.tycho + tycho-surefire-plugin + + org.eclipse.sdk.ide + p2Installed + org.eclipse.pde.build.tests.PDEBuildTestSuite + + false + + + + + p2-tests + test + + org.eclipse.pde.build.tests.P2TestSuite + + + + + + + + +