Skip to content

Commit

Permalink
Merge pull request gradle#26260 Re-ignore failing native test on macOS
Browse files Browse the repository at this point in the history
When migrating from `@IgnoreIf`s to `@Requires`, the annotation on `AbstractNativeSoftwareModelParallelIntegrationTest` overwrites the one on super class.

Co-authored-by: Bo Zhang <[email protected]>
  • Loading branch information
bot-gradle and blindpirate committed Sep 2, 2023
2 parents 7827a61 + 2eb3186 commit b734d19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,4 @@ IntegTestPreconditions$JavaHomeWithDifferentVersionAvailable,IntegTestPreconditi
IntegTestPreconditions$NotParallelExecutor, IntegTestPreconditions$MoreThanOneJavacAvailable
IntegTestPreconditions$DifferentJdkAvailable,IntegTestPreconditions$NotNoDaemonExecutor,IntegTestPreconditions$NotConfigCached
IntegTestPreconditions$Groovy3OrEarlier

UnitTestPreconditions$NotMacOs,IntegTestPreconditions$NotParallelExecutor
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ import org.gradle.integtests.fixtures.ToBeFixedForConfigurationCache
import org.gradle.nativeplatform.fixtures.app.HelloWorldApp
import org.gradle.test.precondition.Requires
import org.gradle.test.preconditions.IntegTestPreconditions
import org.gradle.test.preconditions.UnitTestPreconditions

@Requires(IntegTestPreconditions.NotParallelExecutor)
// no point, always runs in parallel
@Requires(value = [IntegTestPreconditions.NotParallelExecutor, UnitTestPreconditions.NotMacOs],
reason = "always runs in parallel, our mac currently lacks proper toolchain installations")
abstract class AbstractNativeSoftwareModelParallelIntegrationTest extends AbstractNativeParallelIntegrationTest {
abstract HelloWorldApp getApp()

Expand Down

0 comments on commit b734d19

Please sign in to comment.