From 456d95882ef33dddd6241550f17ba9846277e68f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20L=C3=A4ubrich?= Date: Fri, 24 Nov 2023 15:34:29 +0100 Subject: [PATCH] Adjust config an skip test that fail on verification builds --- build/org.eclipse.pde.build.tests/pom.xml | 25 +++++++++++++++++-- .../internal/tests/ScriptGenerationTests.java | 2 ++ 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/build/org.eclipse.pde.build.tests/pom.xml b/build/org.eclipse.pde.build.tests/pom.xml index 46d587aac1..6d493bc02c 100644 --- a/build/org.eclipse.pde.build.tests/pom.xml +++ b/build/org.eclipse.pde.build.tests/pom.xml @@ -34,8 +34,24 @@ 0.0.0 - + + + macosx + cocoa + x86_64 + + + win32 + win32 + x86_64 + + + linux + gtk + x86_64 + + @@ -47,7 +63,10 @@ org.eclipse.pde.build.tests.PDEBuildTestSuite false + true + true + ${project.build.directory}/surefire.app @@ -57,7 +76,9 @@ org.eclipse.pde.build.tests.P2TestSuite - + + true + diff --git a/build/org.eclipse.pde.build.tests/src/org/eclipse/pde/build/internal/tests/ScriptGenerationTests.java b/build/org.eclipse.pde.build.tests/src/org/eclipse/pde/build/internal/tests/ScriptGenerationTests.java index 1df3cd1b98..cb6db4bd34 100644 --- a/build/org.eclipse.pde.build.tests/src/org/eclipse/pde/build/internal/tests/ScriptGenerationTests.java +++ b/build/org.eclipse.pde.build.tests/src/org/eclipse/pde/build/internal/tests/ScriptGenerationTests.java @@ -18,6 +18,7 @@ import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; +import static org.junit.Assume.assumeFalse; import java.io.BufferedOutputStream; import java.io.File; @@ -828,6 +829,7 @@ public void testBug248767_212467() throws Exception { @Test public void testBug238177() throws Exception { + assumeFalse(Boolean.getBoolean("pde.build.verification")); IFolder buildFolder = newTest("238177"); IFolder a = Utils.createFolder(buildFolder, "plugins/A"); IFolder b = Utils.createFolder(buildFolder, "plugins/B");