Skip to content

Commit b3285f2

Browse files
elizarovqwwdfsad
authored andcommitted
Fixed running specific reactive tests via gradle
1 parent ac848e8 commit b3285f2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

reactive/kotlinx-coroutines-reactive/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ task testNG(type: Test) {
1313
useTestNG()
1414
reports.html.destination = file("$buildDir/reports/testng")
1515
include '**/*ReactiveStreamTckTest.*'
16+
// Skip testNG when tests are filtered with --tests, otherwise it simply fails
17+
onlyIf {
18+
filter.includePatterns.isEmpty()
19+
}
1620
doFirst {
1721
// Classic gradle, nothing works without doFirst
1822
println "TestNG tests: ($includes)"

0 commit comments

Comments
 (0)