Skip to content

Commit 76eba12

Browse files
committed
Verbose system test output and wire inputs for them properly
1 parent c3c8c24 commit 76eba12

File tree

23 files changed

+90
-2
lines changed

23 files changed

+90
-2
lines changed

sentry-samples/sentry-samples-console-opentelemetry-noagent/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ tasks.register<Test>("systemTest").configure {
6666
group = "verification"
6767
description = "Runs the System tests"
6868

69+
val test = project.extensions.getByType<SourceSetContainer>()["test"]
70+
testClassesDirs = test.output.classesDirs
71+
classpath = test.runtimeClasspath
72+
6973
outputs.upToDateWhen { false }
7074

7175
maxParallelForks = 1

sentry-samples/sentry-samples-console-otlp/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ tasks.register<Test>("systemTest").configure {
6969
group = "verification"
7070
description = "Runs the System tests"
7171

72+
val test = project.extensions.getByType<SourceSetContainer>()["test"]
73+
testClassesDirs = test.output.classesDirs
74+
classpath = test.runtimeClasspath
75+
7276
outputs.upToDateWhen { false }
7377

7478
maxParallelForks = 1

sentry-samples/sentry-samples-console/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ tasks.register<Test>("systemTest").configure {
6969
group = "verification"
7070
description = "Runs the System tests"
7171

72+
val test = project.extensions.getByType<SourceSetContainer>()["test"]
73+
testClassesDirs = test.output.classesDirs
74+
classpath = test.runtimeClasspath
75+
7276
outputs.upToDateWhen { false }
7377

7478
maxParallelForks = 1

sentry-samples/sentry-samples-jul/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ tasks.register<Test>("systemTest").configure {
6262
group = "verification"
6363
description = "Runs the System tests"
6464

65+
val test = project.extensions.getByType<SourceSetContainer>()["test"]
66+
testClassesDirs = test.output.classesDirs
67+
classpath = test.runtimeClasspath
68+
6569
outputs.upToDateWhen { false }
6670

6771
maxParallelForks = 1

sentry-samples/sentry-samples-log4j2/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ tasks.register<Test>("systemTest").configure {
6767
group = "verification"
6868
description = "Runs the System tests"
6969

70+
val test = project.extensions.getByType<SourceSetContainer>()["test"]
71+
testClassesDirs = test.output.classesDirs
72+
classpath = test.runtimeClasspath
73+
7074
outputs.upToDateWhen { false }
7175

7276
maxParallelForks = 1

sentry-samples/sentry-samples-logback/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ tasks.register<Test>("systemTest").configure {
6262
group = "verification"
6363
description = "Runs the System tests"
6464

65+
val test = project.extensions.getByType<SourceSetContainer>()["test"]
66+
testClassesDirs = test.output.classesDirs
67+
classpath = test.runtimeClasspath
68+
6569
outputs.upToDateWhen { false }
6670

6771
maxParallelForks = 1

sentry-samples/sentry-samples-spring-7/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ tasks.register<Test>("systemTest").configure {
7373
group = "verification"
7474
description = "Runs the System tests"
7575

76+
val test = project.extensions.getByType<SourceSetContainer>()["test"]
77+
testClassesDirs = test.output.classesDirs
78+
classpath = test.runtimeClasspath
79+
7680
outputs.upToDateWhen { false }
7781

7882
maxParallelForks = 1

sentry-samples/sentry-samples-spring-boot-4-opentelemetry-noagent/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ tasks.register<Test>("systemTest").configure {
8282
group = "verification"
8383
description = "Runs the System tests"
8484

85+
val test = project.extensions.getByType<SourceSetContainer>()["test"]
86+
testClassesDirs = test.output.classesDirs
87+
classpath = test.runtimeClasspath
88+
8589
outputs.upToDateWhen { false }
8690

8791
maxParallelForks = 1

sentry-samples/sentry-samples-spring-boot-4-opentelemetry/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@ tasks.register<Test>("systemTest").configure {
110110
group = "verification"
111111
description = "Runs the System tests"
112112

113+
val test = project.extensions.getByType<SourceSetContainer>()["test"]
114+
testClassesDirs = test.output.classesDirs
115+
classpath = test.runtimeClasspath
116+
113117
outputs.upToDateWhen { false }
114118

115119
maxParallelForks = 1

sentry-samples/sentry-samples-spring-boot-4-otlp/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ tasks.register<Test>("systemTest").configure {
8787
group = "verification"
8888
description = "Runs the System tests"
8989

90+
val test = project.extensions.getByType<SourceSetContainer>()["test"]
91+
testClassesDirs = test.output.classesDirs
92+
classpath = test.runtimeClasspath
93+
9094
outputs.upToDateWhen { false }
9195

9296
maxParallelForks = 1

0 commit comments

Comments
 (0)